Vcfstats

Latest version: v0.6.0

Safety actively analyzes 613734 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.6.0

- Now `vcf` (the instance of `cyvcf2.VCF` is allowed to be passed as 2nd argument to `continuous` and `categorical` macros (45).

python
from vcfstats.macros import cont

cont
def GLOBAL_POS(variant, vcf):
chrom = variant.CHROM.replace("chr", "")
chridx = 23 if chrom == "X" else 24 if chrom == "Y" else int(chrom)
prev_chrom_lens = sum(vcf.seqlens[:(chridx-1)]
return prev_chrom_lens + variant.POS

Check the [API documentation](https://brentp.github.io/cyvcf2/docstrings.html) of cyvcf2 to see what information we can get from vcf.

0.5.0

- ➕ Use argx instead of pyparam

0.4.3

- 🚑 Fix numpy error raised from plotnine (35)
- 📝 Update usage with docker in README.md (33)
- 👷 Add python3.10 to CI

0.4.2

- 🐛 Fix config file not used correctly (27)

What's Changed
* 0.4.2 by pwwang in https://github.com/pwwang/vcfstats/pull/28


**Full Changelog**: https://github.com/pwwang/vcfstats/compare/0.4.1...0.4.2

0.4.1

- 📝 Add more examples regarding 20
- 🐛 Fix devpars by default a Namespace rather than a dict (21, 22)

What's Changed
* 0.4.1 by pwwang in https://github.com/pwwang/vcfstats/pull/23


**Full Changelog**: https://github.com/pwwang/vcfstats/compare/0.4.0...0.4.1

0.4.0

- ⬆️ Drop support for python 3.8 (brentp/cyvcf2181)
- 🚨 Use python3.9 in Dockerfile
- ⬆️️ Upgrade pyparam to 0.5
- ⬆️ Upgrade and pin deps
- 📝 Add more examples (15, 17)
- 👷 Add docker build in CI

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.