3.1.1.3. h1_hesc.model_gen package¶
3.1.1.3.1. Submodules¶
3.1.1.3.2. h1_hesc.model_gen.complexation_option module¶
Option generator for the H1 complexation submodel :Author: Yin Hoon Chew <yinhoon.chew@mssm.edu> :Date: 2019-08-14 :Copyright: 2019, Karr Lab :License: MIT
-
class
h1_hesc.model_gen.complexation_option.
ComplexationOptionGenerator
(knowledge_base, component_options, options=None)[source]¶ Bases:
h1_hesc.model_gen.core.SubmodelOptionComponentGenerator
Create options for the H1 complexation submodel
- Options:
selenoproteome_path (
str
): path to list of genes that produce selenoproteins
3.1.1.3.3. h1_hesc.model_gen.core module¶
Generator for the model
- Author
Yin Hoon Chew <yinhoon.chew@mssm.edu>
- Date
2019-06-06
- Copyright
2019, Karr Lab
- License
MIT
-
class
h1_hesc.model_gen.core.
H1ModelGenerator
(knowledge_base, component_generators=None, options=None)[source]¶ Bases:
wc_model_gen.eukaryote.core.EukaryoteModelGenerator
Generator for the H1 model
Options: * id * name * version * component
-
class
h1_hesc.model_gen.core.
OptionComponentGenerator
(knowledge_base, component_options, options=None)[source]¶ Bases:
object
Base class for option component generators
-
class
h1_hesc.model_gen.core.
OptionGenerator
(knowledge_base, option_generators=None, options=None)[source]¶ Bases:
object
Generator for the options for each submodel generator in the H1 whole-cell model
-
option_generators
[source]¶ option component generators
- Type
list
ofOptionComponentGenerator
, optional
-
-
class
h1_hesc.model_gen.core.
SubmodelOptionComponentGenerator
(knowledge_base, component_options, options=None)[source]¶ Bases:
h1_hesc.model_gen.core.OptionComponentGenerator
Base class for submodel option generators
3.1.1.3.4. h1_hesc.model_gen.initialize_model_option module¶
Option generator for the H1 model initialization
- Author
Yin Hoon Chew <yinhoon.chew@mssm.edu>
- Date
2019-08-19
- Copyright
2019, Karr Lab
- License
MIT
-
class
h1_hesc.model_gen.initialize_model_option.
InitializeModelOptionGenerator
(knowledge_base, component_options, options=None)[source]¶ Bases:
h1_hesc.model_gen.core.SubmodelOptionComponentGenerator
Create options for the H1 transcription submodel
- Options:
media_path (
str
): path to media composition- rrna_18S_seq_path (
str
, optional): path to sequence fasta file for representative 18S rRNA
- rrna_18S_seq_path (
- rrna_28S_seq_path (
str
, optional): path to sequence fasta file for representative 28S rRNA
- rrna_28S_seq_path (
selenoproteome_path (
str
): path to list of genes that produce selenoproteinsmetabolite_structure_path (
str
): path to metabolite structure
3.1.1.3.5. h1_hesc.model_gen.main module¶
Main for the generator for the model
- Author
Yin Hoon Chew <yinhoon.chew@mssm.edu>
- Date
2019-06-06
- Copyright
2019, Karr Lab
- License
MIT
-
h1_hesc.model_gen.main.
main
(model_core_path=None, kb_core_path=None, seq_path=None, media_path=None, read=False, check_reaction=True, submodel_option_generators=None, submodel_generators=None, test_model=None, test_mode=False)[source]¶ Generates a whole-cell model for H1 hESCs
- Parameters
model_core_path (
str
, optional) – path to read/write the modelkb_core_path (
str
, optional) – path to the knowledge baseseq_path (
str
, optional) – path to the genome sequencemedia_path (
str
, optional) – path to media compositionread (
bool
, optional) – if True, the model will be generated by deserializing a previously created excel spreadsheet given by the model_core_path, else, it will be generated by running the generator and serializing the output; default is Falsecheck_reaction (
bool
, optional) – if True, reaction will be checked and corrected for proton and charge balance during model generation; default is Truesubmodel_option_generators (
list
ofh1_hesc.model_gen.core.OptionGenerator
, optional) – list of submodel generators that will be runsubmodel_generators (
list
ofwc_model_gen.ModelComponentGenerator
, optional) – list of submodel generators that will be runtest_model (
wc_lang.core.Model
, optional) – Model object provided for test purpose onlytest_mode (
bool
, optional) – if True, a dfba objective function will be created at during initialization for test purpose; default is False
3.1.1.3.6. h1_hesc.model_gen.metabolism_option module¶
Option generator for the H1 metabolism submodel :Author: Yin Hoon Chew <yinhoon.chew@mssm.edu> :Date: 2020-02-10 :Copyright: 2019-2020, Karr Lab :License: MIT
-
class
h1_hesc.model_gen.metabolism_option.
MetabolismOptionGenerator
(knowledge_base, component_options, options=None)[source]¶ Bases:
h1_hesc.model_gen.core.SubmodelOptionComponentGenerator
Create options for the H1 metabolism submodel
- Options:
recycled_metabolites_path (
str
): path to consumption of small metabolitesmedia_fluxes_path (
str
): path to measured fluxes
3.1.1.3.7. h1_hesc.model_gen.protein_degradation_option module¶
Option generator for the H1 protein_degradation submodel :Author: Yin Hoon Chew <yinhoon.chew@mssm.edu> :Date: 2019-08-14 :Copyright: 2019, Karr Lab :License: MIT
-
class
h1_hesc.model_gen.protein_degradation_option.
ProteinDegradationOptionGenerator
(knowledge_base, component_options, options=None)[source]¶ Bases:
h1_hesc.model_gen.core.SubmodelOptionComponentGenerator
Create options for the H1 protein degradation submodel
- Options:
selenoproteome_path (
str
): path to list of genes that produce selenoproteins
3.1.1.3.8. h1_hesc.model_gen.rna_degradation_option module¶
Option generator for the H1 rna degradation submodel :Author: Yin Hoon Chew <yinhoon.chew@mssm.edu> :Date: 2019-06-13 :Copyright: 2019, Karr Lab :License: MIT
-
class
h1_hesc.model_gen.rna_degradation_option.
RnaDegradationOptionGenerator
(knowledge_base, component_options, options=None)[source]¶ Bases:
h1_hesc.model_gen.core.SubmodelOptionComponentGenerator
Create options for the H1 rna degradation submodel
3.1.1.3.9. h1_hesc.model_gen.transcription_option module¶
Option generator for the H1 transcription submodel
- Author
Yin Hoon Chew <yinhoon.chew@mssm.edu>
- Date
2019-06-07
- Copyright
2019, Karr Lab
- License
MIT
-
class
h1_hesc.model_gen.transcription_option.
TranscriptionOptionGenerator
(knowledge_base, component_options, options=None)[source]¶ Bases:
h1_hesc.model_gen.core.SubmodelOptionComponentGenerator
Create options for the H1 transcription submodel
3.1.1.3.10. h1_hesc.model_gen.translation_translocation_option module¶
Option generator for the H1 translation_translocation submodel :Author: Yin Hoon Chew <yinhoon.chew@mssm.edu> :Date: 2019-12-12 :Copyright: 2019, Karr Lab :License: MIT
-
class
h1_hesc.model_gen.translation_translocation_option.
TranslationTranslocationOptionGenerator
(knowledge_base, component_options, options=None)[source]¶ Bases:
h1_hesc.model_gen.core.SubmodelOptionComponentGenerator
Create options for the H1 translation-translocation submodel
Options: * polysome_profile_path (
str
): path to polysome profiling data * selenoproteome_path (str
): path to list of genes that produce selenoproteins-
get_data
()[source]¶ Get polysome profiling data and list of selenoprotein gene IDs for component options
-
process_data
()[source]¶ Process polysome profile data
The total number of ribosomes that are attached to each translating gene is estimated by multiplying the read (TPM) for each polysome fraction by the number of ribosomes in that fraction, which is taken as 3 for the low polysome fraction (that contains 2-4 ribosomes) and 7 in the high polysome fraction (that contains 5 to 8+ ribosomes)(Floor and Doudna, eLife 2016).
The fraction of ribosomes attached to each translating gene is then estimated by normalizing the above, assuming that 0.8 of intracellular ribosomes (Bionumbers: 102344) are in the polysomes.
Because the data (Blair et al, 2017, doi: 10.1016/j.celrep.2017.10.095) was mapped to a different human reference genome, some gene IDs may not match. For genes in the KB where no match is found, if the total fraction from the matched genes is less than 0.8, the remaining fraction is distributed evenly among the unmatched genes. Otherwise, their fractions are set to zero.
-
3.1.1.3.11. Module contents¶
Reconstruction building API
- Author
Yin Hoon Chew <yinhoon.chew@mssm.edu>
- Date
2019-08-22
- Copyright
2019, Karr Lab
- License
MIT