How to run cutadapt in parallel
0
0
Entering edit mode
6.8 years ago
Javad ▴ 150

Hi everybody,

I am using cutadapt to trim and QC of my NGS data but it is damn slow. I have also installed GNU Parallel to run it in parallel but I couldn't. To be honest, the tutorial of GNU Parallel is so complicated and I couldn't figure out how to run cutadapt in parallel with it. let's assume that I have the following cutadapt command and I want to run it using GNU Parallel.

cutadapt -u 15 -o output.fastq input.fastq

how would you run it in parallel using GNU Parallel?

Thanks in advance

RNA-Seq • 2.8k views
ADD COMMENT
1
Entering edit mode

cutadapt 1.5 supports multi core now. http://cutadapt.readthedocs.io/en/stable/guide.html (search for "core").

ADD REPLY
0
Entering edit mode

To be honest, the tutorial of GNU Parallel is so complicated

to be honest, it's not IMHO.

What have you tried so far ? Show us the command lines please.

ADD REPLY
0
Entering edit mode

I ran this one for example:

parallel -k -j 24 cutadapt -u 15 -o output.fastq input.fastq

What can I change to make it right? Thanks a lot...

ADD REPLY
1
Entering edit mode

moving you to the way:

echo -e "input1.fastq\ninput2.fastq" |\
parallel  echo '{}' '{.}'.cutadapt.fastq
ADD REPLY

Login before adding your answer.

Traffic: 1632 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6