Hi,
I would appreciate some help with downloading fastq files using SRAdb. I have been facing errors for any fastq file other than the example given in the manual. The error is as below. Can someone point out what is the issue here?
Thanks
yugandhar
> if(file.exists('SRAmetadb.sqlite')) {
+ ## Not run:
+ library(SRAdb)
+ sra_dbname <- 'SRAmetadb.sqlite'
+ sra_con <- dbConnect( dbDriver("SQLite"), sra_dbname )
+ ## Download fastq files from EBI ENA through ftp
+ getFASTQfile( in_acc = c("ERR1021452"), sra_con, destDir = getwd(), srcType = 'ftp', ascpCMD = NULL )
+
+ } else {
+ print("use getSRAdbFile() to get a copy of the SRAmetadb.sqlite file and then rerun the example")
+ }
Show Traceback
Rerun with Debug
Error in `$<-.data.frame`(`*tmp*`, "ftp", value = "ftp://ftp.sra.ebi.ac.uk/vol1/fastq/NA/NA/NA") :
replacement has 1 row, data has 0