Question: Bash loop for the creation of multiple indexes
0
gravatar for Ada
4 weeks ago by
Ada10
Ada10 wrote:

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

alignment assembly genome • 105 views
ADD COMMENTlink modified 4 weeks ago • written 4 weeks ago by Ada10
0
gravatar for Ada
4 weeks ago by
Ada10
Ada10 wrote:

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

ADD COMMENTlink modified 4 weeks ago • written 4 weeks ago by Ada10

Resolved loop. No further comments needed.

ADD REPLYlink written 4 weeks ago by Ada10
1

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.

ADD REPLYlink modified 4 weeks ago • written 4 weeks ago by genomax87k

Thank you for letting me know

ADD REPLYlink written 4 weeks ago by Ada10
1

Resolved loop:

FILES=(/data/*.fna.gz); for f in "${FILES[@]}" ;do bowtie2-build $f index done
ADD REPLYlink modified 29 days ago by genomax87k • written 4 weeks ago by Ada10
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1549 users visited in the last hour