美文网首页
Write a makefile for a list comm

Write a makefile for a list comm

作者: zhoujj2013 | 来源:发表于2018-09-06 10:30 被阅读0次
    echo -n "all:" > makefile && ls *.rmdup.bam  | while read line; do echo -en "$(basename $line ".bam") ";done >> makefile && echo "" >>makefile;
    
    ls *.rmdup.bam  | while read line; do echo -e "$(basename $line ".bam"):\n\tcufflinks -o $(basename $line ".bam") -G /mnt/dfc_data1/zhoujj/data/lncfuntk_data/hg19/refGene.gtf -p 12 $line > $line.log 2>$line.log && touch $(basename $line ".bam").finished";done >> makefile;
    

    相关文章

      网友评论

          本文标题:Write a makefile for a list comm

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