-
Notifications
You must be signed in to change notification settings - Fork 106
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 in rule scorpio: with pangolin 4.3 #537
Comments
Sorry to hear about the troubles. First, to prevent the log files from being automatically removed on exit, run pangolin with the
I don't know why but I recently found that I needed to configure channels in this order:
Otherwise there were unresolvable conflicts between dependencies of dependencies. |
The channels have been set up in the correct order.
Ideally, I’d like to use your
I attempted using the
|
A quick google search indicates that having a long TMPDIR environment variable may cause that. Is there a way for you to find out what TMPDIR is set to in the environment in which you run pangolin? (or to set it to something short?)
How are you obtaining environment.yml? I don't see a '-' character in it. Instead, why not directly install pangolin (from the bioconda channel) like this:
|
I copied the env.yml file from your repository. The default Python version on our HPC is 3.6, so I attempted direct installations with Python 3.7, 3.8, and 3.9 using the following commands:
The OSX error was not present before. I’m currently investigating whether the WDL workflow is the source of the issue, as I’m not controlling the temp directory creation. Will follow your suggestion. Pangolin only fails within the WDL workflow , and not when run directly on command line. |
Just to make sure I understand, is this correct?:
If that is correct, then can you find out what the environment variable |
@AngieHinrichs Yes - for all 3. Here is the Echo output of the temp directory before running pangolin
Update 1: added these 2 steps before calling pangolin., and no luck yet.
Update 2:
|
@gadepallivs we hit a similar issue with our WDLs and paths that were too long (we use Terra on GCP primarily though, one difference here) and here's how we tried to cope with the long pathnames: theiagen/public_health_bioinformatics#327 It's very similar code to what you have shown above ^ When I looked into it, I found that the python |
This post discusses three issues:
conda install pangolin=4.3 -y
) works, but not always.mamba install Pangolin=4.3
leads to package conflicts. By default, mamba downloads older Pangolin version (1.1.5)I’ve been using Pangolin 4.3 within a WDL workflow successfully. However, after updating Pangolin from 4.3 to 4.3.1 using
pangolin --update
, the pipeline broke. Reinstalling 4.3 was challenging, with Conda taking hours to solve the environment and mamba defaulting to an older Pangolin version.Installing Python 3.8 within the environment using
mamba install python=3.8
led to Snakemake incompatibility.After several attempts, I managed to reinstall Pangolin 4.3 using conda, but the same error, in the WDl workflow pipeline , as with 4.3.1 persists.
The below error only occurs when Pangolin is part of the WDL workflow and seems to be related to the Pangolin rule scorpio. Any suggestions for resolving this issue are welcome.
The text was updated successfully, but these errors were encountered: