CodonU.extractor.extract_cds

Module Contents

Functions

extract_cds(→ Bio.SeqRecord.SeqRecord)

Returns the CDS as a Sequence Record object

CodonU.extractor.extract_cds.extract_cds(record: Bio.SeqRecord.SeqRecord, cds_feature: Bio.SeqFeature.SeqFeature) Bio.SeqRecord.SeqRecord

Returns the CDS as a Sequence Record object

Parameters:
  • record – Original Sequence Record object from where the CDS is to be extracted

  • cds_feature – Sequence Feature object of corresponding SeqRecord object

Returns:

The new Sequence Record object containing the CDS