minspan

UNKNOWN


License
MIT
Install
pip install minspan==0.1.0

Documentation

minspan

This project calculates the minimal spanning vectors of the null space.

It is written in python, and requires cobrapy with a suitable solver, such as

To calculate minspan, load a model and run the minspan function.

from cobra.io import load_matlab_model
from minspan import minspan, nnz
model = load_matlab_model("testing_models.mat", "ecoli_core")
solved_fluxes = minspan(model, cores=1, verbose=True)
print "nnz", nnz(solved_fluxes)

Documentation for the arguments to the minspan function are containted in the docstring.