Тёмный

Demystifying Conda (Anaconda, Miniconda and Bioconda) and Virtual Environments 

Bioinformagician
Подписаться 29 тыс.
Просмотров 6 тыс.
50% 1

Today, we're diving into a topic that every developer, data scientist, or a bioinformatician has experienced at some point: the dreaded installation errors for conflicts due to package versions and dependency nightmare.
In this video, I'll walk you through the basics of setting up Conda and Renv. I talk about what's with the different condas - Anaconda, Miniconda and Bioconda. I'll show you how to create environments, install packages, and effortlessly switch between them. It's a game-changer for your coding and pipeline development journey!
I hope you find this video helpful! Leave your thoughts in the comment section below!
▸ Link to Code:
github.com/kpatel427/RU-vidT...
▸ Resources:
1. conda installation instructions: conda.io/projects/conda/en/la...
2. conda channels and priorities: angus.readthedocs.io/en/2019/...
3. Python virtual envs: / python-virtual-environ...
4. renv documentation: rstudio.github.io/renv/articl...
Chapters:
0:00 Intro
0:51 What are virtual environments?
2:13 What is conda?
5:15 What’s with different condas - Anaconda, Miniconda and Bioconda?
7:15 renv vs conda
9:33 Demonstration goals and requirements
10:23 conda installation instructions
12:24 conda channels and priorities
13:44 Search for conda packages
14:36 base environment in conda
15:48 Checking local versions of the tools and searching for required conda packages
18:13 Create virtual environment in conda
22:03 Export environment to a YAML file (.yml file)
23:21 Create a conda environment from a YAML file
23:37 Why having a centralized location for all packages is problematic for analysis in R?
26:43 Creating R projects and using renv within projects
34:06 Sharing renv - save package version information to a .lock file
You can show your support and encouragement by buying me a coffee:
www.buymeacoffee.com/bioinfor...
To get in touch:
Website: bioinformagician.org/
Github: github.com/kpatel427
Email: khushbu_p@hotmail.com
#bioinformagician #bioinformatics #conda #anaconda #bioconda #miniconda #renv #virtualenv #virtualenvironment #yamlfile #yaml #affy #affymetrix #10x #alleles #bam #rprogrammingforbeginners #rprojects #setseed #reproducibility #pseudorandom #singleR #singlecell #annotationdbi #reversestranded #directstranded #strandedness #survival #survminer #survivalanalysis #kaplanmeier #tcga #gdcportal #tcgaportal #nci #cran #bioconductor #funcotator #variantcalling #variants #gatk #vcf #gvcf #haplotype #alleles #geneticvariants #mutations #gff3 #gff #gtf #sam #bam #phred #fasta #fastq #singlecell #10X #ensembl #biomart #annotationdbi #annotables #affymetrix #microarray #affy #ncbi #genomics #beginners #tutorial #howto #omics #research #biology #GEO #rnaseq #ngs

Опубликовано:

 

15 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 22   
@kedar_ghimire
@kedar_ghimire Месяц назад
this was really helpful for a non-bioinformatic researcher like me to understand whats going on. Especially the parts where you showed command by command to create two environments. Most of the youtube videos overestimate the programming skills of non-bioinformaticians and forget that it is them who watch these videos. Also, i like how you explain everything without missing even the minor stuff :D thanks
@kyounokuma
@kyounokuma 18 дней назад
What a fantastic overview of Conda. Thank you so much. You've answered all of my questions.
@Ice84letters
@Ice84letters 21 день назад
thank you very much for this amazing video!! you help me a lot to understand how conda works!
@PsycheSnacks657
@PsycheSnacks657 8 месяцев назад
Always wonderful! Thank you
@5602KK
@5602KK 8 месяцев назад
Great to have this as a resource
@ncedilemankahla9758
@ncedilemankahla9758 8 месяцев назад
Great timing on this video. I’m just getting started working in Conda and renv.. keep up the excellent work
@sonunitjsr223
@sonunitjsr223 5 месяцев назад
Very useful
@islamalmsarrhad2152
@islamalmsarrhad2152 2 месяца назад
Thanks
@ramachandran8106
@ramachandran8106 8 месяцев назад
Useful video lesson.. 👍 Please upload GWAS data analysis..
@bahatilouch7420
@bahatilouch7420 4 месяца назад
Great video and thank you for the tutorial! Would it be possible to make a tutorial about Virtual machines, cloud computing systems and docker? Thank you so much again!
@quinattasneemrafique536
@quinattasneemrafique536 6 месяцев назад
Is it feasible to make a detailed overview on how to construct a Metagenomics pipeline?
@paulcantalupo-nv1490
@paulcantalupo-nv1490 8 месяцев назад
Thank you for the video. Very helpful. One suggestion though...your subtitles are blocking the code that you are trying to show. Thank you again.
@AndrewBlakeOxford
@AndrewBlakeOxford 8 месяцев назад
Renv linked the packages from your cache rather than installing them from fresh - this process won't be as quick for others who haven't already use renv to install them previously and hence won't be present in the renv cache . Your script would benefit from having the renv activate and restore code at the start else when you share it the project won't load and restore the environment. Great video - love your channel.
@Bioinformagician
@Bioinformagician 8 месяцев назад
You're absolutely right that when sharing a project, it's crucial to consider how the environment is set up for others who may not have previously used renv. Having renv activate and restore at the start is crucial. I'll update my script accordingly. Thank you for pointing that out!
@funnyarian
@funnyarian 7 месяцев назад
But, there is that .Rprofile file that redirects to renv/activate.R which activates renv at the start? what's the reason to have it in the script?
@AndrewBlakeOxford
@AndrewBlakeOxford 7 месяцев назад
Yeah we saw that too, we end up having to debug renv quite a bit when it starts being tricky so having the discrete steps in code makes it easier to re run/ double check etc. We also run R out into continuous integration gitlab dockers and wanted to be sure that each step is being run but you could probably get rid of the activate step and let it take take of itself.
@phoenix-xf1yk
@phoenix-xf1yk 8 месяцев назад
Mam can you please guide me on how to install ascend
@user-fc2wo8fd6f
@user-fc2wo8fd6f 6 месяцев назад
Can you do a video on how to install cell ranger on linux?
@kamalhasan-lg1fl
@kamalhasan-lg1fl 8 месяцев назад
mam, i have installed conda, when i give conda show channels, bioconda is not installed , it is showing conda script py error
@palakgupta8728
@palakgupta8728 6 месяцев назад
hi are you still working as a scientist also at some lab?
@Israel-nw4ci
@Israel-nw4ci 7 месяцев назад
P R O M O S M 😘
Далее
20180712 EMBL-ABR webinar: Bioconda
46:43
Просмотров 3,5 тыс.
The Complete Guide to Python Virtual Environments!
15:52
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
Фонтанчик с черным…
01:00
Просмотров 1,7 млн
What is Anaconda? | Travis Oliphant and Lex Fridman
4:25
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29