SBtab: a Table format for Systems Biology
Python code and example files by Timo Lubitz, Elad Noor, Jens Hahn, Frank Bergmann (2018).
Data tables in the form of spreadsheets or delimited text files are the most common data format in Systems Biology. However, they are often not sufficiently structured and lack clear naming conventions that would be required for modeling. We propose the SBtab format as an attempt to establish an easy-to-use table format that is both flexible and clearly structured. It comprises defined table types for different kinds of data; syntax rules for usage of names, shortnames, and database identifiers used for annotation; and standardized formulae for reaction stoichiometries. Predefined table types can be used to define biochemical network models and the biochemical constants therein. The users can also define their own table types, adjusting SBtab to other types of data.
The SBtab specification can be found on the SBtab homepage. The homepage also provides various information on example files, frequently asked questions, online tools, and tutorials.
Software tools
SBtab comes along with software tools which can be employed in three different ways:
-
SBtab online
A serverless validator that runs
sbtabpydirectly in your browser (via Pyodide) is available at eladnoor.gitlab.io/SBtab. It is published to GitLab Pages fromweb/on every push tomaster.You can also use the software tools that come with SBtab in the convenient online interface:
-
Python package (i.e., pip installer)
The tools can be employed as a Python package. It needs to be installed via pypi. Please type on your commandline:
pip install sbtabpy
Note: the package installs as
sbtabpybut is imported assbtab(the import name was kept for backward compatibility).Reading, writing and validating SBtab tables needs nothing but the Python standard library, so that the package also works in restricted environments such as Pyodide/WebAssembly. The remaining features are available through extras:
Extra Installs Needed for sbmlpython-libsbml,numpysbml2sbtab,sbtab2sbmland the corresponding CLI commandsxlsxopenpyxlreading and writing .xlsxfilespandaspandasSBtabTable.to_data_frame()allall of the above pip install 'sbtabpy[all]'
Using a feature without its extra raises an
ImportErrornaming the extra to install.You will then be able to import the SBtab library into your Python modules by adding
import sbtabto them. See the code examples in this repository's directory
/examples. -
From the commandline (for experienced users)
You can employ the SBtab commandline tools from the directory
SBtab/python. To use this option, you will have to install the required packages on your own and put the Python modules to their according directory. Details on the usage of the commandline tools you can find in the directorySBtab/python.
Repository contents
The SBtab repository consists of the following directories and contents:
-
Source Code
/src- Source scripts and commandline Python modules, including a file and object validator, and a converter to and from SBML.
- SQLite interface: Python interface for querying SQLite databases via SBtab.
-
Unit Tests
/testsSome tests to ensure the correctness and functionality of the SBtab package.
-
Definition Table
/definitions_tableDefault definitions of predefined SBtab table types.
-
Example Files
/examplesExample SBtab files. These files can also be found including explanatory words in the online SBtab Download Section
-
API documentation
/api_documentationHTML pydoc documentation of the SBtab interface and source code.
Metadata
Release files for sbtabpy 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sbtabpy-1.1.0.tar.gz | 62.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sbtabpy-1.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 121.5 kB
Release files / sbtabpy-1.1.0.tar.gz
| Download URL | sbtabpy-1.1.0.tar.gz |
|---|---|
| Size | 62.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c924606166439494034cc7088ccab04c0530b204c27a355368c7dcc8fca2f566
|
|
BLAKE2b-256 checksum How to use checksums |
89d02faf4fd04cfd9634f3337a73b510d3db7da46c064e286eb7a31f556600a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / sbtabpy-1.1.0-py2.py3-none-any.whl
| Download URL | sbtabpy-1.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 58.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
3e30ed5997ea575a249677933200a6a1e23cc103a138444582c989a587b8cfb4
|
|
BLAKE2b-256 checksum How to use checksums |
be2c64472565d82148aa8eaf73fe3a6872e495f73bb14e0a1f990359a3f63494
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|