001、
[root@pc1 test3]# ls GCF_000001405.40_GRCh38.p14_genomic.gff [root@pc1 test3]# awk '$3 == "gene" {split($9, a, ";"); for(i in a) {split(a[i], b, "="); if(++c[b[1]] == 1) print b[1]}}' GCF_000001405.40_GRCh38.p14_genomic.gff description ID Dbxref Name gbkey gene gene_biotype gene_synonym partial start_range end_range
标签:test3,GCF,基因组,linux,genomic,gene,gff From: https://www.cnblogs.com/liujiaxin2018/p/16858725.html