ecoli.processes.listeners.RNA_counts
RNA Counts Listener
- class ecoli.processes.listeners.RNA_counts.RNACounts(parameters=None)[source]
Bases:
Step- Listener for the counts of each mRNA and rRNA transcription units and
cistrons. Includes the counts of both partial and full transcripts.
mRNA counts include only mRNAs that have not been targeted for degradation. mRNAs that are being degraded in the 5’ to 3’ direction (see
directional_mrna_decayinLoadSimData) are counted separately indecaying_mRNA_counts. Cistron counts are calculated from transcription unit counts, so all cistrons of a partial transcript are counted.available_mRNA_cistron_countsinstead counts only the cistrons that can bind new ribosomes: cistrons that have been transcribed and have not been passed by the degradation front.- _count_available_cistrons(TU_indexes, transcript_lengths, decay_front)[source]
Counts the cistrons on a set of mRNAs that have been transcribed and have not been passed by the degradation front.
- Parameters:
TU_indexes – TU index of each mRNA
transcript_lengths – Current length of each mRNA
decay_front – Position of the degradation front of each mRNA (-1 for mRNAs that are not being degraded)
- Returns:
Counts of each cistron
- defaults: Dict[str, Any] = {'cistron_start_end_pos_in_tu': {}, 'directional_mrna_decay': False, 'emit_unique': False, 'mrna_indexes': [], 'rna_ids': [], 'time_step': 1}
- name = 'RNA_counts_listener'
- topology = {'RNAs': ('unique', 'RNA'), 'global_time': ('global_time',), 'listeners': ('listeners',), 'timestep': ('timestep',)}