install dependencies via Conda
- add 3 separate Conda environment files for installing
- essential dependencies without Singularity (most users)
- essential dependencies including Singularity (root users on Linux only)
- non-essential dependencies (required for tests etc.)
- install Python dependencies via
pip
within Conda environment to avoid #56 (closed) - update Conda-based installation instructions
- describe usage of different environment files
- add supported OS versions (macOS not yet added, because only installation works)
- update CI config to use same setup (based on Miniconda Docker image)
Closes #56 (closed)
Merge request reports
Activity
Installation tested successfully on my laptop (Ubuntu 18.04), on login node (CentOS 7.5; local and Slurm-based) and on VM (Debian 10).
@gypas & @herrmchr : Please check installation instructions (
README.md
in branchconda_env
) and see if it works for you; you can try the tests as well, but on Mac do not bother with the integration test because of #55 (closed); please let me know your OS versions and status below. Thanks!Edited by Alex Kanitz- Ubuntu 16.04
- conda 4.8.2
- root user installation: OK.
(Snakemake part of integration test successful. Test only breaks later because of the missing test dependencies.) - root user PLUS test dependencies: OK.
(Integration test success.) - non-root user: OK.
Singularity 2.4.5-dist
(Snakemake part of integration test successful. Test only breaks later because of the missing test dependencies.)
Edited by CJHerrmann@bakma Thanks. Well, apparently Singularity for Conda is only available for Linux. I didn't know but will add this info to the instructions.
Could you please try again? I have set this as the default now, the version of the environment file that includes Singularity is called
environment.root.yml
now and the one without was renamed fromenvironment.no_root.yml
toenvironment.yml
, as this is likely the more common usage.Edited by Alex Kanitzadded 1 commit
- 4bdf70e8 - update docs and set 'no root' install as default
I have performed one more test upon activation:
conda env update -f install/environment.dev.yml
It works fine, no errors.Edited by BIOPZ-Bak MaciejAwesome - thanks a lot! One final thing: if you have Singularity installed on your system, you could also run the integration test and see if you get the same error as Foivos.
Edited by Alex KanitzActually, given that @gypas uses the same macOS version, I will merge this issue now as Conda-based installation generally seems to work, with or without Singularity, depending on the system (as documented in
README.md
)mentioned in commit 885c5692