0.13.8 (2024-01-10)
0.13.7 (2024-01-10)
0.13.6 (2022-11-28)
- Fixing bug in
setup.py
that preventedpysam
dependency to be loaded (#150).
- Treat
.bgz
files the same as.gz
(#145, #149)
- Switching to Github Actions for CI
- Fix INFO flag raises TypeError (#146)
- Adding
Record.update_calls
. - Making
Record.{format,calls}
use list when empty
- Adding
Call.set_genotype()
.
- Fixed
Call.ploidy
. - Fixed
Call.is_variant
.
- Fixing bug in case
GT
describes only one allele. - Proper escaping of colon and semicolon (or the lack of escaping) in
INFO
andFORMAT
.
- Fixing bug in case
GT
describes only one allele.
- Not warning on
PASS
filter if not defined in header.
- Fixing tests for Python >=3.6
- Fixing CI, improving tox integration.
- Applying
black
formatting. - Replacing Makefile with more minimal one.
- Removing some linting errors from flake8.
- Adding support for reading VCF without
FORMAT
or any sample column. - Adding support for writing headers and records without
FORMAT
and any sample columns.
- Removing
pip
module fromsetup.py
which is not recommended anyway.
- Working around problem in HTSJDK output with incomplete
FORMAT
fields (#127). Writing out.
instead of keeping trailing empty records empty.
- The field
FORMAT/FT
is now expected to be a semicolon-separated string. Internally, we will handle it as a list. - Switching from warning helper utility code to Python
warnings
module. - Return
str
in case of problems with parsing value.
- Extending API to allow for reading subsets of records. (Writing for
sample subsets or reordered samples is possible through using the
appropriate
names
list in theSamplesInfos
for theWriter
). - Deep-copying header lines and samples infos on
Writer
construction - Using
samples
attribute fromHeader
inReader
andWriter
instead of passing explicitely
- Restructuring of requirements.txt files
- Fixing parsing of no-call
GT
fields
- PEP8 style adjustments
- Using versioneer for versioning
- Using
requirements*.txt
files now from setup.py - Fixing dependency on cyordereddict to be for Python <3.6 instead of <3.5
- Jumping by samtools coordinate string now also allowed
- Adding
Header.has_header_line
for querying existence of header line Header.add_*_line
return abool
no indicating any conflicts- Construction of Writer uses samples within header and no extra parameter (breaks API)
- Smaller improvements and fixes to documentation
- Adding Codacy coverage and static code analysis results to README
- Various smaller code cleanup triggered by Codacy results
- Adding
__eq__
,__neq__
and__hash__
to data types (where applicable)
- Refining implementation for breakend and symbolic allele class
- Removing
record.SV_CODES
- Refactoring parser module a bit to make the code cleaner
- Fixing small typos and problems in documentation
- Deactivating warnings on record parsing by default because of performance
- Adding validation for
INFO
andFORMAT
fields on reading (#8) - Adding predefined
INFO
andFORMAT
fields topyvcf.header
(#32)
- Initially enabling codeclimate
- Exporting constants for encoding variant types
- Exporting genotype constants
HOM_REF
,HOM_ALT
,HET
- Implementing
Call.is_phased
,Call.is_het
,Call.is_variant
,Call.is_phased
,Call.is_hom_ref
,Call.is_hom_alt
- Removing
Call.phased
(breaks API, next release is 0.4.0) - Adding tests, fixing bugs for methods of
Call
- Work around
FORMAT/FT
being a string; this is done so in the Delly output
Reader
andWriter
can now be used as context manager (withwith
)- Including license in documentation, including Biopython license
- Adding support for writing bgzf files (taken from Biopython)
- Adding support for parsing arrays in header lines
- Removing
example-4.1-bnd.vcf
example file because v4.1 tumor derival lacksID
field - Adding
AltAlleleHeaderLine
,MetaHeaderLine
,PedigreeHeaderLine
, andSampleHeaderLine
- Renaming
SimpleHeaderFile
toSimpleHeaderLine
- Warn on missing
FILTER
entries on parsing - Reordered parameters in
from_stream
andfrom_file
(#18) - Renamed
from_file
tofrom_stream
(#18) - Renamed
Reader.jump_to
toReader.fetch
- Adding
header_without_lines
function - Generally extending API to make it esier to use
- Upgrading dependencies, enabling pyup-bot
- Greatly extending documentation
- First release on PyPI