Skip to main content

No project description provided

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.14.tar.gz (3.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page