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

Invalid option --output-strains for augur filter in latest Nextstrain update #119

Closed
ArnieBerg opened this issue Apr 13, 2021 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@ArnieBerg
Copy link

I cloned the latest ncov of Nextstrain (3.0.3) from github (running the CLI environment in conda, Ubuntu) and when I run the snakefile for any example profile, I get to an 'augur filter' step that reports that the option '--output-strains' is invalid. When I check 'augur filter -h', sure enough, there is no '--output-strains' option listed.

Maybe I need to update the Nextstrain conda package? After much difficulty I got the latest version installed but it made no difference. Has this broken?

@ArnieBerg ArnieBerg added the bug Something isn't working label Apr 13, 2021
@jameshadfield
Copy link
Member

What version of augur are you running @ArnieBerg? This functionality was released in augur v11.2.0 (via this commit). Working out what version of augur you are using is somewhat connected to how you are running the workflow -- are you running snakemake itself, nextstrain build or snakemake --use-conda (or something else)?

@ArnieBerg
Copy link
Author

ArnieBerg commented Apr 14, 2021 via email

@ArnieBerg
Copy link
Author

Further information....I am running this in a WSL environment on a Windows machine, so I created a new Ubuntu distro, installed conda and then installed Nextstrain. This instance gave me a version 12.0 for augur.

In the original Ubuntu distro, I was unable to successfully update Nextstrain. I could not remove it through conda. I deleted the Nextstrain environment and re-installed it, but it would not give me augur 12.0.

This ticket can be closed.

@jameshadfield
Copy link
Member

Sorry to hear about these troubles @ArnieBerg.

In terms of the nCoV repo we are maintaining a conda environment which enforce that the rules use the correct versions of dependencies (augur, mafft etc etc). If you run your build via snakemake --use-conda --cores 4 --profile ./my_profiles/example -p it should 🤞 just work. In the case which you update the nCoV repo, then the conda environment snakemake uses will also update as needed. cc @huddlej

Let us know if there are any other issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants