Package for loading data from bcf files
Project description
pybcf
This is a package for reading BCF files (binary call format). Similar to pysam/cyvcf2, but limited to reading from BCF files only, and oriented around getting genotype data into numpy arrays quickly.
'''py from pybcf import BcfReader
bcf = BcfReader(bcf_path)
for var in bcf: # the usual attributes are available e.g. # var.chrom, var.pos, var.ref, var.alts, var.info['AF']
# get genotypes as numpy array
genotypes = var.samples['GT'] # as numpy array, missing=-1
'''
Limitations
- can't fetch variants from random regions yet
- not extensively tested yet
- extracting info fields is slow at the moment
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pybcf-1.0.2.tar.gz.
File metadata
- Download URL: pybcf-1.0.2.tar.gz
- Upload date:
- Size: 533.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a9e373c7bfb20fc1088f1afb1af4c16e8f07003ffd7987cb13af56de8f5a277
|
|
| MD5 |
50ef67f072110b6702ed48a5d7d2abde
|
|
| BLAKE2b-256 |
78d3d48ae80b36d75a910e3edd3de1473c9ba79f354635bbef7b755f2bdac0ea
|
File details
Details for the file pybcf-1.0.2-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: pybcf-1.0.2-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 161.2 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffc663bb9ef58728e9e713dc962617aaa6f0c77efd31ec5e55099a88266b663c
|
|
| MD5 |
fa8bf35c344d3d1ff0f9f8233e6da03c
|
|
| BLAKE2b-256 |
26560375cc893ae4a8c59e48e6ac36606e57462f7951fab59b6e788371fb1082
|
File details
Details for the file pybcf-1.0.2-cp312-cp312-win32.whl.
File metadata
- Download URL: pybcf-1.0.2-cp312-cp312-win32.whl
- Upload date:
- Size: 140.0 kB
- Tags: CPython 3.12, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d690176af839838553b4657408e5182855a0e9429b1e631934428321af87118
|
|
| MD5 |
8af179f06da7f3f10bb7cdcfe8ba6b9e
|
|
| BLAKE2b-256 |
ad116f67ae6f3a04f7c0d361b35c8e86aafe2fcf07c5a10e58196d8f1395072d
|
File details
Details for the file pybcf-1.0.2-cp312-cp312-musllinux_1_1_x86_64.whl.
File metadata
- Download URL: pybcf-1.0.2-cp312-cp312-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.12, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8adc67ba3273ead2ac054c99666dba9e4b473958d7f5057e87e2e3024a926586
|
|
| MD5 |
8b1fd59be18b66aa5ed3fe6ac5c71643
|
|
| BLAKE2b-256 |
417c770732c13ec5c0d5581a1dbc70603c65f6d12795ecdfe62bcffb37bf854e
|
File details
Details for the file pybcf-1.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pybcf-1.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d035489616669b9148a39136ee4e1b7b354d68b964efc30d49563a2fb71d198c
|
|
| MD5 |
285cffd20aab006029c8ae119d35fad2
|
|
| BLAKE2b-256 |
057ed193001dc2deb00f0ee369c1ab37e962acc5eef6b42277d6e5943934a6aa
|
File details
Details for the file pybcf-1.0.2-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: pybcf-1.0.2-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 140.1 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
797ddf4844e32d289536ac0d3d09eed78c2efba6879597780e3ee3efe2b3d363
|
|
| MD5 |
bb7eef9097de5e0d77c2fcd2f00727e9
|
|
| BLAKE2b-256 |
f2e7bf9a4ce1f48def9ee246bf7fd72596ba3eb5535df9bf4dc45b4a938c0da4
|
File details
Details for the file pybcf-1.0.2-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: pybcf-1.0.2-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 161.1 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85100da7e59f28066264039dc8de00fc8066d97cff967ef885a05a0581bda65a
|
|
| MD5 |
1c874ce317cfb00a00e87f754a08079c
|
|
| BLAKE2b-256 |
f4d5a0b0c8e8729c7c9dbe45053fb5aa8ee213374b329c7491f6733f7704ecd9
|
File details
Details for the file pybcf-1.0.2-cp311-cp311-win32.whl.
File metadata
- Download URL: pybcf-1.0.2-cp311-cp311-win32.whl
- Upload date:
- Size: 140.0 kB
- Tags: CPython 3.11, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96136b0619ce99e7d62837ed70fb04282d19a5d24bddc4a5a7ecd29d808cbaae
|
|
| MD5 |
325e6b97bffe7568867cfbeb50380ad0
|
|
| BLAKE2b-256 |
d2b26e8be9611f90f6b3ec5a87a8d7b037445bfd0742c1adb367607fbd72edbe
|
File details
Details for the file pybcf-1.0.2-cp311-cp311-musllinux_1_1_x86_64.whl.
File metadata
- Download URL: pybcf-1.0.2-cp311-cp311-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.11, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
510267f0dfd43a70e72b62014883412523310e3315df405933b89238e305d345
|
|
| MD5 |
0d705e2597fd67e88240ac216265a592
|
|
| BLAKE2b-256 |
a44cc003f59f14800598a467b2d90061094f8fa87eeda740d75ff45556fef008
|
File details
Details for the file pybcf-1.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pybcf-1.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4eba5dd5a640bfbaab161fecc629c0f4a0e6f1c726ce62c180eb4f810beab39
|
|
| MD5 |
d5ce04efb560c7923fb6899667cda67b
|
|
| BLAKE2b-256 |
e4b82befad625548d5935589b245cf5684a7cb75045c0e2d8022ce9d53c0ff3d
|
File details
Details for the file pybcf-1.0.2-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: pybcf-1.0.2-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 139.4 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb2cf137baad372a9a530c169c4cf994b5cf7fe7075890fb6bf2057f51eb1ea4
|
|
| MD5 |
05f8af20ee08217b0f804a48d1d07449
|
|
| BLAKE2b-256 |
67c97b69a8d63954f330920984662ce7d1e1bfa160e21185f8945fdbdbb5039a
|
File details
Details for the file pybcf-1.0.2-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: pybcf-1.0.2-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 160.9 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1449759448d97c7ae6a12693b8f9950d24544660d69c5804b4538e751d37df04
|
|
| MD5 |
b245bf68c8f069a512a7fc12a06bec40
|
|
| BLAKE2b-256 |
420414f66790d92f01eb78950fd709e62b4d3d8daef859e4cd3bf451d3513bc9
|
File details
Details for the file pybcf-1.0.2-cp310-cp310-win32.whl.
File metadata
- Download URL: pybcf-1.0.2-cp310-cp310-win32.whl
- Upload date:
- Size: 140.6 kB
- Tags: CPython 3.10, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b14acd3699b17ba1ff01cad401f766fb16df967b83c6b82779018c2dd38af35
|
|
| MD5 |
8a147536039b582810b9295000da8e68
|
|
| BLAKE2b-256 |
20710b92c7393979e4af3883b41130b93fbd251b70c092604922e4f26fc95678
|
File details
Details for the file pybcf-1.0.2-cp310-cp310-musllinux_1_1_x86_64.whl.
File metadata
- Download URL: pybcf-1.0.2-cp310-cp310-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.10, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bb56571163e875955b0acdf012aa3a51bbda1350c87ca8aac8542ef34910231
|
|
| MD5 |
ac93d2370dcd240635546da823af2075
|
|
| BLAKE2b-256 |
90094558796439a85331613c51325519f013f569cb88e458768516e879495aa9
|
File details
Details for the file pybcf-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pybcf-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22702b9f5ef4799da96366fb7ccff7ae04374009dff3896ea993622dfb65217b
|
|
| MD5 |
4728501426a2c59917f3528c50a03917
|
|
| BLAKE2b-256 |
1fa439a18b75b801502ba6feef8d7df73f01603433527e7b2726928f9944d212
|
File details
Details for the file pybcf-1.0.2-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: pybcf-1.0.2-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 139.4 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4b13cdd1cd6dc0d8479acedf2e3570e22d4c36134a6caf4eaf4bc86fc435761
|
|
| MD5 |
b0564e380f2746e557449b2ee1eecec9
|
|
| BLAKE2b-256 |
98caf17ce48a4d6a59ac46fef8414fde0db1c73512b2b41eaec1f90dd5718f7c
|
File details
Details for the file pybcf-1.0.2-cp39-cp39-win_amd64.whl.
File metadata
- Download URL: pybcf-1.0.2-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 161.0 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2730b03a23ddc77b0af5a509582ad79574617e0d79bd29bcc3ac515cc96b0327
|
|
| MD5 |
d42048ecf3bb028f26aff5f98eae0458
|
|
| BLAKE2b-256 |
d5b7fecb5ecbb2f3ed7fe7415a0815ca3c81c1929b8c53dd7ddb321780381fc4
|
File details
Details for the file pybcf-1.0.2-cp39-cp39-win32.whl.
File metadata
- Download URL: pybcf-1.0.2-cp39-cp39-win32.whl
- Upload date:
- Size: 140.7 kB
- Tags: CPython 3.9, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80082975b28b62635dd23926cf1ec21319c3c34418483d08dbf6bb4892d031f8
|
|
| MD5 |
46c2668e9b0d5404f35c343d7891be7b
|
|
| BLAKE2b-256 |
65e6aa35e0947f4a0f2df6f501837e3a3bf81da9db9a778fdd79c062aca59806
|
File details
Details for the file pybcf-1.0.2-cp39-cp39-musllinux_1_1_x86_64.whl.
File metadata
- Download URL: pybcf-1.0.2-cp39-cp39-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.9, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce92bfacbc5af3aee07d05cf3f486e57534f4b8a406b83aa718026b323d98300
|
|
| MD5 |
73df743635d3f3f7443c15ff41f6736e
|
|
| BLAKE2b-256 |
5cf756b7133820d46e9138b1ea3734e863085ecb7ec2c2db011dc3d243064e47
|
File details
Details for the file pybcf-1.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pybcf-1.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a35fa40c10f08c4f17a88b15b194ae7998145583792b4ae55adeda87274e398
|
|
| MD5 |
a516ab174ff8f9ce7eaa35ca78aed524
|
|
| BLAKE2b-256 |
4998ba82dce6b69386bbdcbbebe17cabf911f71cde86ab5c603ccf2b8c721026
|
File details
Details for the file pybcf-1.0.2-cp39-cp39-macosx_11_0_arm64.whl.
File metadata
- Download URL: pybcf-1.0.2-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 139.7 kB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81be5aee13b9ce5e3928af342e143941d8fff6266f0db42c6db578b99c4b38fd
|
|
| MD5 |
23af520b6c4be97c047f8b35df455ab9
|
|
| BLAKE2b-256 |
71e74e6503f724340bf93fed8f2af0bbf35b5ba2c843a6b6253485bb2a736ef2
|
File details
Details for the file pybcf-1.0.2-cp38-cp38-win_amd64.whl.
File metadata
- Download URL: pybcf-1.0.2-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 161.0 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17990e93aa9174600a05dc7e5b11b567c2740593e1ba712e6026deb429b5f2b9
|
|
| MD5 |
8a5c3318921741ca22ceebd23eaba3ce
|
|
| BLAKE2b-256 |
52e3be682cc9fcdebe6f5ce4db1b6fec892a86e8507dd92fdaeac899180436f3
|
File details
Details for the file pybcf-1.0.2-cp38-cp38-win32.whl.
File metadata
- Download URL: pybcf-1.0.2-cp38-cp38-win32.whl
- Upload date:
- Size: 140.8 kB
- Tags: CPython 3.8, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5be71d238ce4e46fe013694dff75cfe7d209b63f17c8b83b0cc10b9589d1587
|
|
| MD5 |
a5ff19040f71a6783478c39d19f05aba
|
|
| BLAKE2b-256 |
881314784cc28f1bd026d18a22ed1f0d0f08a6a60a744fb2b76f8b22fb5e9d41
|
File details
Details for the file pybcf-1.0.2-cp38-cp38-musllinux_1_1_x86_64.whl.
File metadata
- Download URL: pybcf-1.0.2-cp38-cp38-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.8, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c72a21880f17ff45a8f8c08cdfc7cda272d5fe2d5d58b543372c1a082904de1a
|
|
| MD5 |
cf0a84c3ccd19471b59a04bcca712728
|
|
| BLAKE2b-256 |
dd4aefd5db3803473a9e772f1ca6ae69c474ec08a8b16e710d769d06520e128d
|
File details
Details for the file pybcf-1.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pybcf-1.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
add58f8462a00571eb5486f5f362b5aee53824623d4444ce2cbb9de6d1da1b2b
|
|
| MD5 |
5a2aeef05481036f369709191f8acf25
|
|
| BLAKE2b-256 |
0691d509e7ceef232a70daba93315ae7b26c14d04a86a12b8de4280849996adb
|
File details
Details for the file pybcf-1.0.2-cp38-cp38-macosx_11_0_arm64.whl.
File metadata
- Download URL: pybcf-1.0.2-cp38-cp38-macosx_11_0_arm64.whl
- Upload date:
- Size: 140.3 kB
- Tags: CPython 3.8, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b90d08b3b26877ebf155266b83fca4adf735375ea8bc77659508df00016e07e1
|
|
| MD5 |
39359cd99d79c48194a1f108d1b1b248
|
|
| BLAKE2b-256 |
5ea006070bc0241510d42114cf76eb5a13d87f3782e34b4c4d71503119e87520
|