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 use BioBricks you must configure the tool with a location for bricks and a token from biobricks.ai:

biobricks configure

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

Uploaded Source

Built Distribution

biobricks-0.1.44-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: biobricks-0.1.44.tar.gz
  • Upload date:
  • Size: 67.2 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.44.tar.gz
Algorithm Hash digest
SHA256 7cead0f2fb828f7b2da85b1245ebb7f18ede5e99648544c92c4ef10a2f8394c0
MD5 c3b878998e14d67a5899e83ee5522e9a
BLAKE2b-256 43e757e6ead96bf158cd5032192c44085ba702deb68fa52f08330be31f1da0f7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: biobricks-0.1.44-py3-none-any.whl
  • Upload date:
  • Size: 13.3 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.44-py3-none-any.whl
Algorithm Hash digest
SHA256 3325fb5d7f399d314b858c9df96dc390882dbec6547a10a6400578d02afbc27c
MD5 579d80f5bc063fd95fce2fb7685c3e6b
BLAKE2b-256 d92df1a368b8306a51d7d8a912cf819150c6672c2b3716db314a19c9ae46e9ef

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