- recipe cobra
COBRApy is a package for constraint-based modeling of biological networks.
- Homepage:
- License:
GNU Lesser General Public License v2 or later (LGPLv2+) or GNU General Public License v2 or later (GPLv2+)
- Recipe:
- package cobra¶
-
- Versions:
0.21.0-1,0.21.0-0,0.20.0-0,0.19.0-0,0.18.1-1,0.18.1-0,0.17.1-0,0.17.0-0,0.16.0-0,0.21.0-1,0.21.0-0,0.20.0-0,0.19.0-0,0.18.1-1,0.18.1-0,0.17.1-0,0.17.0-0,0.16.0-0,0.15.4-0,0.10.1-1,0.10.1-0,0.4.0-1,0.4.0-0,0.4.0b6-0- Depends:
on appdirs
>=1.4on depinfo
>=1.5.1on diskcache
>=5.0on future
on httpx
>=0.14on numpy
>=1.13on optlang
<1.4.6on pandas
>=1.0on pydantic
>=1.6on python
on python-libsbml
>=5.18.0on rich
>=6.0on ruamel.yaml
>=0.16on six
on swiglpk
>=4.65on tabulate
- Additional platforms:
Installation¶
You need a conda-compatible package manager (currently either pixi, conda, or micromamba) and the Bioconda channel already activated (see Usage). Below, we show how to install with either pixi or conda (for micromamba and mamba, commands are essentially the same as with conda).
Pixi¶
With pixi installed and the Bioconda channel set up (see Usage), to install globally, run:
pixi global install cobra
to add into an existing workspace instead, run:
pixi add cobra
In the latter case, make sure to first add bioconda and conda-forge to the channels considered by the workspace:
pixi workspace channel add conda-forge
pixi workspace channel add bioconda
Conda¶
With conda installed and the Bioconda channel set up (see Usage), to install into an existing and activated environment, run:
conda install cobra
Alternatively, to install into a new environment, run:
conda create -n envname cobra
with envname being the name of the desired environment.
Container¶
Alternatively, every Bioconda package is available as a container image for usage with your preferred container runtime. For e.g. docker, run:
docker pull quay.io/biocontainers/cobra:<tag>
(see cobra/tags for valid values for <tag>).
Integrated deployment¶
Finally, note that many scientific workflow management systems directly integrate both conda and container based software deployment. Thus, workflow steps can be often directly annotated to use the package, leading to automatic deployment by the respective workflow management system, thereby improving reproducibility and transparency. Check the documentation of your workflow management system to find out about the integration.
Download stats¶
Link to this page¶
Render an badge with the following MarkDown:
[](http://bioconda.github.io/recipes/cobra/README.html)