No project description provided
Project description
Bio Partitioner
Install
For User
pip install biopartitioner
- 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()
- You'll see vcf partition files at current folder.
For Developer
- Python dependencies:
virtualenv venv; . venv/bin/activate
pip install poetry
poetry install
- Npm dependencies, for linter, formatter and commit linter (optional):
brew install npm
npm ci
Run
npm run test
- You'll see 10 vcf partition files at your folder
Test
- test:
npm run test
- Run all linter before commitment would save some effort:
npm run check
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
biopartitioner-0.1.14.tar.gz
(3.2 kB
view hashes)