Conda and Bioconda · Conda Package, dependency and environment management for any language...
Transcript of Conda and Bioconda · Conda Package, dependency and environment management for any language...
![Page 1: Conda and Bioconda · Conda Package, dependency and environment management for any language “Condais an open source package management system and environment management system that](https://reader030.fdocuments.us/reader030/viewer/2022041023/5ed6635d6f355b33e6383e33/html5/thumbnails/1.jpg)
Conda and Bioconda
![Page 2: Conda and Bioconda · Conda Package, dependency and environment management for any language “Condais an open source package management system and environment management system that](https://reader030.fdocuments.us/reader030/viewer/2022041023/5ed6635d6f355b33e6383e33/html5/thumbnails/2.jpg)
From : https://w w w.cad-notes.com /wp-content/uploads/2015/11/frustrated-com puter-user.jpg
![Page 3: Conda and Bioconda · Conda Package, dependency and environment management for any language “Condais an open source package management system and environment management system that](https://reader030.fdocuments.us/reader030/viewer/2022041023/5ed6635d6f355b33e6383e33/html5/thumbnails/3.jpg)
Conda
Package, dependency and environment management for any language
“Conda is an open source package management system and environment management system that runs on Windows, macOS and Linux. Conda quickly installs, runs and updates packages and their dependencies. Conda easily creates, saves, loads and switches between environments on your local computer. It was created for Python programs, but it can package and distribute software for any language.”
from: https://conda.io/docs/
![Page 4: Conda and Bioconda · Conda Package, dependency and environment management for any language “Condais an open source package management system and environment management system that](https://reader030.fdocuments.us/reader030/viewer/2022041023/5ed6635d6f355b33e6383e33/html5/thumbnails/4.jpg)
![Page 5: Conda and Bioconda · Conda Package, dependency and environment management for any language “Condais an open source package management system and environment management system that](https://reader030.fdocuments.us/reader030/viewer/2022041023/5ed6635d6f355b33e6383e33/html5/thumbnails/5.jpg)
which python
![Page 6: Conda and Bioconda · Conda Package, dependency and environment management for any language “Condais an open source package management system and environment management system that](https://reader030.fdocuments.us/reader030/viewer/2022041023/5ed6635d6f355b33e6383e33/html5/thumbnails/6.jpg)
Recommended blog post
![Page 7: Conda and Bioconda · Conda Package, dependency and environment management for any language “Condais an open source package management system and environment management system that](https://reader030.fdocuments.us/reader030/viewer/2022041023/5ed6635d6f355b33e6383e33/html5/thumbnails/7.jpg)
Slide from Galaxy Team and John Chilton
![Page 8: Conda and Bioconda · Conda Package, dependency and environment management for any language “Condais an open source package management system and environment management system that](https://reader030.fdocuments.us/reader030/viewer/2022041023/5ed6635d6f355b33e6383e33/html5/thumbnails/8.jpg)
Conda can be used to install:
• Python (with disclaimer)• Python packages• R• Tools and packages for bioinformatics and data science
üSpecific versions
![Page 9: Conda and Bioconda · Conda Package, dependency and environment management for any language “Condais an open source package management system and environment management system that](https://reader030.fdocuments.us/reader030/viewer/2022041023/5ed6635d6f355b33e6383e33/html5/thumbnails/9.jpg)
Illustration by Krisztina Szerovay
![Page 10: Conda and Bioconda · Conda Package, dependency and environment management for any language “Condais an open source package management system and environment management system that](https://reader030.fdocuments.us/reader030/viewer/2022041023/5ed6635d6f355b33e6383e33/html5/thumbnails/10.jpg)
Illustration by Krisztina Szerovay
![Page 11: Conda and Bioconda · Conda Package, dependency and environment management for any language “Condais an open source package management system and environment management system that](https://reader030.fdocuments.us/reader030/viewer/2022041023/5ed6635d6f355b33e6383e33/html5/thumbnails/11.jpg)
Questions?
![Page 12: Conda and Bioconda · Conda Package, dependency and environment management for any language “Condais an open source package management system and environment management system that](https://reader030.fdocuments.us/reader030/viewer/2022041023/5ed6635d6f355b33e6383e33/html5/thumbnails/12.jpg)
Illustration by Krisztina Szerovayhttps://conda.io/docs/user-guide/install/index.html
![Page 13: Conda and Bioconda · Conda Package, dependency and environment management for any language “Condais an open source package management system and environment management system that](https://reader030.fdocuments.us/reader030/viewer/2022041023/5ed6635d6f355b33e6383e33/html5/thumbnails/13.jpg)
General conda commands
• conda --help• conda list #all packages available in a given environment• conda env list #lists all environments
![Page 14: Conda and Bioconda · Conda Package, dependency and environment management for any language “Condais an open source package management system and environment management system that](https://reader030.fdocuments.us/reader030/viewer/2022041023/5ed6635d6f355b33e6383e33/html5/thumbnails/14.jpg)
Create and activate new environment
• conda create --name test• source activate test
• conda install -c bioconda plink• conda install -c bioconda minimap• conda install -c bioconda bioawk• conda install --channel r r-essentials=1.4• conda install --channel r r=3.3.1
• source deactivate
![Page 15: Conda and Bioconda · Conda Package, dependency and environment management for any language “Condais an open source package management system and environment management system that](https://reader030.fdocuments.us/reader030/viewer/2022041023/5ed6635d6f355b33e6383e33/html5/thumbnails/15.jpg)
Looking for packages to install
Newest version:Google conda name_of_the_package
Which versions of the package are available?conda search -f samtools
![Page 16: Conda and Bioconda · Conda Package, dependency and environment management for any language “Condais an open source package management system and environment management system that](https://reader030.fdocuments.us/reader030/viewer/2022041023/5ed6635d6f355b33e6383e33/html5/thumbnails/16.jpg)
Power of bioconda
• conda search --channel bioconda• conda search --channel bioconda | wc -l
![Page 17: Conda and Bioconda · Conda Package, dependency and environment management for any language “Condais an open source package management system and environment management system that](https://reader030.fdocuments.us/reader030/viewer/2022041023/5ed6635d6f355b33e6383e33/html5/thumbnails/17.jpg)
Installing perl modules via conda
• conda create --name perly_env• source activate perly_env
• conda install -c anaconda perl # Installing perl• conda install -c bioconda perl-app-cpanminus # Installing CPAN for managing perl
modules• If -c bioconda does not work, try:
conda install -c conda-forge perl-app-cpanminus• cpanm Bio::Perl # Getting any module you like
Com m ands courtesy of Sam arth Rangavittalhttps://hcc-docs.unl.edu/display/HCCDOC/Installing+Perl+m odules
![Page 18: Conda and Bioconda · Conda Package, dependency and environment management for any language “Condais an open source package management system and environment management system that](https://reader030.fdocuments.us/reader030/viewer/2022041023/5ed6635d6f355b33e6383e33/html5/thumbnails/18.jpg)
Questions?
twitter.com/biomonika