Skip to content

Instantly share code, notes, and snippets.

@philippmuench
Last active March 7, 2019 12:25
Show Gist options
  • Save philippmuench/5079304bd78ef13a400f9a7b2d806ef5 to your computer and use it in GitHub Desktop.
Save philippmuench/5079304bd78ef13a400f9a7b2d806ef5 to your computer and use it in GitHub Desktop.
biomartr Linux test
install.packages("BiocManager")
BiocManager::install("Biostrings", version = "3.8")
BiocManager::install("biomaRt", version = "3.8")
install.packages("biomartr", dependencies = TRUE)
library(biomartr)
getGenome(db = "genbank", organism = "GCA_003138775.1", reference = FALSE)
# Tested on AWS EC t2.xlarge instance with Ubuntu 18.4
# see https://www.digitalocean.com/community/tutorials/how-to-install-r-on-ubuntu-18-04
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/'
sudo apt update
sudo apt install r-base curl libcurl4-gnutls-dev libssl-dev zlib1g-dev libxml2-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment