GREP2 icon indicating copy to clipboard operation
GREP2 copied to clipboard

SRA download error

Open ngutrinh opened this issue 3 years ago • 0 comments

I follow the code to download SRA but it error no such directory, how to fix it, thank you?

for(i in 1:length(srr_id)){

  • get_srr(srr_id=srr_id[i], destdir=tempdir(), ascp=F,
  •       prefetch_workspace=NULL,ascp_path=NULL)
    
  • } --2021-03-22 16:21:24-- ftp://ftp-trace.ncbi.nih.gov/sra/sra-instant/reads/ByRun/sra/SRR/SRR589/SRR5890520/SRR5890520.sra => ‘/tmp/RtmpSuqlD5/SRR5890520.sra’ Resolving ftp-trace.ncbi.nih.gov (ftp-trace.ncbi.nih.gov)... 165.112.9.229, 130.14.250.13, 2607:f220:41e:250::10, ... Connecting to ftp-trace.ncbi.nih.gov (ftp-trace.ncbi.nih.gov)|165.112.9.229|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /sra/sra-instant/reads/ByRun/sra/SRR/SRR589/SRR5890520 ... No such directory ‘sra/sra-instant/reads/ByRun/sra/SRR/SRR589/SRR5890520’.

All SRA files are downloaded successfully. 2021-03-22 16:21:28

ngutrinh avatar Mar 22 '21 07:03 ngutrinh