get EBI url for an RUN fastq directory

accession2url(run_accessions)

Arguments

run_accessions

character() vector of SRR, DRR, or ERR accessions

Value

named vector with the parent directory containing the fastq files for each accession

Examples

accession2url(c('SRR000237','SRR123456'))
#> SRR000237 #> "ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR000/SRR000237/" #> SRR123456 #> "ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR123/SRR123456/"