Description Usage Arguments Value Examples
Gets all urls, file names and md5 values associated with run accessions.
1 | get_fastq_urls(runacc, db_conn)
|
runacc |
A vector with run accessions |
urls A nested list with run accessions separated depending on whether they are associated with one, two or three files. If all run accessions provided are only associated with one category, a data frame is returned for that category.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | library('srametadata')
# Get path to sqlite database
sqlfile <- file.path('.', 'SRAmetadb.sqlite')
# Create connection
conn <- dbConnect(SQLite(),sqlfile)
# one file
get_fastq_urls(runacc = c("DRR001482"), db_con = conn)
# two files
get_fastq_urls(runacc = c("DRR001627"), db_con = conn)
# three files
get_fastq_urls(runacc = c("ERR204978"), db_con = conn)
# one file and two files
get_fastq_urls(runacc = c("DRR001482", "DRR001627"), db_con = conn)
# one file and three files
get_fastq_urls(runacc = c("DRR001482", "ERR204978"), db_con = conn)
# one file and three files
get_fastq_urls(runacc = c("DRR001627", "ERR204978"), db_con = conn)
# one file, two files and three files
get_fastq_urls(runacc = c("DRR001482", "DRR001627", "ERR204978"),
db_con = conn)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.