Talk:Gene density

Latest comment: 3 years ago by Arich7 in topic gene density table calculations

gene density table calculations edit

to calculate the number of genes a given species has, I used the species latest annotation gtf file from RefSeq for example here is the site for the vertebrate mammals https://ftp.ncbi.nih.gov/genomes/refseq/vertebrate_mammalian/ I downloaded the file and used the command zcat THEFILE.gtf.gz | awk '{a[$3]++}END{for(k in a){print k,a[k]}}' and then used the number of gene flags counted. Arich7 (talk) 19:36, 30 November 2020 (UTC)Reply