Resolved loop. No further comments needed.
FILES=(/data/*.fna.gz);
for f in "${FILES[@]}";
do
bowtie2-build $f *#output file specification, how can i specify output for each independent reference build - i have 4 *
done
1 answer
FILES=(/data/*.fna.gz); for f in "${FILES[@]}" ;do bowtie2-build $f done
builds index for each genome, but how do I create respective outputs
It is not useful to leave comments such as this since they don't help the next person coming along with the solution. Please edit the answer above and post the solution there.
You also should follow-up on your past threads. Upvoting comments that help you find a solution, accepting answers that work (green check mark) is the proper way of acknowledging help you receive from contributors to this forum.
Thank you for letting me know
Resolved loop:
FILES=(/data/*.fna.gz); for f in "${FILES[@]}" ;do bowtie2-build $f index done
Log in to answer this question.