Closed wodanaz closed 3 years ago
I think this error is coming from pangolin:
https://github.com/cov-lineages/pangolin/blob/9e57a5be1c2934eb3a4be1b2fd075bed3a57d43f/pangolin/command.py#L33s
Apparently the pangolin --update
command didn't fully update everything it needed.
You could try running conda install -c bioconda pangolin
after activating escapevariants
to update to the latest bioconda version. Then you should run pangolin --update
again.
If this resolves your problem update the version of pangolin in environment.yml for the version of pangolin you just installed: https://github.com/wodanaz/Assembling_viruses/blob/9625b9e06588aee6d6299f2ab1f20257ec92cfd1/environment.yml#L7
Okay, I am working on re-activating escapevariants
How to activate the escapevariants conda environment from an interactive HARDAC session:
module load Anaconda3/2019.10-gcb02
conda activate escapevariants
Thanks John for the rapid response. I reactivated the escapevariants and seem it will work. Will let you know if something extraordinary happens.
Thanks so much for the super fast response, I greatly appreciate it
Best,
Alejo
It didn't work but I managed to use an alternative pangolin method to call variants. And sent the report
I put an issue in pangolin github and they recommend to do the following:
pip install git+https://github.com/cov-lineages/constellations.git
Is there any way to add this to the environment?
Thanks!
You can run pip
after activating the conda environment to install software, there are just some gotchas to keep in mind with using pip inside a conda environment: https://wiki.duke.edu/pages/viewpage.action?spaceKey=HAR&title=Installing+custom+add-on+packages#Installingcustomaddonpackages-Usingpip
The best approach would be to update environment.yaml with the latest pangolin then and delete and recreate your environment. The latest pangolin conda environment includes constelations: https://github.com/cov-lineages/pangolin/blob/8965e57b51a4cc488c52dfbb7abd06df9bd62f60/environment.yml#L18
It worked by just changing the version in the initial environment set up.
cat environment.yml name: escapevariants channels:
- bioconda
- conda-forge dependencies:
- seqtk=1.3
- pangolin=3.0.3
John, I am sorry.
I need your help
I am getting the following error after I upgraded pangolin:![image](https://user-images.githubusercontent.com/5439367/120691876-050eb600-c475-11eb-8491-47b9f13f6bb2.png)
how can I solve this?
Thanks