monagrland / MB_Pipeline

Metabarcoding Pipeline for Illumina Sequencing Data
GNU Affero General Public License v3.0
1 stars 1 forks source link

Package versions/builds in Conda env definition files #2

Closed kbseah closed 1 year ago

kbseah commented 1 year ago

When creating conda environemnt from envs/mb_taxonomy.yaml, the following error was reported:

CreateCondaEnvironmentException:
Could not create conda environment from /mnt/data/homes/seah/test_mb_pipeline/MB_Pipeline/envs/mb_taxonomy.yaml:
Encountered problems while solving:
  - nothing provides requested google-cloud-core ==1.7.1 pyhd3eb1b0_0

Dependencies in the Conda environment definition files are specified with version and build.

For at least one package, the specified build is not available from the listed channels (conda-forge, bioconda, r):

google-cloud-core=1.7.1=pyhd3eb1b0_0 is listed, but build for this version on conda-forge is pyh6c4a22f_0. The listed build pyhd3eb1b0_0 is available on main channel, though.

This may affect other packages in the pipeline too. Should we make it less strict and:

kbseah commented 1 year ago

Ideally we have a "minimal" conda env definition with only the relevant packages + versions

For archiving/reproducibility, use the snakemake --archive function and archive the tarball on Zenodo or similar, to safeguard against e.g. link rot.

LasKru commented 1 year ago

fixed with the merge #3