Question: (Closed) How to do batch processing with mpileup in a Linux shell for loop?
gravatar for elvissober
5.0 years ago by
South Africa
elvissober20 wrote:

want to make VCFs on a set of .sams (.bams):

for i in ls (*.sam)                  # calling variants on .sam files
         ./samtools mpileup -R -d | bcftools view -g - > test.vcf $i    # what to write here correctly?

bash shell samtools • 1.2k views
ADD COMMENTlink modified 5.0 years ago • written 5.0 years ago by elvissober20

Hello elvissober!

We believe that this post does not fit the main topic of this site.

Please look up bash loops. Do not open multiple questions addressing the same question.

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.


ADD REPLYlink written 5.0 years ago by _r_am31k
Please log in to add an answer.
The thread is closed. No new answers may be added.


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