Hi,
I am trying to remove human reads from my metagenomic sequences (skin samples).
I have used the command recommended in the bbmap documentation:
bbmap.sh minid=0.95 maxindel=3 bwr=0.16 bw=12 quickmatch fast minhits=2 path=/path/to/hg19masked/ qtrim=rl trimq=10 untrim -ea -Xmx100g in=reads.fq outu=clean.fq outm=human.fq threads=12
My input is Illumina HiSeq 4000 Paired-end, 2x150 bp reads, so I want to split paired-end reads back into separated fastq files .._r1 .._r2.
Is there a way to do this using BBTools?
Thanks in advance!
As shown your command is only using one read file (
in=
). So unless that file is interleaved there is no chance thatout*=
files will be interleaved. @ATPoint shows what an interleaved file should look like. Note: Your headers may look different but Read 1 and 2 from one clusters should be one after the other in the file.Sorry that was a mistake, I have actually used in=r1.fq in2= r2.fq!
Thanks!