Count number of Genes in GFF3 file (Prokka output)
Hello .
please i have run prokka on eight strains and i have eight GFF files , i want to count number of genes in each GFF file , please tell me how to do that
Thank you
• 2,684 views
•
link
2 answers
Prokka outputs a very detailed log, it will be the ${prefix}.log file in the output folder. E..g:
grep "Found" ~/projects/annotation/prokka/ngs56.log
[15:23:01] Found 51 tRNAs [15:23:15] Found 7 rRNAs [15:25:16] Found 47 ncRNAs. [15:25:56] Found 3 CRISPRs [15:26:10] Found 2049 CDS [15:26:59] Found 892 unique /gene codes.
• 0 views
•
link
Log in to answer this question.
If your GFF3 files are in proper format you could count occurrences of
genein field 3 in your files.Thank you for your answer but i think that gene is repeated more than one time for one gene , is like that
Those appear to be separate genes.