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.56.tar.gz
(14.5 kB
view details)
Built Distribution
File details
Details for the file biobricks-0.1.56.tar.gz
.
File metadata
- Download URL: biobricks-0.1.56.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 854a1deb39022e442aa73b10bd5bba63332ba9262fe5535eab6eb5f43477ab3a |
|
MD5 | 95dca370f336829c04cdfb2824cb95d2 |
|
BLAKE2b-256 | 98f6b54d520bc2c1c9fcc7f324acacb5e43d2121d638d24f2b5c7e529cfce740 |
File details
Details for the file biobricks-0.1.56-py3-none-any.whl
.
File metadata
- Download URL: biobricks-0.1.56-py3-none-any.whl
- Upload date:
- Size: 13.7 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 | 9755a6d6bb2bcec5989464b58c6a48d2ec8cd02e2472e59961940a2d69edc4f7 |
|
MD5 | 6da52ee6a75ea3a34e554ea48bbeea72 |
|
BLAKE2b-256 | 99cedb7431a1e488d5ee974c3c33915a1f0ef5c91839863681ac3e0d599ec80a |