Some problems about NCBI data downloading using Aspera
1
0
Entering edit mode
9.3 years ago
Ginsea Chen ▴ 130

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 • 5.4k views
ADD COMMENT
0
Entering edit mode
9.3 years ago
Ram 43k

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
ADD COMMENT
0
Entering edit mode

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.

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

Could you give me the output of this please:

ls -al ~/*aspera*
ADD REPLY

Login before adding your answer.

Traffic: 1694 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6