CodonU.extractor.extract_prot

Module Contents

Functions

extract_prot(→ Bio.SeqRecord.SeqRecord)

Extracts protein sequences and return them for writing

CodonU.extractor.extract_prot.extract_prot(feature: Bio.SeqFeature.SeqFeature, organism_name: str) Bio.SeqRecord.SeqRecord

Extracts protein sequences and return them for writing

Parameters:
  • feature – The CDS

  • organism_name – Name of the organism

  • cds_no – Number of the CDS

Returns:

The protein sequence suitable for being written is fasta format