Git Product home page Git Product logo

Comments (8)

henriquevf avatar henriquevf commented on July 30, 2024

Using the latest version of the softwares to create the environment worked. Hope there won't be any conflicts when Picard is required. I have edited the yaml file.

name: picard_test

channels:
  - bioconda
  - conda-forge
  - r
dependencies:
  - picard ==2.26.2
  - snakemake-wrapper-utils ==0.2
  - python ==3.7.10
  - numpy ==1.20.3
  - pandas ==1.3.3
  - r-tidyverse ==1.3.1

from grenepipe.

lczech avatar lczech commented on July 30, 2024

Hi @henriquevf,

thanks for reporting this! The issue was introduced by fixing #9; I had noticed it a few days ago myself and already had a fix, but hadn't pushed it. My fix does not change the versions (as this might introduce some unintended problems), but instead removes some of the channels, which has worked in my tests. It takes a few minutes still on my machine, but works.

It would be great if you could download the latest version of grenepipe, and check if this fix works for you as well. And in any case, thank you very much for the thorough issue and description of your approaches!

Cheers and so long
Lucas

PS: Unfortunately, conda is known to be slow in many cases. One solution is to use a relatively recent snakemake version, where you can use mamba instead via --conda-frontend: see here.

from grenepipe.

lczech avatar lczech commented on July 30, 2024

Hi @henriquevf, any news on this?

from grenepipe.

lczech avatar lczech commented on July 30, 2024

Hi @henriquevf,

I've worked on the conda environments of picard now (in the latest commits), and changed and fixed a few things. It seems to install now without issues.

Feel free to re-open this issue should you still have trouble when using the latest grenepipe (not released yet, so use the download or git clone button for now, or wait for grenepipe >= v0.7.0 to come out).

Lucas

from grenepipe.

RvV1979 avatar RvV1979 commented on July 30, 2024

Hi Lucas and all,

FYI I seem to have had this same issue when running the pipeline on the example directory using conda. I was using the versions below:
Conda: 22.9.0
Python: 3.7.10
Snakemake: 6.0.5
Grenepipe: 0.10.0

Using these versions, creating the picard environment hangs forever...

Fortunately, when following your suggestion form an earlier answer above, specifying --conda-frontend mamba the issue was resolved.

from grenepipe.

lczech avatar lczech commented on July 30, 2024

Thanks for the report, @RvV1979! Fixing the picard environment somehow so that it works with normal conda is on my todo list, but given that mamba works fine, it's not very high priority. However, as it seems that this is an ongoing issue for many users (hence again thanks for reporting this!) I might increase the priority of this fix ;-)

from grenepipe.

lczech avatar lczech commented on July 30, 2024

Hi @henriquevf and @RvV1979,

I've revisited this issue again, see also #25, and hopefully found a solution now. The picard and qualimap environments are still slow with conda, but at least do not completely hang any more - at least in my tests. Unfortunately, this works-for-me approach is all that I can do - I'm currently running large scale tests on Ubuntu, CentOS, and MacOS, with conda, and with mamba (not all permutations, that would be too much, but the more important ones). Seems to be working well enough, but I'd also like to get your feedback on whether it works on your systems, in case this is still relevant for your.

If so, could you maybe try again using grenepipe at this commit?

Cheers and so long
Lucas

from grenepipe.

lczech avatar lczech commented on July 30, 2024

Hi again, quick notice: I just published grenepipe v0.12.0, which (hopefully) fixes all these issues. The picard and the qualimap environments were the biggest culprits, and have been updated. All environments install fine on Ubuntu and an MacOS now, both with conda and with mamba ;-)

from grenepipe.

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.