http://08643.cn/p/5e25e8162cb5/
prefetch + fastq-dump
# 下载 默认下载路径为 ~/ncbi/public/sra
$ nohup prefetch `less SRR_Acc_List.txt` &
# 转为fastq
for i in ./*.sra;do fastq-dump --split-3 $i;done
cat SraRunTable.txt|sed -n '2,22p'|awk -F "," '{print $1"\t"$(NF-1)"\t"$NF"\t""stage"int((NR+3-1)/3)"_rep"(NR%3)}'|sed 's/rep0/rep3/g'
# 向上取整 (num+pre-1)/pre pre为除数
awk '{if(NR%4==1){print ">"substr($0,2)}}{if(NR%4==2){print}}' NIP-L-0-5H-1.fq
https://blog.csdn.net/u010608296/article/details/111251389
fastq-dump --gzip --split-files SRR11517408.sra