Biobricks automates bioinformatics data.
Project description
BioBricks
BioBricks makes loading data from biological datasets easy.
pip install biobricks
initialize
To get started configure biobricks with a path for bricks and a biobricks.ai token:
biobricks configure
> Choose path to store bricks: <input a local path>
> Input a token from biobrick.ai/token: <this is your access token>
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.52.tar.gz
(68.3 kB
view details)
Built Distribution
File details
Details for the file biobricks-0.1.52.tar.gz
.
File metadata
- Download URL: biobricks-0.1.52.tar.gz
- Upload date:
- Size: 68.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53f436e148b225e246546cc5b2e6324be28b4ce2dfa3fec934b36018d1b41a64 |
|
MD5 | 4b1850ffed7ad42338f3b39bc0a9ce7a |
|
BLAKE2b-256 | 18680bafb4a392ff2c48bf198e85309f129a89ed7c39541b684fa8012d70a750 |
File details
Details for the file biobricks-0.1.52-py3-none-any.whl
.
File metadata
- Download URL: biobricks-0.1.52-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e552a35bb3c58b3c6e1bb76abb188737f55d93a0f6446a912d9cdaa29ff6c4f |
|
MD5 | ab0122c01be25f089089164c8c142355 |
|
BLAKE2b-256 | b99606bb09f6e8535032ae79d93bb7b7cf1e68d36a8cdc32a486c1c6ce864657 |