This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Some problems about NCBI data downloading using Aspera

Hello everyone

I want to download some RNA-seq raw data from NCBI by using Aspera.

I typed ascp -i ~/asperaweb_id_dsa.openssh -k 0 -T -100m anonftp@ftp.ncbi.nlm.nih.gov/sra/sra-instant/reads/ByRun/sra/ERR/ERR442/ERR442404/ERR442404.sra in terminal of Ubuntu server

Then terminal told me that :

invalid option -- 1
invalid option -- 0
invalid option -- 0
ascp: bad numeric suffix anonftp@ftp.ncbi.nlm.nih.gov/sra/sra-instant/reads/ByRun/sra/ERR/ERR442/ERR442404/ERR442404.sra.

I don't know how to solve it, if you have some suggestions and let me know.

Thanks for your help.

ncbi scp aspera

1 answer

IIRC a colon separate the user@host and folder parts of the URL in SSH/SCP. Can you try:

ascp -i ~/asperaweb_id_dsa.openssh -k 0 -T -100m anonftp@ftp.ncbi.nlm.nih.gov:/sra/sra-instant/reads/ByRun/sra/ERR/ERR442/ERR442404/ERR442404.sra

Thanks for your reply.

I tried the command you pasted here but it didn't worked well in my terminal, problem was still problem.

I deleted option -k 0 -T -100m and typed:

ascp -QT -i ~/asperaweb_id_dsa.openssh anonftp@ftp.ncbi.nlm.nih.gov:/sra/sra-instant/reads/ByRun/sra/ERR/ERR442/ERR442404/ERR442404.sra

Then terminal showed that ascp: 'aspera-license' could be found, existing

But I have copied this license file to /usr/local/bin folder and I don't know why PC also told me file is missed.

Ummm, does the error message say "could be" or "could not be"?

I am sorry my fault, and the error message say 'aspera-license' could not be found, existing.

Could you give me the output of this please:

ls -al ~/*aspera*

Log in to answer this question.