Skip to main content

BioNexus

Setting up database

  1. Copy .env.example -> .env and adjust

  2. Start Postgres + Adminer:

    docker-compose up -d db adminer
    

    Adminer available at http://localhost:8080 (server: db, user: bionexus, db: bionexus)

  3. (Optional) Create local env using conda:

    conda create -n bionexus python=3.10
    conda activate bionexus
    pip install -e .[dev]
    
  4. Create/upgrade schema:

    bionexus upgrade head
    
  5. Load data:

    RetroMol and BioCracker results can be loaded with the load command. For more information, run:

    bionexus load --help
    

    Examples of scripts that extract annotations and references from RetroMol and BioCracker can be found in the scripts/ folder.

  6. Dump for deployoment:

    Make sure the database is running in Docker, then:

    bionexus dump --out ~/Downloads/dumps/bionexus_$(date +%Y%m%d).dump
    

Metadata

Release files for bionexus 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bionexus 0.1.0
File Size Uploaded
bionexus-0.1.0.tar.gz 21.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bionexus 0.1.0
File Interpreter ABI Platform
bionexus-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 36.5 kB

Release files / bionexus-0.1.0.tar.gz

Download URL bionexus-0.1.0.tar.gz
Size 21.9 kB
Tags Source
SHA-256 checksum
How to use checksums
037eedc3523d14cece648e0d5c7db1f4f7629b240ade7521dc0623252f42d403
BLAKE2b-256 checksum
How to use checksums
21a2a4fdbba13bfdb32080ffcf745932b85c497fc8c967f88bd0f66493f12fce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release files / bionexus-0.1.0-py3-none-any.whl

Download URL bionexus-0.1.0-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0f185141a8251f1a3ddc39cc72ed658e273e5ab5b453f40e252561b8add9e6e
BLAKE2b-256 checksum
How to use checksums
f9693498de52aa85f624cd0f23f79855b6dbbe6ea49685498ba92020160d8f62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page