fix_truncation#
- classmethod Transcript.fix_truncation(transcript)[source]#
Fixes CDS start and stop positions to be within coding frame.
- Parameters:
transcript (
Transcript) – a transcript to fix.- Return type:
- Returns:
New transcript with set start/stop codons and fixed CDS if the total length of CDS is > 6. Returns a copy of original transcript otherwise.