Skip to main content

VCF parser for header data

Project description

vcf_validator

This python package parses the vcf file and checks the VCF attributes with respect to the paper: https://f1000research.com/articles/11-231

Installing the package:


pip install vcfvalidator

How to use parser:

First import the package using following command:


from vcf_validator import vcf_parser

Create and object of the class:


parser = vcf_parser.vcf_parser()

Then call the method:


parser.parse_as_chunks("m", 1000, True)

The method parse_as_chunks parses the file and check for VCF header attributes for now.

Parameters for method:


1. data to be parsed: for metadata use "m" and for header data use "h"

2. Chunk size.

3. "True" to stop the file after parsing header data, "False" to continue the parser till the end of the file.

Responisble person

For further details please contact: Dr. Matthias Lange (lange@ipk-gatersleben.de)

Location of files

The parser generates the output in log files, which could be found in the directory where the scripts is located.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vcfvalidator-1.0.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

vcfvalidator-1.0.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file vcfvalidator-1.0.0.tar.gz.

File metadata

  • Download URL: vcfvalidator-1.0.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for vcfvalidator-1.0.0.tar.gz
Algorithm Hash digest
SHA256 177373ff79e95a863fa997bfd26601c584dea56873939caf90868fa33bb44d46
MD5 8474f820e52e8eadf9c5b050fbbf8062
BLAKE2b-256 b8cffa11b5d719d1f3e9e36dba046945527da338d69fbabbba79f8851b265657

See more details on using hashes here.

File details

Details for the file vcfvalidator-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: vcfvalidator-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for vcfvalidator-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 527122271d0fd52c5972dbb5207817a7e2e17bf28d120eddd7f5e73f2db87c43
MD5 89c625a25ac299977e6e3c87cc545d6f
BLAKE2b-256 3c3c5ee093f26f7b343e9cceb73a84fe6fcaf32d3c20d61b810204cd812b3095

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page