How to run BBMap in a Linux shell for loop?
for I in ls (*.fastaq) # mapping fastq files to a preset reference
do
./bbmap.sh $i
done
How to pass arguments after .sh call, what to write?
sequencing
shell
bash
bbmap
• 1,241 views
•
link
updated
by
Ram
•
written
by
elvissober •
0 answers
No answers yet.
Log in to answer this question.
More posts like this
-
Help with the reads filtering process
written by valentinavan •Hi, I have some metagenomic whole genome sequencing pair-end data obtained with a NovaSeq Illumina machine and a fixed length of 150bp. The sequencing has …
-
How to Create Loop for all fastq file
written by santos48 •Dear All, hope you are doing well. I am trying to write a loop for my all fastq and doing preprocessing using bash. I am …
-
shell question: How to run multiple paired end alignment in shell?
written by JohnHi there, the following command works with bash(Mac command line), but not with unix shell(after entering `screen` command), how do I rewrite it? for i …
-
cutadapt and vsearch script to process a set of files
written by ieie •Hi all,I have already looked up for similar questions but I did not find what I am looking for. I have two questions: 1.I want …
-
How to use BBMap for aligning a set of .fastq files?
written by usgenome2018 •Want to run BBMap for a set of 30 .fastq files Tried ``` #!/bin/bash for n in {ls*.fastq} do ./bbmap.sh "in=$n" "out={.}" done ``` and …
-
How to do batch processing with mpileup in a Linux shell for loop?
written by elvissober •I want to make VCFs on a set of .sams (.bams): ``` for I in ls (*.sam) # calling variants on .sam files do ./samtools …
-
How to pass shell script's arguments when calling BBMap from Python?
written by elvissober •How to pass shell script's arguments when calling BBMap from Python? Trying to call BBMap from Python 2.7. There are subprocess and os modules for …
-
How to install Picard/Pilons software and do variant call on a set of .sam files?
written by elvissober •<p>How to install Picard software and do variant call on a set of .sam files? I have unzipped the archive, read the docs, not clear …
-
How to run BBMap and VCFtools for a 200 of WGS .fasta files in a for loop in Shell or Bash without …
written by elvissober •<p>How to run BBMap and VCFtools for a 200 of WGS .fasta files in a for loop in Shell or Bash without printing file names??</p> …
-
How to do BBmap batch processing correctly?
written by elvissober •How to do BBmap batch processing correctly? Here is my bash code: ``` cd /home/user/Documents/bbmap ./bbmap.sh ref=ref.fa # indexes fasta format file and sets reference …
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.
Cheers!