3.1.1.2.1.6. etfl.core.genes¶
ME-related Reaction subclasses and methods definition
3.1.1.2.1.6.1. Module Contents¶
3.1.1.2.1.6.1.1. Classes¶
|
This calss represents the genes that can be transcribed |
|
This calss represents the genes that can be translated into protein |
3.1.1.2.1.6.1.2. Functions¶
|
seq_type must be an instance of DNAAphabet(), RNAAlphabet, or ProteinAlphabet |
- ETFL.make_sequence(sequence)¶
seq_type must be an instance of DNAAphabet(), RNAAlphabet, or ProteinAlphabet :param sequence: :param seq_type: :return:
- class ETFL.ExpressedGene(id, name, sequence, copy_number=1, transcribed_by=None, min_tcpt_activity=0, *args, **kwargs)¶
Bases:
cobra.GeneThis calss represents the genes that can be transcribed
- property copy_number(self)¶
- property transcribed_by(self)¶
- property rna(self)¶
- property min_tcpt_activity(self)¶
- class ETFL.CodingGene(id, name, sequence, min_tnsl_activity=0, translated_by=None, *args, **kwargs)¶
Bases:
ExpressedGeneThis calss represents the genes that can be translated into protein
- property translated_by(self)¶
- property peptide(self)¶
- property min_tnsl_activity(self)¶
- static from_gene(gene, sequence)¶
This method clones a cobra.Gene object into an CodingGene, and attaches a sequence to it
- Parameters
gene (cobra.Gene) – the gene to reproduce
sequence – a string-like dna sequence
- Returns
an CodingGene object