ginseachen的个人博客分享 http://blog.sciencenet.cn/u/ginseachen

博文

Download sra file from NCBI through command line (aspera)

已有 6629 次阅读 2015-9-24 10:22 |系统分类:科研笔记

Recently, I need some RNA-seq experiments which have been published in NCBI for my study, while large sra file would take a lot of time in raw-data downloading (i.e. wget downloading). So I want to use aspera connect (command line version) to increse the rate for file downloading. The detail description was shown as follows:

1. Packages downloading

$ wget http://download.asperasoft.com/download/sw/connect/3.6.1/aspera-connect-3.6.1.110647-linux-64.tar.gz

2. Archive unzipping

$ tar -zxvf aspera-connect-3.6.1.110647-linux-64.tar.gz

3. Software installing

$ shaspera-connect-3.6.1.110647-linux-64.sh

4. Sra file downloading

5. Downloading command description

$ /path/to/ascp -i /path/to/openssh -k 1 -QT -l 200m /path/to/target/file /path/to/location

Notes: This command line operation was touchy to characters. For error reports avoiding, you should operate  as above description strictly. I attached my shell script which have been successfully run sra_down.txt.

Now I can download sra file fastly, while an error which was "Session Stop (Error: Session data transfer timeout (server), Peer Error: Session data transfer timeout)" always reproted. I can't find some available ways to solve it except tried repeatedly.











https://blog.sciencenet.cn/blog-1334016-923025.html

上一篇:Ubuntu server 14.04最新版本OpenJDK安装日志
下一篇:通过基因ID文件从fasta文件中提取特定的基因
收藏 IP: 153.92.41.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-19 14:22

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部