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.49.tar.gz
(67.6 kB
view details)
Built Distribution
File details
Details for the file biobricks-0.1.49.tar.gz
.
File metadata
- Download URL: biobricks-0.1.49.tar.gz
- Upload date:
- Size: 67.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 361d7464d0681503e4f2dd6753f5ffa4625fc3724e4b0f0a30d04258cc89324f |
|
MD5 | 040f01567b133e8fcf6b58278d538d36 |
|
BLAKE2b-256 | f87efe3d45b2be84754276876e4ea0202c8b71fcfa7e28cf354a87cbb90ae59d |
File details
Details for the file biobricks-0.1.49-py3-none-any.whl
.
File metadata
- Download URL: biobricks-0.1.49-py3-none-any.whl
- Upload date:
- Size: 13.6 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 | 158a7ac6e72c586c1fade2a0d0cabb204cba8bd6a620e331271a86ad88e9b3e6 |
|
MD5 | 945770fb4de5cb18a68e6878e9a3c552 |
|
BLAKE2b-256 | 34cb162cc2289c86369dfce1e188f0f0cbb04b9f3bb586812402ef0f1f0c0184 |