gpertea / gffcompare

classify, merge, tracking and annotation of GFF files by comparing to a reference annotation GFF
MIT License
198 stars 32 forks source link

--cds-match to force matching CDS in addition to exon. #91

Closed alevar closed 2 months ago

alevar commented 2 months ago

This fix introduces a new flag '--cds-match' which performs validation of CDS chains in addition to the exon chains. Current implementation only addresses CDS matching for '=' and '~' cases. This feature is intended for use with polycistronic transcripts and for comparing annotations with similar exon structures but differing ORFs.

The fix introduces two new classification codes ':' and '_' which replace '=' and '~' when no matching CDS is found. An appropriate fix is also issued to the gclib to support the two new codes.