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

Don't install metawrap via metawrap-mg #548

Open
yqy6611 opened this issue Jun 12, 2024 · 3 comments
Open

Don't install metawrap via metawrap-mg #548

yqy6611 opened this issue Jun 12, 2024 · 3 comments

Comments

@yqy6611
Copy link

yqy6611 commented Jun 12, 2024

This is a suggestion.

metawrap-mg is totally outdated. Moreover, all of dependencies can actually work with python 3 without revising module scripts of metawrap.

Prepare a cleaner conda environment with python 3 and manually install those dependencies except for prokka and salmon can solve majority problems. For prokka and salmon, prepare separate environments for each of them and redirect the locations in scripts.

For some small auxiliary python 2 scripts we can prepare another python 2 environment and redirect python interpreter in those scripts. Of course it will be better if you can revise those scripts using python 3.

@bachelot34
Copy link

When you say do not use metawrap-mg, are you saying we should follow this step described in the installation document:

Note: ordering is important

conda config --add channels defaults
conda config --add channels conda-forge
conda config --add channels bioconda
conda config --add channels ursky

conda install biopython blas=2.5 blast=2.6.0 bmtagger bowtie2 bwa checkm-genome fastqc kraken=1.1 krona=2.7 matplotlib maxbin2 megahit metabat2 pandas quast r-ggplot2 r-recommended samtools=1.9 seaborn spades trim-galore

and then add prokka and salmon afterwards?

Thank you

@yqy6611
Copy link
Author

yqy6611 commented Aug 20, 2024

When you say do not use metawrap-mg, are you saying we should follow this step described in the installation document:

Note: ordering is important

conda config --add channels defaults

conda config --add channels conda-forge

conda config --add channels bioconda

conda config --add channels ursky

conda install biopython blas=2.5 blast=2.6.0 bmtagger bowtie2 bwa checkm-genome fastqc kraken=1.1 krona=2.7 matplotlib maxbin2 megahit metabat2 pandas quast r-ggplot2 r-recommended samtools=1.9 seaborn spades trim-galore

and then add prokka and salmon afterwards?

Thank you

Yes and no need to add ursky channel. And don't add spades 4.0.0 in this environment due to compatibility issues. If you really hope to use it, install it in a separate environment like prokka and salmon.

@bachelot34
Copy link

Thank you! When you say I will have to adapt the scripts after creating new environments for salmon and prokka, which scripts are you referring to? Some of the metawrap scripts, or my own scripts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants