oschwengers / bakta

Rapid & standardized annotation of bacterial genomes, MAGs & plasmids
GNU General Public License v3.0
448 stars 55 forks source link

Wrong truncation labeling of partial CDS which are truncated at both sides #341

Closed oschwengers closed 2 weeks ago

oschwengers commented 2 weeks ago

CDS that are truncated at both sides are wrongly labeled either as 5'-truncated or 3'-truncated due to a false if/else clause catching cases of 5' or 3' too early.

https://github.com/oschwengers/bakta/blob/b2b22230aab9cb851fd69348592ca836d038bd53/bakta/features/cds.py#L117.