Recent Releases of haptools
haptools - v0.5.0
0.5.0 (2024-12-11)
Features
- a new
Haplotypes.merge()method (#256) (cf4ccb2) - allow for specifying the order of population labels in
Breakpoints.encode()(#262) (09a916a) - allow multiple variants in
pearson_corr_ld()(#258) (808c31e) - support for Apple M1 silicon (#255) (3f055ac)
- support for numpy 2.0 (#250) (69192d0)
Bug Fixes
- 1) improve error in
transformwhen providing an empty hap file and a--regionand 2) allow for callingwrite()on Genotypes objects without variants (#264) (4e84178) - allow
simphenotypeto accept TR PGENs without--repeats(#263) (16a84d1) - issue warnings instead of errors when trying to check the header of hap files and issue error when output of transform is not provided to simphenotype (#254) (0226653)
- load an empty array if there are no variants in
GenotypesVCF.read(#257) (9eedc3a)
Documentation
- Python
Published by github-actions[bot] about 1 year ago
haptools - v0.4.0
0.4.0 (2024-01-14)
This new version incorporates a number of bug fixes and exciting new features! Notably, it adds support for python 3.11 (whilst keeping support for python 3.7 for @TaraMirmira). And per a recent request by @XimeiWulilyy (and @s041629 a while ago), the haptools transform command now accepts multiallelic variants. Also, a quick shoutout to @RJDan for pointing out issues with the example script for converting .blocks.det files into .hap files.
Features
- a new
GenotypesPLINKTRclass for reading TRs from PGEN files (#222) (3c7abe6) This brings us one giant step closer to being able to analyze TRs in PLINK2! See #221 for the remaining work that is needed. - allow multiallelic variants in
transform(#232) (371415c) - support for python 3.11 (#207) (8e01ed4)
Bug Fixes
UnboundLocalErrorarising from headerless.hapfiles (#229) (a499b0c)- bug where
Phenotypes.subset(inplace=True)would raise an AttributeError (#226) (cff6d9b) - convert
samplesargument inGenotypes.readinto a set and fixtr_harmonizerbug arising when TRTools is also installed (#225) (06cc273) - Not having 23 chromosomes in genotype blocks when 23 chromosomes listed in centromere file resulted in Value Error (#234) (ef36798)
Documentation
- fix example of
.blocks.detto.hapconversion in API docs (#236) (1ed9139) - handle whitespace in blocks2hap example (#237) (bbdacf8)
- Python
Published by github-actions[bot] about 2 years ago
haptools - v0.3.0
0.3.0 (2023-06-02)
Features
.snplistinput tosimphenotype(#217) (cb18970)- Added ability to read tandem repeats with GenotypesTR (#204) (6257264)
- Added ability to set vcftype for reading str files (#214) (0d734cd)
- Clump (#211) (3740ec1)
- do not require sorting
.haplines by line type (#208) (f221397) - new
Phenotypes.subset()method (#203) (c5594d9) - simphenotype
--environmentoption (#216) (bf69147) - Simphenotype and Index Repeat Support (#209) (9e2ffe1)
Bug Fixes
Covariates.__init__after updates to parent class (#206) (ce2337b)- Added logic to finding all coord files (#201) (be1d992)
- check missing to check for 254 (#213) (afeab85)
- explicitly ignore repeats in the
ldcommand (#218) (b9d0da1) - GenotypesTR to properly load repeat count instead of GT (#212) (93a4eb2)
- Python
Published by github-actions[bot] almost 3 years ago
haptools - v0.2.0
0.2.0 (2023-03-06)
Features
Phenotypes.check missing()method (#191) (621fc62)- Sampling without replacement option for simgenotype (#194) (85bd494)
Bug Fixes
- Fixed faulty coord file parsing logic (#196) (f9819b1)
- regression in multiallelic support for
simgenotype(#195) (b57f91f)
Documentation
- Python
Published by github-actions[bot] almost 3 years ago
haptools - v0.1.2
0.1.2 (2023-02-02)
Bug Fixes
- add poetry readme to fix long_description when publishing to pypi (#177) (4050251)
- checkout in comment bot workflow for CD pipeline (#181) (9782d3d)
- checkout ref in comment bot from CD pipeline (#182) (e3b92f6)
- comment bot in CD pipeline (#180) (a2f66bd)
- indentation in checkout build (#183) (de431ab)
- Python
Published by github-actions[bot] about 3 years ago
haptools - v0.1.0
0.1.0 (2023-01-31)
Features
- a new
--no-normalizeparameter forsimphenotype(#156) (24a0867) - add
--seedtosimphenotype(#162) (9f7890a) - change default verbosity to INFO (#157) (18ff090)
- github actions for publishing (#141) (5cf6f29)
- Significantly decreased runtime of simgenotype (#163) (de011d0)
- updated
.vcf.gzoutput in simgenotype (#150) (f61f613) - Updated simgenotype to allow only breakpoint generation (#167) (c0c3c97)
Bug Fixes
- Added an additional test file containing only autosome centromeres (#168) (ca220e7)
- Added utilization of logging class to karyogram and simgenotype (#159) (bcf778a)
- case where genotypes are all the same but heritability is specified in
simphenotype(#145) (063b411) - Fixed logic error in simgenotype and docs errors (#172) (18dd27f)
- issue where breakpoints weren't outputting (#144) (ff90bff)
- logging so that it doesn't affect the root logger (#154) (c1dc1ef)
- pin numpy to ensure a recent version of numpy (#151) (7c84a45)
- Update maps.rst (#170) (8ace893)
Documentation
- better showcase example files and their locations in
simgenotype(#166) (6995407) - updates for v0.1.0 (#171) (714142f)
- Python
Published by github-actions[bot] about 3 years ago
haptools - v0.0.3
- fixes an issue with reading and writing compressed files in python 3.10+ (#139)
- removes an explicit dependency declaration for importlib-metadata
- removes brewer2mpl dependency
- adds
noxto our testing suite - various fixes to example commands in the documentation
- updates to the installation instructions
- Python
Published by aryarm over 3 years ago