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 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.46.tar.gz (67.4 kB view details)

Uploaded Source

Built Distribution

biobricks-0.1.46-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file biobricks-0.1.46.tar.gz.

File metadata

  • Download URL: biobricks-0.1.46.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

Hashes for biobricks-0.1.46.tar.gz
Algorithm Hash digest
SHA256 da803281ad8b7ec84e6e5b6cd6e7f365eb8b25fca3c340fa8db8ecaf46faf41c
MD5 678f54e30d05df9defaff92c7bb600ec
BLAKE2b-256 07f83d30b7ae018c10ea44e381422ae41ada635d116ab5dccece92ab666356a5

See more details on using hashes here.

File details

Details for the file biobricks-0.1.46-py3-none-any.whl.

File metadata

  • Download URL: biobricks-0.1.46-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

Hashes for biobricks-0.1.46-py3-none-any.whl
Algorithm Hash digest
SHA256 a06513ab634bee356d5638377d852d8e672ef7dd2eb0e913d221a9c997f2e0ac
MD5 aab31ed870051d24760eb14526790dc8
BLAKE2b-256 c1ddfec93990309f865011362a6f072903853dfd644796a2d51c9019dea2129c

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