freescience

lne是perl的参数,效果是:
perl接收你的键盘输入(用后面的代码)处理后,输出一个换行,然后等待接收下一个输入
perl -lne \'$id=substr($_,0,6);print "axel ftp://ftp-trace.ncbi.nih.gov/sra/sra-instant/reads/ByRun/sra/SRR/$id/$_/$_.sra"\' SRR_Acc_List.txt > sra_down.sh
bash sra_down.sh
ls *.sra|while read id;do(fastq-dump --split-3 $id);done
chmod u-w *

分类:

技术点:

相关文章:

  • 2021-05-02
  • 2022-12-23
  • 2021-12-05
  • 2022-01-15
  • 2021-06-07
  • 2021-10-16
  • 2022-01-18
猜你喜欢
  • 2022-12-23
  • 2021-12-05
  • 2021-12-05
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案