常用下载方法
- SRA Toolkit:prefetch
- Aspera
- wget
prefetch
安装
wget http://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/current/sratoolkit.current-ubuntu64.tar.gztar -zxvf sratoolkit.current-ubuntu64.tar.gz # 解压缩echo 'export PATH=$PATH:$HOME/sratoolkit.2.11.2-ubuntu64/bin ' >> ~/.bashrc # 配置环境变量source .bashrcvdb-config --interactive # 配置(按X退出后即可正常使用)
使用
# 单个
prefetch SRR**
# 批量
prefetch --option-file SRR_Acc_List.txt
Aspera
安装
conda install -c hcc aspera-cli -y
使用
NCBI 公共账号: anonftp
EBI 公共账号:era-fasp
~/.aspera/connect/bin/ascp -QT \
-i ~/.aspera/connect/etc/asperaweb_id_dsa.openssh \
-k1 -l 300m \
anonftp@ftp.ncbi.nlm.nih.gov:/blast/db/FASTA/nr.gz ./
ftp网址为
ftp://ftp.ncbi.nlm.nih.gov/blast/db/FASTA/*删除*nr.gz
需要改为:
anonftp@ftp.ncbi.nlm.nih.*删除*gov

最低0.47元/天 解锁文章
9888

被折叠的 条评论
为什么被折叠?



