Recent Releases of bgen
bgen -
2025-05-09
- enable reading bgen files by streaming from stdin
- C++
Published by jeremymcrae about 1 year ago
bgen -
2024-12-02
- fixed issue reading metadata containing whitespace characters
- C++
Published by jeremymcrae over 1 year ago
bgen -
### 2024-07-20
- optimized writing 8-bit genotypes
- C++
Published by jeremymcrae over 1 year ago
bgen -
2024-05-01
- fixed minor bugs
- avoid chance of heap overflow
- C++
Published by jeremymcrae about 2 years ago
bgen -
2024-01-24
- allow copying variants into a new bgen file without parsing
- C++
Published by jeremymcrae about 2 years ago
bgen - 2023-10-16
sped up parsing phased probabilities when ploidy is constant
- C++
Published by jeremymcrae almost 3 years ago
bgen -
2023-04-03
- now can write bgen files in addition to reading
- faster decoding of zstd compressed genotypes by -O2 compiler option
- C++
Published by jeremymcrae over 3 years ago
bgen -
2023-03-10
- added fast dosage code for aarch64 (ARM) hardware
- C++
Published by jeremymcrae over 3 years ago
bgen -
2023-02-31
- added prebuilt windows packages
- avoid creating Variant objects multiple times in python
- fixed some compiler differences between linux and windows
- only open ifstream in binary mode to prevent file seeking differences on windows
- C++
Published by jeremymcrae over 3 years ago
bgen -
2022-09-21
- handle if x86_64, but without AVX2
- add testing and package creation for macosx
- C++
Published by jeremymcrae almost 4 years ago
bgen -
2022-09-16
- capture and handle error while obtaining phased status if underlying data is not ready
- added method to get alt allele dosage from variant
- fixed issue if using dosage in numpy array after variant object is deleted
- C++
Published by jeremymcrae almost 4 years ago
bgen -
2022-06-03
- improved propagation of errors while reading data from filesystem
- C++
Published by jeremymcrae almost 4 years ago
bgen -
2022-06-03
- propagate c++ exceptions into python exceptions, enables handling variant errors on unstable filesystems
- use fixed width types in c++ code
- C++
Published by jeremymcrae almost 4 years ago
bgen -
2022-02-14
fixed bug assigning missing genotypes to samples
- C++
Published by jeremymcrae over 4 years ago
bgen -
2020-07-15
- fixed bug with dosage on layout=1
- cleaned up function documentation
- C++
Published by jeremymcrae almost 6 years ago
bgen -
2020-07-13
- use vectorized operations to calculate ref allele dosage from probabilties
- C++
Published by jeremymcrae almost 6 years ago
bgen -
2020-07-10
Only use vectorized operations on relevant hardware.
- C++
Published by jeremymcrae almost 6 years ago
bgen -
2020-07-10
Fixed bug from uninitialized variables.
- C++
Published by jeremymcrae almost 6 years ago
bgen -
2020-07-10
- Use vectorized operations to speed up calculating minor allele dosage
- sped up parsing probabilities with bgen layout=1
- refactored parsing probabilities and dosages
- C++
Published by jeremymcrae almost 6 years ago
bgen -
2020-09-01
Fixed a memory leak, which occurred when the minor allele dosage and probabilities were both calculated for a variant.
- C++
Published by jeremymcrae almost 6 years ago
bgen -
2020-07-02
- sped up parsing missingness when the ploidy is the same for all samples by checking 8 samples simultaneously, and only checking individual samples if any appear missing. Checking missingness under these conditions is now 3X faster than before.
- Optimized parsing probabilities when all samples are diploid with two alleles, and probabilities are encoded with 8 bits. This is now 2.5X faster than the standard method for calculating probabilities.
- C++
Published by jeremymcrae about 6 years ago
bgen -
2020-06-23
- fixed source distribution on pypi
- allow getting variant with next(bfile)
- C++
Published by jeremymcrae about 6 years ago
bgen -
2020-06-18
- use travis.ci for building wheels for pypi upload
- tests built wheels for python 3.6, 3.7, 3.8
- only uploads new version to pypi for commits with git tag
- C++
Published by jeremymcrae about 6 years ago
bgen -
2020-06-16
- fixed issue with 0000 magic number in header
- slightly faster parsing of ploidy states
- C++
Published by jeremymcrae about 6 years ago
bgen -
2020-06-10
- reuse probabilities and minor allele dosage if computed previously
- sped up minor allele dosage by avoiding numpy copy operation
- can fetch variants within a genomic region if bgen index file is present
- C++
Published by jeremymcrae about 6 years ago
bgen -
2020-06-04 - faster probabilities
- sped up parsing probabilities by avoiding an integer multiplication
- sped up parsing ploidy and missingness states
- sped up setting sample IDs
- C++
Published by jeremymcrae about 6 years ago
bgen -
2020-06-03 - minor fixes
- sped up calculating minor allele dosage
- simplified parsing genotype probabilities
- C++
Published by jeremymcrae about 6 years ago
bgen -
2020-06-01 - minor fixes
- sped up loading sample IDs from sample file
- fixed BgenFile context handling
- fixed bug with iteration if all variants loaded into memory
- added unit tests for minor allele dosage
- C++
Published by jeremymcrae about 6 years ago
bgen -
2020-05-28 - sped up parsing probabilities
- calculates genotype probabilities from integer representation to float probability with multiplies, which can be faster than divides
- C++
Published by jeremymcrae about 6 years ago
bgen -
2020-05-14 - fixed index issue
- fixed issue with bgenix indexes when multiprocessing
- C++
Published by jeremymcrae about 6 years ago
bgen -
2020-05-21 - fix memory leak
- avoid memory leak when repeatedly getting probabilities/dosages from same variant
- C++
Published by jeremymcrae about 6 years ago
bgen -
2020-05-27 - minor fixes
- sped up setting ploidy when all samples have same ploidy
- sped up getting minor allele dosage by determining minor allele from subset of samples
- C++
Published by jeremymcrae about 6 years ago
bgen -
- fixed bug with python3.6 sqlite.connect() not accepting Path-like objects
- C++
Published by jeremymcrae about 6 years ago
bgen -
- fixed str decode error when logging sample_path
- C++
Published by jeremymcrae about 6 years ago
bgen - v1.0.0 initial release
#### 2020-04-27 - released with basic functionality - open bgen files - parse variants - extract genotype data - extract minor allele dosage for biallelic variants - iterate through variants in bgen file - can exclude unwanted variants - can pickle/unpickle variants for distributed compute
- C++
Published by jeremymcrae about 6 years ago