shell11

作者: rong酱 | 来源:发表于2021-06-09 00:43 被阅读0次
content = $1
for i in `ls -d *`
do
    echo -e "zcat "$i"_S1_L1_R2_001.fastq.gz >"$i"_S1_L1_R2_001.fastq" >./$i/$i.sh
    echo -e "python train.py "$i"_S1_L1_R2_001.fastq outfile.txt " ${content}>>./$i/$i.sh
done
ls ./*/*sh | grep -v run | awk -F "/" '{print "cd "$2 " && qsub -V -cwd -q  -l vf=4g "$3" && cd .."}' | sh

相关文章

网友评论

      本文标题:shell11

      本文链接:https://www.haomeiwen.com/subject/eeyseltx.html