001、生成基因名称的列表
awk -F "\t" '$3 == "gene" && $NF ~ /gene=/ {print $NF}' chr1.gff | sed 's/\(.*\)\(gene=[^;]\+\)\(.*\)/\2/' | sort | uniq > gene.list
002、
标签:shell,基因,NF,Linux,gene,gff From: https://www.cnblogs.com/liujiaxin2018/p/17407086.html
001、生成基因名称的列表
awk -F "\t" '$3 == "gene" && $NF ~ /gene=/ {print $NF}' chr1.gff | sed 's/\(.*\)\(gene=[^;]\+\)\(.*\)/\2/' | sort | uniq > gene.list
002、
标签:shell,基因,NF,Linux,gene,gff From: https://www.cnblogs.com/liujiaxin2018/p/17407086.html