Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LCSB-BioCore
SBML.jl
Commits
0b807550
Commit
0b807550
authored
Jan 28, 2021
by
Miroslav Kratochvil
Browse files
remove the boring binarybuilder discussion from README, replace with something useful
parent
e47a5371
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
0b807550
...
...
@@ -5,32 +5,6 @@ This is a simple wrap of some of the libSBML functionality.
Current status is "under development", something works, more wrapped stuff will
be added by need.
## How to use this
First, build the C++ library and a wrapper and register it in your julia
installation. You need BinaryBuilder for that:
```
Pkg] add BinaryBuilder
```
After the BinaryBuilder is installed, the build script should be able to build
a lot of different versions of the package for possible architectures and
configurations. You usually want to specify a single architecture to build. The
`--deploy`
option puts the new package to a place where Julia can find it
later:
```
./build_tarballs.jl x86_64-linux-gnu --deploy=local
```
After that, you should be able to load the SBML package in Julia:
```
Pkg] dev --local .
julia> using SBML
julia> getLibSBMLDottedVersion()
"5.19.0"
```
## Usage
```
julia
...
...
@@ -43,3 +17,9 @@ m.species
m
.
compartments
...
```
There are several helper functions, for example you can get a nice list of reactions, metabolites and the stoichiometric matrix as follows:
```
julia
mets
,
rxns
,
S
=
getS
(
model
)
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment