Skip to content

snakemake-tutorial software setup leads to conflict #2442

@cmeesters

Description

@cmeesters

Describe the bug
Running mamba env create --name snakemake-tutorial --file environment.yaml as described in the tutorial (see https://snakemake.readthedocs.io/en/stable/tutorial/setup.html#step-1-installing-mambaforge ) is unable to install pysam

Logs
The output is

<snip> 

Looking for: ["snakemake-minimal[version='>=7.3']", 'jinja2', 'matplotlib', 'graphviz', 'bcftools', 'samtools', 'bwa=0.7.17', 'pysam=0.21', 'pygments']


Could not solve for environment specs
The following packages are incompatible
└─ pysam 0.21**  is installable with the potential options
   ├─ pysam 0.21.0 would require
   │  └─ python >=3.10,<3.11.0a0 , which can be installed;
   ├─ pysam 0.21.0 would require
   │  └─ python >=3.6,<3.7.0a0 , which can be installed;
   ├─ pysam 0.21.0 would require
   │  └─ python >=3.7,<3.8.0a0 , which can be installed;
   ├─ pysam 0.21.0 would require
   │  └─ python >=3.8,<3.9.0a0 , which can be installed;
   └─ pysam 0.21.0 would require
      └─ python >=3.9,<3.10.0a0 , which can be installed.

Additional context
We should update the tutorial in this regard, such, that teachers and learners alike can use it again. Would be willing to do a PR, just did not get the pysam install to work.

The python version (installed just now with mamba) is 3.10.12 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions