I have a command that I would like use two variables in and am having issues. How can I setup a for loop that will start with the first line in both lists and work its way through the entire list for each loop? I tried something like below without any success.
thank you in advance for any help you can provide
#!/bin/bash
i=$(cat list1.txt)
j=$(cat list2.txt)
for i in ${i}: for i in ${j}
do
python ggsashimi.py -b 1A_filtered.bam -c ${i} -g /gencode.v38.annotation.gtf -o ggsashimi/${j} samples -M 10 -C 3 -O 3 -A median --alpha 1 -F tiff -R 350 --base-size=16 --shrink --height=5 --width=18 --fix-y-scale
done