aspera

网页为:aspera

wget -c https://download.asperasoft.com/download/sw/connect/3.8.1/ibm-aspera-connect-3.8.1.161274-linux-g2.12-64.tar.gz
tar zxvf ibm-aspera-connect-3.8.1.161274-linux-g2.12-64.tar.gz
bash ibm-aspera-connect-3.8.1.161274-linux-g2.12-64.sh
# 有如下所示内容生成


Installing IBM Aspera Connect

Deploying IBM Aspera Connect (/home/qmcui/.aspera/connect) for the current user only.
Unable to update desktop database, IBM Aspera Connect may not be able to auto-launch

Install complete.

cd /home/qmcui/.aspera/connect/bin
./ascp --help
# 结果如下图所示

# 永久添加环境变量
echo 'export PATH=~/.aspera/connect/bin:$PATH' >> ~/.bashrc
# 最好写绝对路径:echo 'export PATH=/home/qmcui/.aspera/connect/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
# 查看帮助文档
ascp --help

帮助文档调用成功即安装成功,再用prefetch下载数据的时候,就不会调


aspera_第1张图片
aspera调用成功

https:

2018-11-14T08:20:44 prefetch.2.9.1: 1) Downloading 'SRR5398807'...
2018-11-14T08:20:44 prefetch.2.9.1: Downloading via fasp...

而是使用fasp

下载数据

先找到GSE号或者SRP号,找到accession list;下载,然后存到服务器上

source activate wes
# conda install sra-tools
prefetch SRR5398853
# 默认下载到了家目录下的ncbi路径下
prefetch SRR5398853 -o ~/SRR5398853.sra
# 指定路径制定名
prefetch SRR5398853 -O ~/
# 指定路径,适合于循环下载,不用截取id名来存取
cat prefetch.list |while read id;do prefetch $id -O ~/;done
# 如果不指定路径,默认在家目录下有一个ncbi的文件夹内

你可能感兴趣的:(aspera)