Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

265 wiersze
8.6 KiB

  1. Metadata-Version: 2.4
  2. Name: vcfpy
  3. Version: 0.13.8
  4. Summary: Python 3 VCF library with good support for both reading and writing
  5. Home-page: https://github.com/bihealth/vcfpy
  6. Author: Manuel Holtgrewe
  7. Author-email: manuel.holtgrewe@bih-charite.de
  8. License: MIT license
  9. Keywords: vcfpy
  10. Classifier: Development Status :: 2 - Pre-Alpha
  11. Classifier: Intended Audience :: Developers
  12. Classifier: License :: OSI Approved :: MIT License
  13. Classifier: Natural Language :: English
  14. Classifier: Programming Language :: Python :: 3
  15. Classifier: Programming Language :: Python :: 3.8
  16. Classifier: Programming Language :: Python :: 3.9
  17. Classifier: Programming Language :: Python :: 3.10
  18. Classifier: Programming Language :: Python :: 3.11
  19. Classifier: Programming Language :: Python :: 3.12
  20. Description-Content-Type: text/markdown
  21. License-File: LICENSE
  22. License-File: AUTHORS.rst
  23. Requires-Dist: pysam>=0.10.0
  24. Dynamic: author
  25. Dynamic: author-email
  26. Dynamic: classifier
  27. Dynamic: description
  28. Dynamic: description-content-type
  29. Dynamic: home-page
  30. Dynamic: keywords
  31. Dynamic: license
  32. Dynamic: license-file
  33. Dynamic: requires-dist
  34. Dynamic: summary
  35. [![pypi](https://img.shields.io/pypi/v/vcfpy.svg)](https://pypi.python.org/pypi/vcfpy)
  36. [![bioconda](https://img.shields.io/conda/dn/bioconda/vcfpy.svg?label=Bioconda)](https://bioconda.github.io/recipes/vcfpy/README.html)
  37. [![CI](https://github.com/bihealth/vcfpy/actions/workflows/main.yml/badge.svg)](https://github.com/bihealth/vcfpy/actions/workflows/main.yml)
  38. [![Documentation Status](https://readthedocs.org/projects/vcfpy/badge/?version=latest)](https://vcfpy.readthedocs.io/en/latest/?badge=latest)
  39. [![Publication in The Journal of Open Source Software](http://joss.theoj.org/papers/edae85d90ea8a49843dbaaa109e47cba/status.svg)](http://joss.theoj.org/papers/10.21105/joss.00085)
  40. # VCFPy
  41. Python 3 VCF library with good support for both reading and writing
  42. - Free software: MIT license
  43. - Documentation: <https://vcfpy.readthedocs.io>.
  44. ## Features
  45. - Support for reading and writing VCF v4.3
  46. - Interface to `INFO` and `FORMAT` fields is based on `OrderedDict` allows for easier modification than PyVCF (also I find this more pythonic)
  47. - Read (and jump in) and write BGZF files just using `vcfpy`
  48. ## Why another VCF parser for Python!
  49. I've been using PyVCF with quite some success in the past. However, the
  50. main bottleneck of PyVCF is when you want to modify the per-sample
  51. genotype information. There are some issues in the tracker of PyVCF but
  52. none of them can really be considered solved. I tried several hours to
  53. solve these problems within PyVCF but this never got far or towards a
  54. complete rewrite...
  55. For this reason, VCFPy was born and here it is!
  56. ## What's the State?
  57. VCFPy is the result of two full days of development plus some
  58. maintenance work later now (right now). I'm using it in several projects
  59. but it is not as battle-tested as PyVCF.
  60. ## Why Python 3 Only?
  61. As I'm only using Python 3 code, I see no advantage in carrying around
  62. support for legacy Python 2 and maintaining it. At a later point when
  63. VCFPy is known to be stable, Python 2 support might be added if someone
  64. contributes a pull request.
  65. # Changelog
  66. ## [0.13.8](https://github.com/bihealth/vcfpy/compare/v0.13.7...v0.13.8) (2024-01-10)
  67. ### Bug Fixes
  68. * fixing manifest for changelog ([#169](https://github.com/bihealth/vcfpy/issues/169)) ([83c5b8e](https://github.com/bihealth/vcfpy/commit/83c5b8e6cd1199245673cc0d8deb2d6f3646d183))
  69. ## [0.13.7](https://github.com/bihealth/vcfpy/compare/v0.13.6...v0.13.7) (2024-01-10)
  70. ### Bug Fixes
  71. * remove versioneer Python 3.12 compatibility ([#160](https://github.com/bihealth/vcfpy/issues/160)) ([5e2860e](https://github.com/bihealth/vcfpy/commit/5e2860e22042aa794304c8805ca716a39c88f24e))
  72. ## [0.13.6](https://github.com/bihealth/vcfpy/compare/v0.13.5...v0.13.6) (2022-11-28)
  73. - Fixing bug in `setup.py` that prevented `pysam` dependency to be loaded (#150).
  74. ## v0.13.5 (2022-11-13)
  75. - Treat `.bgz` files the same as `.gz` (#145, \#149)
  76. ## v0.13.4 (2022-04-13)
  77. - Switching to Github Actions for CI
  78. - Fix INFO flag raises TypeError (#146)
  79. ## v0.13.3 (2020-09-14)
  80. - Adding `Record.update_calls`.
  81. - Making `Record.{format,calls}` use list when empty
  82. ## v0.13.2 (2020-08-20)
  83. - Adding `Call.set_genotype()`.
  84. ## v0.13.1 (2020-08-20)
  85. - Fixed `Call.ploidy`.
  86. - Fixed `Call.is_variant`.
  87. ## v0.13.0 (2020-07-10)
  88. - Fixing bug in case `GT` describes only one allele.
  89. - Proper escaping of colon and semicolon (or the lack of escaping) in
  90. `INFO` and `FORMAT`.
  91. ## v0.12.2 (2020-04-29)
  92. - Fixing bug in case `GT` describes only one allele.
  93. ## v0.12.1 (2019-03-08)
  94. - Not warning on `PASS` filter if not defined in header.
  95. ## v0.12.0 (2019-01-29)
  96. - Fixing tests for Python \>=3.6
  97. - Fixing CI, improving tox integration.
  98. - Applying `black` formatting.
  99. - Replacing Makefile with more minimal one.
  100. - Removing some linting errors from flake8.
  101. - Adding support for reading VCF without `FORMAT` or any sample
  102. column.
  103. - Adding support for writing headers and records without `FORMAT` and
  104. any sample columns.
  105. ## v0.11.2 (2018-04-16)
  106. - Removing `pip` module from `setup.py` which is not recommended
  107. anyway.
  108. ## v0.11.1 (2018-03-06)
  109. - Working around problem in HTSJDK output with incomplete `FORMAT`
  110. fields (#127). Writing out `.` instead of keeping trailing empty
  111. records empty.
  112. ## v0.11.0 (2017-11-22)
  113. - The field `FORMAT/FT` is now expected to be a semicolon-separated
  114. string. Internally, we will handle it as a list.
  115. - Switching from warning helper utility code to Python `warnings`
  116. module.
  117. - Return `str` in case of problems with parsing value.
  118. ## v0.10.0 (2017-02-27)
  119. - Extending API to allow for reading subsets of records. (Writing for
  120. sample subsets or reordered samples is possible through using the
  121. appropriate `names` list in the `SamplesInfos` for the `Writer`).
  122. - Deep-copying header lines and samples infos on `Writer` construction
  123. - Using `samples` attribute from `Header` in `Reader` and `Writer`
  124. instead of passing explicitely
  125. ## 0.9.0 (2017-02-26)
  126. - Restructuring of requirements.txt files
  127. - Fixing parsing of no-call `GT` fields
  128. ## 0.8.1 (2017-02-08)
  129. - PEP8 style adjustments
  130. - Using versioneer for versioning
  131. - Using `requirements*.txt` files now from setup.py
  132. - Fixing dependency on cyordereddict to be for Python \<3.6 instead of
  133. \<3.5
  134. - Jumping by samtools coordinate string now also allowed
  135. ## 0.8.0 (2016-10-31)
  136. - Adding `Header.has_header_line` for querying existence of header
  137. line
  138. - `Header.add_*_line` return a `bool` no indicating any conflicts
  139. - Construction of Writer uses samples within header and no extra
  140. parameter (breaks API)
  141. ## 0.7.0 (2016-09-25)
  142. - Smaller improvements and fixes to documentation
  143. - Adding Codacy coverage and static code analysis results to README
  144. - Various smaller code cleanup triggered by Codacy results
  145. - Adding `__eq__`, `__neq__` and `__hash__` to data types (where
  146. applicable)
  147. ## 0.6.0 (2016-09-25
  148. - Refining implementation for breakend and symbolic allele class
  149. - Removing `record.SV_CODES`
  150. - Refactoring parser module a bit to make the code cleaner
  151. - Fixing small typos and problems in documentation
  152. ## 0.5.0 (2016-09-24)
  153. - Deactivating warnings on record parsing by default because of
  154. performance
  155. - Adding validation for `INFO` and `FORMAT` fields on reading (#8)
  156. - Adding predefined `INFO` and `FORMAT` fields to `pyvcf.header` (#32)
  157. ## 0.4.1 (2016-09-22)
  158. - Initially enabling codeclimate
  159. ## 0.4.0 (2016-09-22)
  160. - Exporting constants for encoding variant types
  161. - Exporting genotype constants `HOM_REF`, `HOM_ALT`, `HET`
  162. - Implementing `Call.is_phased`, `Call.is_het`, `Call.is_variant`,
  163. `Call.is_phased`, `Call.is_hom_ref`, `Call.is_hom_alt`
  164. - Removing `Call.phased` (breaks API, next release is 0.4.0)
  165. - Adding tests, fixing bugs for methods of `Call`
  166. ## 0.3.1 (2016-09-21)
  167. - Work around `FORMAT/FT` being a string; this is done so in the Delly
  168. output
  169. ## 0.3.0 (2016-09-21)
  170. - `Reader` and `Writer` can now be used as context manager (with
  171. `with`)
  172. - Including license in documentation, including Biopython license
  173. - Adding support for writing bgzf files (taken from Biopython)
  174. - Adding support for parsing arrays in header lines
  175. - Removing `example-4.1-bnd.vcf` example file because v4.1 tumor
  176. derival lacks `ID` field
  177. - Adding `AltAlleleHeaderLine`, `MetaHeaderLine`,
  178. `PedigreeHeaderLine`, and `SampleHeaderLine`
  179. - Renaming `SimpleHeaderFile` to `SimpleHeaderLine`
  180. - Warn on missing `FILTER` entries on parsing
  181. - Reordered parameters in `from_stream` and `from_file` (#18)
  182. - Renamed `from_file` to `from_stream` (#18)
  183. - Renamed `Reader.jump_to` to `Reader.fetch`
  184. - Adding `header_without_lines` function
  185. - Generally extending API to make it esier to use
  186. - Upgrading dependencies, enabling pyup-bot
  187. - Greatly extending documentation
  188. ## 0.2.1 (2016-09-19)
  189. - First release on PyPI