Git Product home page Git Product logo

Comments (5)

enryH avatar enryH commented on September 23, 2024 2

And I check now with python=3.7 on Windows10, it does also seem to work:

conda create -c defaults -c conda-forge -c bioconda -n phamb snakemake pygraphviz python=3.7 cython scikit-learn=0.21.3

I added explicitly the list of anaconda channels in search order: -c defaults -c conda-forge -c bioconda

from phamb.

Jiulong-Zhao avatar Jiulong-Zhao commented on September 23, 2024 2

@joacjo @enryH Thanks for your kindly help!
Yeah, the installation of python=3.6 can work!
conda create -n phamb python=3.6 cython scikit-learn==0.21.3 snakemake pygraphviz
It can work, while "python=3.7" can not work in my CentOS 7.6 system.

Thanks again!

By the way, to my understanding, is this phamb workflow used to identify viral MAGs after binning by Vamb to obtain miscellaneous MAGs?

from phamb.

joacjo avatar joacjo commented on September 23, 2024

Hi Jiulong

Thank you for your interest in the method. I did some experimentation and experienced the same conflicts in the conda installation as you present here. Seems like the required scikit version is not compatible with Python v. 3.8.

Try to give this one a go, python 3.6 should not result in the same conflicts with scikit-learn and worked stable before.
conda create -n phamb python=3.6 cython scikit-learn==0.21.3 snakemake pygraphviz

Let me know if this works out.

Best,
Joachim

from phamb.

enryH avatar enryH commented on September 23, 2024

As python 3.6 is out of live, I guess it will be good to see if this can be updated..

from phamb.

joacjo avatar joacjo commented on September 23, 2024

@joacjo @enryH Thanks for your kindly help! Yeah, the installation of python=3.6 can work! conda create -n phamb python=3.6 cython scikit-learn==0.21.3 snakemake pygraphviz It can work, while "python=3.7" can not work in my CentOS 7.6 system.

Thanks again!

By the way, to my understanding, is this phamb workflow used to identify viral MAGs after binning by Vamb to obtain miscellaneous MAGs?

Great it worked for you Jiulong! I will update the dependency for python 3.6, for now.
As Henry points out, python 3.6 is getting outdated, so we will have to prepare the method for a more recent version of Python.

To your question, Yes phamb workflow requires Vamb clusters.tsv and is optimised for that binner.
So you will need to run Vamb on a metagenomic dataset in order to employ this method.

Wish you all the best with your research!

from phamb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.