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

Conda environment set up #130

Open
zkkhalil opened this issue Oct 6, 2023 · 3 comments · May be fixed by #137
Open

Conda environment set up #130

zkkhalil opened this issue Oct 6, 2023 · 3 comments · May be fixed by #137

Comments

@zkkhalil
Copy link

zkkhalil commented Oct 6, 2023

Hello,

I am attempting to set up the conda environment and I keep running into incompatibility issues

Output: warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY warning libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY Could not solve for environment specs The following packages are incompatible ├─ artic-tools 0.2.6** is installable and it requires │ └─ boost-cpp >=1.70.0,<1.70.1.0a0 with the potential options │ ├─ boost-cpp 1.70.0 would require │ │ └─ icu >=67.1,<68.0a0 , which can be installed; │ ├─ boost-cpp 1.70.0 would require │ │ └─ icu >=64.2,<65.0a0 , which can be installed; │ └─ boost-cpp 1.70.0 would require │ └─ icu >=58.2,<59.0a0 , which can be installed; └─ medaka 1.8.0** is not installable because it requires └─ tensorflow >=2.8.0,<2.9.dev0 but there are no viable options ├─ tensorflow [2.8.0|2.8.1] would require │ └─ tensorflow-base [2.8.0 cpu_py310h75e90da_0|2.8.0 cpu_py37h4373017_0|...|2.8.1 cpu_py39h45807a0_0], which requires │ └─ icu >=70.1,<71.0a0 , which conflicts with any installable versions previously reported; ├─ tensorflow [2.8.0|2.8.1] would require │ └─ __cuda, which is missing on the system; └─ tensorflow 2.8.2 conflicts with any installable versions previously reported.

I tried to play around with the versions using python 3.8.0 and not specifying a certain version of medaka (leaving it as medaka. However, I then ran into the following problem:

File "/sc/arion/work/khaliz03/snakemake/c6c19c46c4dc4f596c4635e3613cc2a1_/lib/python3.8/site-packages/h5py/__init__.py", line 46, in <module> from ._conv import register_converters as _register_converters File "h5py/_conv.pyx", line 1, in init h5py._conv File "h5py/h5t.pyx", line 293, in init h5py.h5t File "/sc/arion/work/khaliz03/snakemake/c6c19c46c4dc4f596c4635e3613cc2a1_/lib/python3.8/site-packages/numpy/__init__.py", line 320, in __getattr__ raise AttributeError("module {!r} has no attribute " AttributeError: module 'numpy' has no attribute 'typeDict'

@BioWilko
Copy link
Collaborator

BioWilko commented Oct 9, 2023

This very much looks like a problem with your conda installation, what hardware are you trying to run this snakemake pipeline on?

There are existing nextflow pipelines e.g. https://github.com/connor-lab/ncov2019-artic-nf or https://github.com/epi2me-labs/wf-artic which run fieldbioinformatics for you which may do what you need.

@zkkhalil
Copy link
Author

zkkhalil commented Oct 9, 2023

It is an internal pipeline that is being run on an HPC cluster. We previously used the YAML environment set up in the artic-ncov2019 repository because we use it for targeted reference-based assembly of SARS-CoV-2. However, due to the new medaka versions, we kept running into trouble when we had to set up the environment again. The internal pipeline that uses snakemake sets up all necessary environments using their respective YAML files. The only issue that arises is with the artic set up.

@BioWilko
Copy link
Collaborator

Can you point me to the repository for this pipeline? I'm specifically interested in the yaml environment definition.

@BioWilko BioWilko linked a pull request Sep 20, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants