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

installing magpy #42

Open
mars188 opened this issue Nov 14, 2021 · 3 comments
Open

installing magpy #42

mars188 opened this issue Nov 14, 2021 · 3 comments

Comments

@mars188
Copy link

mars188 commented Nov 14, 2021

Hi,

MAGpy seems to be the perfect tool for my metagenomic data analysis but I am unable to even install it. The manual says that after installing conda I should do the following:
conda env create -f envs/install.yaml

However, the install.yaml file doesn't contain all the tools needed to run the analysis hence I get the error. My install.yaml file looks like this:
`name: magpy_install
channels:

  • conda-forge
  • bioconda
  • defaults
    dependencies:
  • snakemake
  • mamba`

Another thing that MAGpy/envs folder contains several files basic2.yaml basic3.yaml bioperl.yaml checkm.yaml diamond.yaml ete3.yaml install.yaml MAGpy-2.7.yaml MAGpy-3.5.yaml pfam_scan.yaml phylophlan.yaml prodigal.yaml setup.yaml sourmash.yaml

Should I install all of them? Is it possible to have them together in one file so I could install everything in one run?

Please let me know if I am missing something. Many thanks!

@mw55309
Copy link
Member

mw55309 commented Nov 14, 2021

Hello

Can you tell me what error you get when you run

conda env create -f envs/install.yaml

??

Cheers
Mick

@mars188
Copy link
Author

mars188 commented Nov 14, 2021

When I run conda env create -f envs/install.yaml I don't get any error and environment is created successfully. However, when I activate the environment and run snakemake -rp -s MAGpy --cores 1 --use-conda test it gives the following error:
`Building DAG of jobs...
Creating conda environment envs/sourmash.yaml...
Downloading and installing remote packages.
CreateCondaEnvironmentException:
Could not create conda environment from /scratch/gencore/ma5877/MAGs/MAGpy/envs/sourmash.yaml:
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Encountered problems while solving:

  • package sourmash-4.1.1-hdfd78af_0 requires sourmash-minimal 4.1.1.*, but none of the providers can be installed`

@mw55309
Copy link
Member

mw55309 commented Nov 16, 2021

Just to confirm that the magpy_install and test commands ran to completion for me yesterday with no problems

This may be a problem with your conda setup....

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