Closed Jacob-Ferrier closed 2 years ago
Hi @Jacob-Ferrier
This is odd, I just installed Cutadapt v3.5, and it all completes just fine without any error message. I tried this with Trim Galore v0.6.2, 0.6.5, 0.6.6, 0.6.7, they all work fine (on Linux)...
SUMMARISING RUN PARAMETERS
==========================
Input filename: /<dir>/test_data.fastq
Trimming mode: single-end
Trim Galore version: 0.6.7
Cutadapt version: 3.5
Number of cores used for trimming: 1
Quality Phred score cutoff: 20
Quality encoding type selected: ASCII+33
Adapter sequence: 'AGATCGGAAGAGC' (Illumina TruSeq, Sanger iPCR; auto-detected)
Maximum trimming error rate: 0.1 (default)
Minimum required adapter overlap (stringency): 1 bp
Minimum required sequence length before a sequence gets removed: 20 bp
Running FastQC on the data once trimming has completed
Cutadapt seems to be fairly up-to-date (version 3.5). Setting -j 1
Writing final adapter and quality trimmed output to test_data_trimmed.fq
>>> Now performing quality (cutoff '-q 20') and adapter trimming in a single pass for the adapter sequence: 'AGATCGGAAGAGC' from file /<dir>/test_data.fastq <<<
This is cutadapt 3.5 with Python 3.9.7
Command line parameters: -j 1 -e 0.1 -q 20 -O 1 -a AGATCGGAAGAGC /<dir>/test_data.fastq
Processing reads on 1 core in single-end mode ...
Finished in 0.13 s (13 µs/read; 4.61 M reads/minute).
I wonder what the issue is on your side?
Having said that, I just changed the regex that tries to extract the Cutadapt version. Maybe the regex works on our system, but not on yours?
Can you clone the current dev version and see if that fixes it?
Haven't heard back in a while, assuming it works now.
Hello,
I am trying to run TrimGalore on some fastq data. I have successfully installed cutadapt version 3.5 as you can see below, yet I am still encountering an error where TrimGalore seems to think that my cutadapt major version is less than 1.
Here is my output, note that I have changed some of the directory paths to \<dir> for privacy:
Following the advice of the issues thread here, I have changed line 791 of trim_galore to
my ($major_version,$sub_version) = (3,5);
This seems to have worked as a quick and dirty solution, but I thought that I should still report this issue.
Thank you in advance!