This package contains some useful functions to assess habitability of Chemostat-like environments to energy-limited microbes.
Project description
HaThOr
Habitable TheOry
Install
pip install HabitabilityTheOry
Import
import HaThOr
Rationale and goals
Here, we use habitable theory to build a tool to assess habitability at a large spectrum
We have a model frame for growth:
$ k_g = A \lambda \tau e^{-\frac{\Delta G_{ac}}{RT}} - A e^{-\frac{\Delta G_{am}}{RT}} $
where
- $k_g$ is the specific growth rate (s$^{-1}$)
- $A$ pre-exponential factor (s$^{-1}$)
- $\lambda = - \Delta_rG_c/E_{ana}$ the catabolic yield
- $\tau$ active biomass fraction (mol enzyme per mole biomass)
- $\Delta G_{ac}$ activation gibbs free energy of the catabolic reaction (J/mol)
- $\Delta G_{am}$ activation gibbs free energy of the maintenance reaction (J/mol)
- $R=8.314$ (J/(K mol)) is the perfect gas constant
- $T$ absolute temperature (K)
Some of these parameters can be estimated from growth curves (see Guyot and Affholder in prep).
Structure of the package HaThOr:
- chem_helper contains some helper functions and stoichiometric data for some organisms
- Metabolisms contains the classes metabolism and organism that are designed to build objects representing a functional type with a given metabolism and a given set of parameters
- Chemostat contains the chemostat class, used to define an environment and calculate biomass etc.
Example
import HaThOr.chem_helper as chem
import HaThOr.Metabolisms as mtb
mgis = chem.Reaction(**chem.hydrogenotrophy_dat) # The reaction for methanogenesis
HMG = mtb.Metabolism(reaction=mgis)
parameters = {'tau': 8.8e-3,'A': 5e13,'DGac': 72421.0,'DGam': 92626.0,'d':0.005}
FT_HMG = mtb.Organism(metabolism=HMG,**parameters)
# Get the limit viability Gibbs free energy at pH=7 and T=320
FT_HMG.DeltaGstar(320,pH=7.0)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file HabitabilityTheOry-0.0.4.tar.gz.
File metadata
- Download URL: HabitabilityTheOry-0.0.4.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a1fb45eac34616786134957339611ac444a25c95b59c5435d42d1ecef440156
|
|
| MD5 |
30b1af1f54a72284e05019f775336b45
|
|
| BLAKE2b-256 |
ab4e005526e7f239903b5059a5c4682088d6ca8f609f9a9ad50de02117d28098
|
File details
Details for the file HabitabilityTheOry-0.0.4-py3-none-any.whl.
File metadata
- Download URL: HabitabilityTheOry-0.0.4-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
540ab24c573fb93211c3433453e21d251e383acbd0d89ed5267f6497f40e6ade
|
|
| MD5 |
55ccfacf0f10ec434246591d86810aef
|
|
| BLAKE2b-256 |
a4022712c30970ee12070938404224d1d099a99b0744ff29bbe13a1e44ea064f
|