Biobricks automates bioinformatics data.
Project description
BioBricks
BioBricks makes loading data from biological datasets easy.
pip install biobricks
initialize
To use BioBricks you must configure the tool with a location for bricks and a token from biobricks.ai:
biobricks configure
Pull Bricks
To download a brick and save it locally in your library use bb.pull
. An example using the Tox21 dataset:
bb.install('tox21') # save the brick to the brick library and download it's resources
tox21 = bb.load('tox21') # load a SimpleNamespace with all the brick tables
# List the resources in the brick
for tablename in sorted(list(vars(tox21).keys())):
print(tablename)
tox21.tox21_ache_p4.to_pandas() # get a pyarrow Table and convert to pandas dataframe
To list the bricks currently available visit github.com/biobricks-ai
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
biobricks-0.1.45.tar.gz
(67.2 kB
view hashes)
Built Distribution
biobricks-0.1.45-py3-none-any.whl
(13.3 kB
view hashes)
Close
Hashes for biobricks-0.1.45-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3433a48026fdf259fceba626d8ccb071ac3421d76973b04fb5cca3ebbff96498 |
|
MD5 | 55ccaeda01498e103ed7c6b9be6793eb |
|
BLAKE2b-256 | 64b267713c11b5a8b06f8ec8f7c15e887881088596ecac7f2904c7b44a985d4a |