Bioconductor on Microsoft Azure

Published Feb 01 2022 02:58 PM 1,305 Views
Microsoft

Co-authored by:

Nitesh Turaga - Scientist at Dana Farber/Harvard, Bioconductor Core Team

Erdal Cosgun - Sr. Data Scientist at Microsoft Biomedical Platforms and Genomics team

Vincent Carey - Professor at Harvard Medical School, Bioconductor Core Team

 

Introduction

 

The Bioconductor project promotes the statistical analysis and comprehension of current and emerging high-throughput biological assays. Bioconductor is a strict proponent to open source and open development of software, and collaborative, literate, and reproducible research. As the scale of genomic data grows exponentially in the genomics era, the use of cloud services is on the upward trend to deal with the size of the data. The advantage of cloud computing services fits the needs of the analysis of the varying size of data depending on the analysis setting. The elasticity and scalability of cloud services is a resource that makes it easy for a small lab or a large company to take advantage of Bioconductor's open-source software, and data resources.

 

bioconductor-website.png

 

Bioconductor Docker Images

 

Bioconductor produces docker images so that users can run the latest stable version of R, Bioconductor using either the command line or an RStudio UI. These images are built with system libraries that can be used to install (and compile) over 2000 Bioconductor packages. These docker images hosted by Bioconductor are available on the Microsoft container registry (MCR) and are freely available to the public on an open-source Artistic-2.0 license.

 

 

docker pull mcr.microsoft.com/bioconductor/bioconductor_docker:RELEASE_3_14

 

 

These images can be used with Azure container instances (ACI) with the available launch instructions. The added benefit of these docker images is the availability of pre-compiled Bioconductor package binaries. These package binaries speed up the installation of packages on the Docker image and provide users an efficient research computing environment where exploratory data analysis is faster. Since this is a more recent feature in development - it is available on a branch of the CRAN package BiocManager that will be merged soon. An example of installation of binary packages is given below:

 

 

BiocManager::install('Bioconductor/BiocManager@anvil')

pkgs <- c('BiocParallel', 'rsbml', 'rhdf5')

BiocManager::install(pkgs)

 

 

Bioconductor Hubs - AnnotationHub and ExperimentHub data

 

Bioconductor distributes it's annotation and experiment hub data through Azure Storage containers. 

 

The Bioconductor AnnotationHub resource provides a central location where genomic files (e.g., VCF, bed, wig) and other resources from standard locations (e.g., UCSC, Ensembl) can be discovered. The resource includes metadata about each resource, e.g., a textual description, tags, and date of modification.

 

The Bioconductor ExperimentHub provides a central location where curated data from experiments, publications or training courses can be accessed. Each resource has associated metadata, tags and date of modification. As of this post, (1/27/2022) about 2.5 TB of data has been distributed to important genomics research to scientists around the world. Usage stats of Bioconductor Hubs between Dec 27th, 2021 to Jan 27th, 2022:

 

usage.jpg

Jupyter Notebooks and Virtual Machines for Bioconductor on Microsoft Azure


The Genomics Data Lake provides various public datasets that you can access for free and integrate into your genomics analysis workflows and applications. The datasets include genome sequences, variant info, and subject/sample metadata in BAM, FASTA, VCF, CSV file formats. The Genomics Data Lake is hosted in the West US 2 and West Central US Azure region. Allocating compute resources in West US 2 and West Central US is recommended for affinity. The Bioconductor Annotation and Experiment Hub data will be available on Microsoft Genomics Data Lake on mid-February 2022.

 

Researchers can use the sample Jupyter notebooks from this repo to download the Genomics Data Lake's data to their Bioconductor projects. Another option to use Bioconductor packages on Azure is to use pre-built Genomics Data Science VMs. Windows OR Linux VMs can be deployed quickly from this link.

 

