Skip to main content

Biobricks automates bioinformatics data.

Project description

BioBricks

codecov Lifecycle: experimental

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)

Uploaded Source

Built Distribution

biobricks-0.1.61-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

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

Hashes for biobricks-0.1.61.tar.gz
Algorithm Hash digest
SHA256 a0e870a5ed19a5733cada332d29d5eb1233c376411dc27d1cf595828ad9da99f
MD5 df1adbf7deab790a7fe7cf9588ad775d
BLAKE2b-256 f53cfb72848c301598494a6eac9a4622330f7960b4420dc5388a39fcd604292a

See more details on using hashes here.

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

Hashes for biobricks-0.1.61-py3-none-any.whl
Algorithm Hash digest
SHA256 168438eb27e54f6883617769ecee151bc75576b203f6f292d1d29e9975a938bc
MD5 773b4f0ccbc7d33ce4f7745d70950b22
BLAKE2b-256 3c0c01341d8d6e35ce9eeeda1515185050d2df89ae8f3bd48d337e8b12eb1a0a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page