title: NCBI-GEO:SRA文件转FASTQ文件 tags: [] id: '1957' categories:
https://www.jianshu.com/p/8322e00a9f8a
https://zhuanlan.zhihu.com/p/353530857
https://github.com/rofl0r/proxychains-ng
prefetch
wget https://github.com/rofl0r/proxychains-ng/releases/download/v4.16/proxychains-ng-4.16.tar.xz
tar -xvf proxychains-ng-4.16.tar.xz
cd proxychains-ng-4.16
./configure --prefix=$HOME/dev/proxychains4 --sysconfdir=$HOME/etc
make && make install
make install-config
添加正确的代理
~/dev/xray/xray -c ~/etc/xui2.json &
~/dev/proxychains4/bin/proxychains4 -f ~/etc/proxychains.conf curl www.github.com
#!/bin/sh
#任务名
TASKN=GSE172205
#设置根目录
ROOTDIR=/home/jovyan/upload/zl_liu/sra/GSE172205
#设置CleanData存放目录
CLEAN=$ROOTDIR/$TASKN
mkdir $CLEAN
for file in `cat SRR_Acc_List.txt`
do
echo $file
mkdir $CLEAN/$file
cd $CLEAN/$file
fasterq-dump --split-3 $ROOTDIR/$file -e 16
pigz -p 16 *
done