从ENI数据库下载fastq文件

进入ENA Browser,搜索对应的GSE号,进入study项目,选择TSV格式的Download report

从TSV表格中提取下载链接,一行一个写入url.txt,前面加上ftp://,接着使用wget -c -i url.txt下载

来自科研小徐文章中的批量重命名脚本:

1
2
3
4
ls *.fastq.gzcut -d '_' -f 1while read i ;do (echo ${i}_1*.gz' will be moved to '${i}_S1_L001_R1_001.fastq.gz);done
ls *.fastq.gzcut -d '_' -f 1while read i ;do (echo ${i}_2*.gz' will be moved to '${i}_S1_L001_R2_001.fastq.gz);done

ls *.fastq.gzcut -d '_' -f 1while read i ;do (mv ${i}_1*.gz ${i}_S1_L001_R1_001.fastq.gz;mv ${i}_2*.gz ${i}_S1_L001_R2_001.fastq.gz);done

从ENI数据库下载fastq文件
https://occdn.limour.top/2349.html
Author
Limour
Posted on
September 25, 2022
Licensed under