Last active
April 10, 2018 14:30
-
-
Save lwaldron/445389241cdb43229f2fd7369e108f11 to your computer and use it in GitHub Desktop.
Accessing HMP controlled metadata
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Before starting, install the NCBI SRA Tookit: | |
# Debian/Ubuntu: | |
# apt install sra-toolkit | |
# macOS: | |
# brew install sratoolkit | |
# Windows: | |
# see https://tinyurl.com/y845ppaa | |
# Get your dbGaP repository from https://dbgap.ncbi.nlm.nih.gov/aa/wga.cgi?page=list_wishlists | |
# Click "get dbGaP repository key" | |
library(HMP16SData) | |
x = V13() | |
x = attach_dbGaP(x, "~/Downloads/prj_12146.ngc") #replace with path to dbGaP repository key downloaded above | |
head(colData(x)) ##should see all the controlled metadata |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment