Coder Social home page Coder Social logo

Comments (7)

fmaguire avatar fmaguire commented on August 22, 2024 2

from covid-19-signal.

raphenya avatar raphenya commented on August 22, 2024

This worked for me by specifying version:
conda create -c conda-forge -c bioconda -n snakemake snakemake=5.11.2 pandas

Then I get this error when running the pipeline:

Building DAG of jobs...
Creating conda environment conda_envs/ivar.yaml...
Downloading and installing remote packages.
Environment for conda_envs/ivar.yaml created (location: .snakemake/conda/1058a4d9)
Creating conda environment conda_envs/snp_mapping.yaml...
Downloading and installing remote packages.
CreateCondaEnvironmentException:
Could not create conda environment from /workspace/raphenar/sars-cov-2/covid-19-sequencing/conda_envs/snp_mapping.yaml:
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed
ResolvePackageNotFound: 
  - ld_impl_linux-64==2.34=h53a641e_0
  - binutils_impl_linux-64==2.34=h53a641e_0

from covid-19-signal.

raphenya avatar raphenya commented on August 22, 2024

I re-created the environment with python version 3.6 then I got:

Building DAG of jobs...
Creating conda environment conda_envs/trim_qc.yaml...
Downloading and installing remote packages.
CreateCondaEnvironmentException:
Could not create conda environment from /workspace/raphenar/sars-cov-2/covid-19-sequencing/conda_envs/trim_qc.yaml:
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed

ResolvePackageNotFound: 
  - ld_impl_linux-64==2.34=h53a641e_0

Searching the condo channels the build number is wrong in the yaml file:

conda search ld_impl_linux-64 -c bioconda -c defaults -c conda-forge
Loading channels: done
# Name                       Version           Build  Channel             
ld_impl_linux-64                2.32               5  conda-forge         
ld_impl_linux-64                2.32      h53a641e_6  conda-forge         
ld_impl_linux-64              2.33.1               5  conda-forge         
ld_impl_linux-64              2.33.1      h53a641e_6  conda-forge         
ld_impl_linux-64              2.33.1      h53a641e_7  pkgs/main           
ld_impl_linux-64              2.33.1      h53a641e_7  conda-forge         
ld_impl_linux-64              2.33.1      h53a641e_8  conda-forge         
ld_impl_linux-64                2.34      h53a641e_2  conda-forge     

I will update the build number and see if this error goes away.

from covid-19-signal.

raphenya avatar raphenya commented on August 22, 2024

Same package with wrong build number for a different yaml file:

Building DAG of jobs...
Creating conda environment conda_envs/trim_qc.yaml...
Downloading and installing remote packages.
Environment for conda_envs/trim_qc.yaml created (location: .snakemake/conda/b49a1142)
Creating conda environment conda_envs/ivar.yaml...
Downloading and installing remote packages.
Environment for conda_envs/ivar.yaml created (location: .snakemake/conda/1058a4d9)
Creating conda environment conda_envs/assembly_qc.yaml...
Downloading and installing remote packages.
CreateCondaEnvironmentException:
Could not create conda environment from /workspace/raphenar/sars-cov-2/covid-19-sequencing/conda_envs/assembly_qc.yaml:
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed

ResolvePackageNotFound: 
  - ld_impl_linux-64==2.34=h53a641e_0

@fmaguire @kmsmith137 should we not specify build numbers?

from covid-19-signal.

jaleezyy avatar jaleezyy commented on August 22, 2024

Updating the build (or letting conda make some decisions in which build to install) restored functionality.

from covid-19-signal.

jaleezyy avatar jaleezyy commented on August 22, 2024

Simplifying the env files would definitely make things easier as per 58.

from covid-19-signal.

fmaguire avatar fmaguire commented on August 22, 2024

rgi installation has had similar issues as well with versions

from covid-19-signal.

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.