Skip to content

problem with trimming with trim-galore #4

Description

@Brawni

Hello!

Thanks again for sharing data and code! Im working through your script to process scATAC-seq fastq files and Im encountering some errors when I trim the demultiplexed fastq files using trim-galore with the following code:

for sample in $(cat $sample_ID); do echo trimming $sample; trim_galore $demultiplex_folder/$sample*R1*.gz $demultiplex_folder/$sample*R2*.gz --paired -a CTGTCTCTTATA -a2 CTGTCTCTTATA --three_prime_clip_R1 1 --three_prime_clip_R2 1 -o $trimmed_fastq ; done
echo "All trimmed file generated."

It looks like the trimming works well up to the last 8 files in the sample_ID.txt where trim-galore crashes reporting different errors. Please find attached the error reports files.
In the majority of the cases errors refer to a problem with a corrupt or truncated input files so I re-downloaded the fastq-files and demultiplexed them a second time but the errors are still there.

Im working on a conda environment with python 2.7, cutadapt=1.8.3 and trim-galore=0.4.1.
ATTCTTAGCT.ACTCTCTCAA.R1.fastq.gz_trimming_report.txt
ATTCTTAGCT.GTCGCTCAGT.R1.fastq.gz_trimming_report.txt
ATTCTTAGCT.TGATTCCTCA.R1.fastq.gz_trimming_report.txt
ATTCTTAGCT.CCGTCGGAGG.R1.fastq.gz_trimming_report.txt
ATTCTTAGCT.AGCGTCAATG.R1.fastq.gz_trimming_report.txt
ATTCTTAGCT.TTGAGTATCA.R1.fastq.gz_trimming_report.txt
ATTCTTAGCT.TGAGGTAGAA.R1.fastq.gz_trimming_report.txt

Any suggestions on what the cause might be?

Much appreciated!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions