nanoporetech / medaka

Sequence correction provided by ONT Research
https://nanoporetech.com
Other
393 stars 73 forks source link

installation with conda into an environment #332

Closed mtva0001 closed 2 years ago

mtva0001 commented 2 years ago

Hi, I try to install medaka but it is not an easy task apparently. I try to install it into an already existing conda environment using: conda install -c conda-forge -c bioconda medaka

But I got this error: UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment:

Specifications:

Your python: python=3.9

Can you make medaka compatible with any version of python?

cjw85 commented 2 years ago

Medaka is untested on Python 3.9 and Python 3.10, hence the restriction to Python <= 3.8.

We advise to install medaka into a standalone conda environment.

mtva0001 commented 2 years ago

Yes, well, another software (pipeline) requires medaka and I cannot load two environments at the same time (or I don't know how to do that). Any solution for such scenario?

cjw85 commented 2 years ago

Most workflow management software like snakemake and nextflow provide the ability to use different software environments for different stages of workflows. I would contact the author of the software pipeline you are using and ask them to set this up.

It is unlikely that tested support for Python 3.9 will come to medaka soon.

mtva0001 commented 2 years ago

I downgraded python and still get this error: UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment:

Specifications:

Your python: python=3.8

cjw85 commented 2 years ago

As stated above, we recommend that medaka is installed in a standalone virtual or conda environment. Due to the myriad possibilities that may occur otherwise, we cannot support use outside of this setup.

mtva0001 commented 2 years ago

Well, I don't have other options if Nanopore doesn't provide a complete pipeline for clustering, consensus creation and making an OTU table finally. Anyway, then I'm forced to use Racon instead.

cjw85 commented 2 years ago

Closing this issue. The recommendation remains that medaka should be installed in to an isolated conda or virtual environment, this is easily specified in workflow managers commonly used in bioinformatics.