如何用Linux从NCBI批量下载数据

引用自

https://blog.csdn.net/sunwanying123/article/details/80885662

摘要:

esearch -db sra -query PRJNA355614  | efetch -format runinfo > runinfo.csv 
cat runinfo.csv | cut -f 1 -d ',' | grep SRR  > sraids.txt
 cat sraids.txt | awk ' { print "prefetch " $1  "  &"} ' > get-data.sh
 bash get-data.sh 
 cat sraids.txt | awk ' { print "fastq-dump --split-3  -O sra " $1 } ' > split-data.sh
nohup bash split-data.sh &

你可能感兴趣的:(如何用Linux从NCBI批量下载数据)