Skip to main content

Penn Labs example description

Project description

Bio Partitioner Docker Image CI

Install

For User

  1. pip install biopartitioner
  2. Demo Code:
from biopartitioner.factory import PartitionerFactory
partitioner_caller = PartitionerFactory.create_partitioner("vcf")
dataset = "fixtures/scaffold.vcf"
vcf_partioner = partitioner_caller(dataset=dataset, partition_num=8)
vcf_partioner.partition()
  1. You'll see vcf partition files at current folder.

For Developer

  1. Python dependencies:
    1. virtualenv venv; . venv/bin/activate
    2. pip install poetry
    3. poetry install
  2. Npm dependencies, for linter, formatter and commit linter (optional):
    1. brew install npm
    2. npm ci

Run

  1. npm run test
  2. You'll see 10 vcf partition files at your folder

Test

  1. test: npm run test
  2. Run all linter before commitment would save some effort: npm run check

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

biopartitioner-0.1.12.tar.gz (3.3 kB view hashes)

Uploaded Source

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