Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error related to cutadapt version 2.5 #85

Closed
xie186 opened this issue Mar 26, 2020 · 3 comments
Closed

Error related to cutadapt version 2.5 #85

xie186 opened this issue Mar 26, 2020 · 3 comments

Comments

@xie186
Copy link

xie186 commented Mar 26, 2020

Hi,

I'm using TrimGalore 0.6.4 and cutadapt 2.5. I was given the error shown as below:

Use of uninitialized value $major_version in numeric eq (==) at /group/bioinfo/apps/apps/TrimGalore-0.6.4/trim_galore line 615.
Use of uninitialized value $major_version in numeric gt (>) at /group/bioinfo/apps/apps/TrimGalore-0.6.4/trim_galore line 632.
Cutadapt major version was not 1 or higher. Simply too old...
[Thu Mar 26 13:55:48 2020]
Error in rule trimPE:
    jobid: 0
    output: output/trim_galore/3I0/, output/trim_galore/3I0.log, output/trim_galore/3I0/3I0_val_1.fq.gz, output/trim_galore/3I0/3I0_val_2.fq.gz

It seems that the reason is that cutadapt --version output the version information to STDERR instead of STDOUT for v2.5. I checked the latest version of TrimGalore:

$cutadapt_version = `$path_to_cutadapt --version`;

Here we may need to use:

$cutadapt_version = `$path_to_cutadapt --version 2>&1`;

Thanks,
Shaojun

@FelixKrueger
Copy link
Owner

Thanks for that, could you try the current development version to see if it now works? Cheers, Felix

@xie186
Copy link
Author

xie186 commented Mar 26, 2020

I can successfully run it with the development version. Thank you so much for your quick response.
Best,
Shaojun

@FelixKrueger
Copy link
Owner

Excellent, thanks for the quick feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants