biopax2cabiom is a script to transform a BioPAX RDF data from a triplestore to a CADBIOM model.

usage: biopax2cabiom [-h] [-vv [VERBOSE]] {tests,model} ...

Named Arguments

-vv, --verbose Default: “info”



Translates BioPAX test cases to cadbiom models and compares
them with the cadbiom model reference (if it exists).
biopax2cabiom tests [-h]


Make CADBIOM model with BioPAX data obtained from a triplestore.

biopax2cabiom model [-h] --listOfGraphUri LISTOFGRAPHURI [LISTOFGRAPHURI ...]
                    [--triplestore [TRIPLESTORE]] [--pickleBackup]
                    [--pickleDir [PICKLEDIR]] [--cadbiomFile [CADBIOMFILE]]
                    [--convertFullGraph] [--fullCompartmentsNames]
                    [--no_scc_fix] [--blacklist [BLACKLIST]]

Named Arguments

 List of RDF graph to be queried on the triplestore.

URL of the triplestore.

Default: “


Allows to save/reuse the results of SPARQL queries.The goal is to save querying time during tests with same inputs.

Default: False


Output file path to save the script variables.

Default: “/tmp/backupPickle/backup.p”


Output file path to generate the Cadbiom model.2 models are created: A basic model and a model without strongly connected components that block CADBIOM solver.

Default: “output/model.bcx”


Converts all entities to cadbiom nodes, even the entities not used.

Default: False


If set, compartments will be encoded on the base of their real names instead of numeric values.

Default: False


If set, strongly connected components will NOT be fixed in a second model file.

Default: False

--blacklist If set, the entities in the given file will bebanished from conditions of transitions (ex: cofactors or entities of energy metabolism)