Entering edit mode
3.4 years ago
optimistsso4co3
▴
130
It takes about 15 hours for my paired end human genome to be trimmed. Although there are ways to parallel trim_galore for multiple sample, could you suggest method for single sample?
TrimGalore! is a wrapper around
cutadapt
. You could therefore you cutadapt directly, which has a multithreading option, and in casepigz
is in PATH it will use this for (de)compression rather than default gzip. That all will speed-up things. pigz is a multithreaded version of gzip.I move my answer to comment as this is not possible within a given nextflow pipeline without modifications.
You could split your input file into multiple pieces and trim those in parallel.
Or you can use a multi-threaded trimming program like
bbduk.sh
to speed the process up. A guide for bbduk is available.