Justine
07/25/2024, 10:56 AMGisela Gabernet
07/25/2024, 1:20 PMJustine
07/25/2024, 2:27 PMGisela Gabernet
07/26/2024, 3:27 PM--trim_fastq controls adapter trimming, --clip_r1 / r2 controls read clipping. So with --clip_r1 now everything is fine and only R1 reads are clipped? Or is there still an issue with the R2 read clipping?Justine
07/30/2024, 8:25 AMJustine
07/30/2024, 1:38 PM--trim_front2 0 in the fastp command when you run the pipeline with --clip_r1 27 --clip_r2 0 parameters, so as specified in the fastp documentation, trim_front2 = trim_front1.Gisela Gabernet
07/30/2024, 6:24 PM--trim_front2 0. Meanwhile, you can fix this in your case by providing a custom configuration file that specifies the necessary params for fastp. Instead of providing the extra clip params to the airrflow command provide this:
-c custom.config
And then inside the custom config you can provide the fastp necessary params:
process{
withName: FASTP{
ext.args = "--trim_front1 27 --trim_front2 0 --trim_tail1 0 --trim_tail2 0"
}
}Gisela Gabernet
07/30/2024, 6:24 PMGisela Gabernet
07/30/2024, 6:28 PMJustine
07/31/2024, 10:39 AMJustine
07/31/2024, 1:52 PM