扩增子分析流程

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
ea=/public/home/sk_ljh/ljh/software/EasyAmplicon 
wd=/public/home/sk_ljh/ljh/software/EasyAmplicon/data
cd $wd
wget -c http://210.75.224.110/github/EasyAmplicon/data/metadata.txt
head -n2 metadata.txt
mkdir -p seq
awk '{system("wget -c ftp://download.big.ac.cn/gsa/"$5"/"$6"/"$6"_f1.fq.gz -O seq/"$1"_1.fq.gz")}' \
<(tail -n+2 metadata.txt)
awk '{system("wget -c ftp://download.big.ac.cn/gsa/"$5"/"$6"/"$6"_r2.fq.gz -O seq/"$1"_2.fq.gz")}' \
<(tail -n+2 metadata.txt)
ls -sh seq
mkdir -p temp result