8.1.1.6.1.4. skimpy.sampling.ga_flux_concentration_sampler

[———]

Copyright 2017 Laboratory of Computational Systems Biotechnology (LCSB), Ecole Polytechnique Federale de Lausanne (EPFL), Switzerland

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIE CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

8.1.1.6.1.4.1. Module Contents

8.1.1.6.1.4.1.1. Classes

ItterableSeries

GaFluxConcentrationSampler

This sampler performs an optimizaion

8.1.1.6.1.4.1.2. Functions

convex_mating(ind1, ind2, eta=0.5)

sample_parameters(kmodel, tmodel, individual, param_sampler, scaling_parameters, only_stable=True)

Run sampling on first order model

8.1.1.6.1.4.1.3. Attributes

model_gen

class skimpy.ItterableSeries(this_series)
__iter__(self)
skimpy.model_gen
class skimpy.GaFluxConcentrationSampler(parameters=None)

Bases: skimpy.sampling.flux_concentration_sampler.FluxConcentrationSampler

This sampler performs an optimizaion

Parameters
__defaults__
sample(self, tmodel, kmodel, simple_parameter_sampler, only_stable=True)
Parameters
  • compiled_model

  • flux_dict

  • concentration_dict

  • seed

  • max_generation

  • mutation_probability

  • eta

Returns

fitness(self, flux_concentration)
run_ea(self, toolbox, stats=None, verbose=False)
sample_tfa_model(self, n_samples)
Parameters
  • tmodel – pytfa.tmodel

  • n_samples – integer

Returns

TODO pd.DataFrame indexed with reaction names and metabolite concentrations

mutate_ind(self, ind)
skimpy.convex_mating(ind1, ind2, eta=0.5)
skimpy.sample_parameters(kmodel, tmodel, individual, param_sampler, scaling_parameters, only_stable=True)

Run sampling on first order model