Cutadapt error running trimgalore
1
0
Entering edit mode
4.3 years ago
mgdesaix ▴ 20

Hello,

I am running into an issue when I run trimgalore that produces an error:

"Failed to execute Cutadapt porperly. Please install Cutadapt first and make sure it is in the PATH, or specify the path to the Cutadapt executable using --path_to_cutadapt /path/to/cutadapt"

I have cutadapt sourced in the path so when I run $cutadapt --version from terminal it provides me with the correct version of 2.7. I have also tried modifying the --path_to_cutadapt option for trimgalore to specify where it is but I receive the same error message.

Has anyone else run into this issue and solved it?

Thanks!

trimgalore cutadapt software error sequencing • 1.2k views
ADD COMMENT
1
Entering edit mode
4.3 years ago
mgdesaix ▴ 20

Solved. The issue was that I needed to edit the shebang in the cutadapt file because it was directing to a non-existent location for python. Since I had python loaded in the environment I just changed cutadapt to:

#! /usr/bin/env python from #!/usr/bin/python3

ADD COMMENT

Login before adding your answer.

Traffic: 3156 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6