download.SRA.metadata {ORFik} | R Documentation |
Downloads metadata from SRA
download.SRA.metadata(SRP, outdir, remove.invalid = TRUE)
SRP |
a string, a study ID as either the SRP, ERP, DRP or PRJ of the study, examples would be "SRP226389" or "ERP116106". |
outdir |
directory to save file, The file will be called "SraRunInfo_SRP.csv", where SRP is the SRP argument. The directory will be created if not existing. |
remove.invalid |
logical, default TRUE. Remove Runs with 0 reads (spots) |
a data.table of the opened file
doi: 10.1093/nar/gkq1019
Other sra:
download.SRA()
,
download.ebi()
,
install.sratoolkit()
,
rename.SRA.files()
## Originally on SRA outdir <- tempdir() # Specify output directory # download.SRA.metadata("SRP226389", outdir) ## ORiginally on ENA # download.SRA.metadata("ERP116106", outdir)