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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: biobricks-0.1.60.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.60.tar.gz
Algorithm Hash digest
SHA256 b4499c86d0877038055fa9f86574d568713e0fef030c030361b3b6882fc554a7
MD5 e98a7214b3cfc14d139b2a8775bab086
BLAKE2b-256 c054668bd061609a20d946a01579692c00149b984170ca2f348d746d03094f72

See more details on using hashes here.

File details

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

File metadata

  • Download URL: biobricks-0.1.60-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.60-py3-none-any.whl
Algorithm Hash digest
SHA256 f73403a5e5eb3db186fa988b2ad0434133d4486e7694ad2d7f690a2f583f02b8
MD5 cbce7732f9568f9f9e64b60287edbbb9
BLAKE2b-256 94b4cd9b4a10ec5d966081c5c08cc6b9b756c07f5188c04c2511c7dce08add6d

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