CodonU.extractor.internal_comp

Module Contents

Functions

extract_cds_seq(→ Bio.Seq.Seq)

Extracts the CDS from a given sequence

extract_prot_seq(→ Bio.Seq.Seq)

Returns the protein sequence reported in the report for the provided cds

CodonU.extractor.internal_comp.extract_cds_seq(seq: Bio.Seq.Seq, feature_location: Bio.SeqFeature.FeatureLocation) Bio.Seq.Seq

Extracts the CDS from a given sequence

Parameters:
  • seq – Sequence

  • feature_location – Feature location

Returns:

The extracted feature

CodonU.extractor.internal_comp.extract_prot_seq(feature: Bio.SeqFeature.SeqFeature) Bio.Seq.Seq

Returns the protein sequence reported in the report for the provided cds

Parameters:

feature – The CDS

Returns:

The protein sequence