-
Notifications
You must be signed in to change notification settings - Fork 427
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
TrimGalore Error due to python version #215
Comments
Hi, @mGauder had a similar issue with
|
what was your command lines, so that I can reproduce and try to figure what is the issue? |
And Marie tried as well to set the
|
Update: I just deleted my |
What seems weird is that even though in the process the cores are set to 1, |
I hope this isn't an issue from my side.... |
@maxulysse This is my command line. In the custom config file I have set trim_fastq = true. |
No problem at all on my side. @nf-core/core could it be a collision with the python on the system? |
I'd suspect that there is a collission on the system level too. Harshil fixed it in ATACseq for example:
|
With the settings stated above by @ggabernet, the TrimGalore process now finished without any other errors occuring. |
These here:
Or these?
|
The former, stetting the |
@ewels seems to have been right about it: nf-core/atacseq#65 (comment) @FelixKrueger what would be the way to do it right then? This is the current state in Sarek too: |
I think in the end we agreed that this was the right way to handle it: |
Yeah after giving this a go again, I've found a hint that might be a reason - both logfiles above complain about having a multi-core analysis started (see above, I checked the build logs of nf-core/sarek:2.6 and it seems to have installed python2 inside the environment, so this can fail. The tests don't cover this as they are always started with fewer CPUs (n=2). Not entirely sure this is the case, but that would explain the behaviour above (python 2 but requesting multi-core, thus the failure) and the success of @mGauder when limiting to 2 cores only. I take back my comment from above, that seems to be more of a problem between environment in the container <-> cutadapt requiring python>3 for multicore :-) |
Yep. Sorry for arriving late to the party but I believe you need Python 3 as well as |
See here. I reviewed the software addition here and assumed you would be upgrading to Python 3 @maxulysse 😅 |
I'll see if we can do that, if I remember well, I had some tools that required python 2 when I last checked, that's why python 2 is installed and not python 3... |
MultiQC will start breaking on Python 2 before long.. Officially unsupported from the v1.9 release. |
I was hoping to solve such issues with #132 |
ok, so not possible to update python due to Manta and Strelka recipes that require python 2.7. |
Maybe I should quickly add here that Trim Galore (and Cutadapt) also work with the - now obsolete - Python 2. Maybe some checks on the Nextflow side could be added? But yeah, overall I would certainly argue in favour of Python3, and more importantly: DSL2! |
I already assumed they worked with Python 2, since this is what we currently have in the container ;-) |
How can I solve this collision? I checked all versions with the command "which python{x} and found that nf-core environment provides python3, but trim galore achieves to run under system python which is python2. |
I'm afraid we can't fix that until we finish the switch to DSL2 |
This should be fixe dnow on the dev branch |
Will close this now as it has been fixed in the dev branch with the newest trimgalore version |
There seems to be a problem with enabling trim-galore in Sarek.
Running on both an cluster and a local computer, sarek 2.6 throws error
Now performing quality (cutoff '-q 20') and adapter trimming in a single pass for the adapter sequence: 'AGATCGGAAGAGC' from file HPV5N_2_R1.fastq.gz ERROR: Running in parallel is not supported on Python 2 Cutadapt terminated with exit signal: '256'. Terminating Trim Galore run, please check error message(s) to get an idea what went wrong...
From the error, this seems to be an issue with the python version used.
The text was updated successfully, but these errors were encountered: