IO¶
A streaming writer for VCF v4.2 files.
Methods:
-
__enter__–Context manager entry (
__enter__) -
__exit__–Context manager exit (
__exit__). Flushes and closes the file. -
__new__–Opens the file and writes the VCF headers.
-
write_record–Writes the frameshift variants for a single contig/sequence.