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.48.tar.gz
(67.4 kB
view details)
Built Distribution
File details
Details for the file biobricks-0.1.48.tar.gz
.
File metadata
- Download URL: biobricks-0.1.48.tar.gz
- Upload date:
- Size: 67.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4a8acccb1a807ff8c185ad4f186740c406e70c4eca2046c672f0873f695ece2 |
|
MD5 | 86faf323292418b7324ca3e138cbac40 |
|
BLAKE2b-256 | a326144f679c72bbc88f4d049a57b8d982637449d31db3356171ac57fac63308 |
File details
Details for the file biobricks-0.1.48-py3-none-any.whl
.
File metadata
- Download URL: biobricks-0.1.48-py3-none-any.whl
- Upload date:
- Size: 13.5 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 | 2b0e89eff89692944e4c3a2709d8cfd30c06d08de1a350666d705175e4c11a4f |
|
MD5 | 08631a932d59b284be386a58717b2d52 |
|
BLAKE2b-256 | c1d49606ed65a5c3b7df7095c599f4f27a065b8f8ebf8207c8f5cc6670a3947d |