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 biobricks.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:
import biobricks as bb
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.read().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.61.tar.gz
(14.4 kB
view details)
Built Distribution
File details
Details for the file biobricks-0.1.61.tar.gz
.
File metadata
- Download URL: biobricks-0.1.61.tar.gz
- Upload date:
- Size: 14.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 | a0e870a5ed19a5733cada332d29d5eb1233c376411dc27d1cf595828ad9da99f |
|
MD5 | df1adbf7deab790a7fe7cf9588ad775d |
|
BLAKE2b-256 | f53cfb72848c301598494a6eac9a4622330f7960b4420dc5388a39fcd604292a |
File details
Details for the file biobricks-0.1.61-py3-none-any.whl
.
File metadata
- Download URL: biobricks-0.1.61-py3-none-any.whl
- Upload date:
- Size: 14.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 | 168438eb27e54f6883617769ecee151bc75576b203f6f292d1d29e9975a938bc |
|
MD5 | 773b4f0ccbc7d33ce4f7745d70950b22 |
|
BLAKE2b-256 | 3c0c01341d8d6e35ce9eeeda1515185050d2df89ae8f3bd48d337e8b12eb1a0a |