Small database to host synthesis-related files.
The synthesis inputs stored in SynthDB are usually created by the synthesis-workflows
package
and are usually meant to be used by the region-grower
package.
Use pip to install this package:
pip install synthdb
For some operations (e.g. create, update or delete operations), this package should be installed in editable mode:
git clone https://github.com/BlueBrain/synthdb.git
cd synthdb
pip install -e .
This package contains a set of configuration files for the synthesis codes and a small database that maps a given set of brain region, mtype and luigi configuration. It also provides several commands to manage the database and to create new sets of configuration files.
The commands are listed in the Command Line Interface page of the documentation.
If you use commands that modify the internal state you will probably want to commit the changes afterwards.
Here is an example of a variety of commands
mkvirtualenv demo_synthdb
mkdir /tmp/synthdb_demo
cd /tmp/synthdb_demo
git clone https://github.com/BlueBrain/synthdb.git
pip install -e ./synthdb
synthdb --help
synthdb morphology-release --help
synthdb synthesis-inputs --help
synthdb morphology-release list
synthdb morphology-release create a_new_rat_release --gpfs-path rat_release
synthdb morphology-release list
synthdb morphology-release list --with-pip-list
synthdb morphology-release remove a_new_rat_release
synthdb morphology-release list
synthdb synthesis-inputs list
synthdb synthesis-inputs list --mtype L6_TPC:A
synthdb synthesis-inputs validate
synthdb synthesis-inputs pull --species rat --brain-region sscx --mtype L6_TPC:A --luigi-config luigi_sscx --output-path synth_inputs
It is possible to refine the filter using any combination of the --brain-region
, --mtype
and --luigi-config
parameters.
synthdb synthesis-inputs pull --species rat --brain-region sscx --output-path synth_inputs_sscx --concatenate
Here all the distributions and parameters of the SSCx brain region are pulled in the tmd_parameters.json
and tmd_distributions.json
files.
It is possible to refine the filter using any combination of the species
, --brain-region
, --mtype
and --luigi-config
parameters.
synthdb synthesis-inputs create new_species new_region L6_TPC:A luigi_sscx --parameters-path tmd_parameters_luigi_sscx_sscx_L6_TPC:A.json --distributions-path tmd_distributions_luigi_sscx_sscx_L6_TPC:A.json
synthdb synthesis-inputs list --brain-region new_region
synthdb synthesis-inputs remove new_species new_region L6_TPC:A luigi_sscx
synthdb synthesis-inputs rebuild --species rat --brain-region sscx --mtype L6_TPC:A --luigi-config luigi_sscx
The development of this software was supported by funding to the Blue Brain Project, a research center of the École polytechnique fédérale de Lausanne (EPFL), from the Swiss government's ETH Board of the Swiss Federal Institutes of Technology.
For license and authors, see LICENSE.txt
and AUTHORS.md
respectively.
Copyright © 2022-2024 Blue Brain Project/EPFL