%3CLINGO-SUB%20id%3D%22lingo-sub-3101837%22%20slang%3D%22en-US%22%3EBioconductor%20on%20Microsoft%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3101837%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3ECo-authored%20by%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.linkedin.com%2Fin%2Fniteshturaga%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3ENitesh%20Turaga%3C%2FA%3E%26nbsp%3B-%20Scientist%20at%20Dana%20Farber%2FHarvard%2C%20Bioconductor%20Core%20Team%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fresearch%2Fpeople%2Fercosgun%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EErdal%20Cosgun%3C%2FA%3E%20-%20Sr.%20Data%20Scientist%20at%20Microsoft%20Biomedical%20Platforms%20and%20Genomics%20team%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.dfhcc.harvard.edu%2Finsider%2Fmember-detail%2Fmember%2Fvincent-j-carey-phd%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EVincent%20Carey%3C%2FA%3E%26nbsp%3B-%20Professor%20at%20Harvard%20Medical%20School%2C%20Bioconductor%20Core%20Team%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EIntroduction%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20%3CA%20href%3D%22https%3A%2F%2Fbioconductor.org%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EBioconductor%20project%3C%2FA%3E%20promotes%20the%20statistical%20analysis%20and%20comprehension%20of%20current%20and%20emerging%20high-throughput%20biological%20assays.%20Bioconductor%20is%20a%20strict%20proponent%20to%20open%20source%20and%20open%20development%20of%20software%2C%20and%20collaborative%2C%20literate%2C%20and%20reproducible%20research.%20As%20the%20scale%20of%20genomic%20data%20grows%20exponentially%20in%20the%20genomics%20era%2C%20the%20use%20of%20cloud%20services%20is%20on%20the%20upward%20trend%20to%20deal%20with%20the%20size%20of%20the%20data.%20The%20advantage%20of%20cloud%20computing%20services%20fits%20the%20needs%20of%20the%20analysis%20of%20the%20varying%20size%20of%20data%20depending%20on%20the%20analysis%20setting.%20The%20%3CSTRONG%3Eelasticity%3C%2FSTRONG%3E%20and%20%3CSTRONG%3Escalability%3C%2FSTRONG%3E%20of%20cloud%20services%20is%20a%20resource%20that%20makes%20it%20easy%20for%20a%20small%20lab%20or%20a%20large%20company%20to%20take%20advantage%20of%20Bioconductor's%20open-source%20software%2C%20and%20data%20resources.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22bioconductor-website.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F344357i1FA6D143CAE097C3%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22bioconductor-website.png%22%20alt%3D%22bioconductor-website.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EBioconductor%20Docker%20Images%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBioconductor%20produces%20docker%20images%20so%20that%20users%20can%20run%20the%20latest%20stable%20version%20of%20R%2C%20Bioconductor%20using%20either%20the%20command%20line%20or%20an%20RStudio%20UI.%20These%20images%20are%20built%20with%20system%20libraries%20that%20can%20be%20used%20to%20install%20(and%20compile)%20over%202000%20Bioconductor%20packages.%20These%20docker%20images%20hosted%20by%20Bioconductor%20are%20available%20on%20the%20Microsoft%20container%20registry%20(MCR)%20and%20are%20freely%20available%20to%20the%20public%20on%20an%20open-source%20Artistic-2.0%20license.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Edocker%20pull%20mcr.microsoft.com%2Fbioconductor%2Fbioconductor_docker%3ARELEASE_3_14%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThese%20images%20can%20be%20used%20with%20Azure%20container%20instances%20(ACI)%20with%20the%20available%20%3CA%20href%3D%22http%3A%2F%2Fbioconductor.org%2Fhelp%2Fdocker%2F%23msft%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Elaunch%20instructions%3C%2FA%3E.%20The%20added%20benefit%20of%20these%20docker%20images%20is%20the%20availability%20of%20pre-compiled%20Bioconductor%20package%20binaries.%20These%20package%20binaries%20speed%20up%20the%20installation%20of%20packages%20on%20the%20Docker%20image%20and%20provide%20users%20an%20efficient%20research%20computing%20environment%20where%20exploratory%20data%20analysis%20is%20faster.%20Since%20this%20is%20a%20more%20recent%20feature%20in%20development%20-%20it%20is%20available%20on%20a%20branch%20of%20the%20CRAN%20package%20%3CSTRONG%3EBiocManager%26nbsp%3B%3C%2FSTRONG%3Ethat%20will%20be%20merged%20soon.%20An%20example%20of%20installation%20of%20binary%20packages%20is%20given%20below%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3EBiocManager%3A%3Ainstall('Bioconductor%2FBiocManager%40anvil')%0A%0Apkgs%20%26lt%3B-%20c('BiocParallel'%2C%20'rsbml'%2C%20'rhdf5')%0A%0ABiocManager%3A%3Ainstall(pkgs)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EBioconductor%20Hubs%20-%20AnnotationHub%20and%20ExperimentHub%20data%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBioconductor%20distributes%20it's%20annotation%20and%20experiment%20hub%20data%20through%20Azure%20Storage%20containers.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EThe%20Bioconductor%20AnnotationHub%3C%2FSTRONG%3E%20resource%20provides%20a%20central%20location%20where%20genomic%20files%20(e.g.%2C%20VCF%2C%20bed%2C%20wig)%20and%20other%20resources%20from%20standard%20locations%20(e.g.%2C%20UCSC%2C%20Ensembl)%20can%20be%20discovered.%20The%20resource%20includes%20metadata%20about%20each%20resource%2C%20e.g.%2C%20a%20textual%20description%2C%20tags%2C%20and%20date%20of%20modification.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EThe%20Bioconductor%20ExperimentHub%3C%2FSTRONG%3E%20provides%20a%20central%20location%20where%20curated%20data%20from%20experiments%2C%20publications%20or%20training%20courses%20can%20be%20accessed.%20Each%20resource%20has%20associated%20metadata%2C%20tags%20and%20date%20of%20modification.%20As%20of%20this%20post%2C%20(1%2F27%2F2022)%20about%20%3CSTRONG%3E2.5%20TB%3C%2FSTRONG%3E%20of%20data%20has%20been%20distributed%20to%20important%20genomics%20research%20to%20scientists%20around%20the%20world.%20Usage%20stats%20of%20Bioconductor%20Hubs%20between%20Dec%2027th%2C%202021%20to%20Jan%2027th%2C%202022%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22usage.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F344362i6AD8B9793AC7676C%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22usage.jpg%22%20alt%3D%22usage.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EJupyter%20Notebooks%20and%20Virtual%20Machines%20for%20Bioconductor%20on%20Microsoft%20Azure%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EThe%20Genomics%20Data%20Lake%20provides%20various%20public%20datasets%20that%20you%20can%20access%20for%20free%20and%20integrate%20into%20your%20genomics%20analysis%20workflows%20and%20applications.%20The%20datasets%20include%20genome%20sequences%2C%20variant%20info%2C%20and%20subject%2Fsample%20metadata%20in%20BAM%2C%20FASTA%2C%20VCF%2C%20CSV%20file%20formats.%20The%20Genomics%20Data%20Lake%20is%20hosted%20in%20the%20West%20US%202%20and%20West%20Central%20US%20Azure%20region.%20Allocating%20compute%20resources%20in%20West%20US%202%20and%20West%20Central%20US%20is%20recommended%20for%20affinity.%20The%20Bioconductor%20Annotation%20and%20Experiment%20Hub%20data%20will%20be%20available%20on%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fopen-datasets%2Fdataset-genomics-data-lake%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EMicrosoft%20Genomics%20Data%20Lake%3C%2FA%3E%20on%20mid-February%202022.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EResearchers%20can%20use%20the%20sample%20Jupyter%20notebooks%20from%20this%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fgenomicsnotebook%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Erepo%3C%2FA%3E%20to%20download%20the%20Genomics%20Data%20Lake's%20data%20to%20their%20Bioconductor%20projects.%20Another%20option%20to%20use%20Bioconductor%20packages%20on%20Azure%20is%20to%20use%20pre-built%20Genomics%20Data%20Science%20VMs.%20Windows%20OR%20Linux%20VMs%20can%20be%20deployed%20quickly%20from%20this%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fgenomicsnotebook%2Ftree%2Fmain%2Fgenomics-data-science-vm%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Elink%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-3101837%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-left%22%20image-alt%3D%22bioconductor_blog.JPG%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F344694i69C1EF88D6C67C72%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22bioconductor_blog.JPG%22%20alt%3D%22bioconductor_blog.JPG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUsing%20Bioconductor%20on%20Microsoft%20Azure%20cloud%20for%20scalable%20genomics%20computing.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3101837%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EGenomics%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHealthcare%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ELife%20Sciences%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Co-Authors
Version history
Last update:
‎Feb 02 2022 10:07 AM
Updated by: