https://github.com/clinical-genomics/varg

variant validation report generator

https://github.com/clinical-genomics/varg

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

variant validation report generator

Basic Info
  • Host: GitHub
  • Owner: Clinical-Genomics
  • License: mit
  • Language: Python
  • Default Branch: master
  • Size: 94.7 KB
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • Open Issues: 2
  • Releases: 0
Created over 6 years ago · Last pushed almost 3 years ago
Metadata Files
Readme Changelog Contributing License Codeowners

README.md

Variant Validation Report Generator (VARG)

PyPI version Coverage Status

varg is a simple tool that can be used to benchmark vcf-files against a truth-set of positive controls.

varg simply finds variants between two vcf-files, finds what variants that are common in the two files (with support for imprecise structural variants) and aggregate statistics generated from comparisons between each common variant. The user can dynamically enter what fields and columns that should be compared between the vcf-files. varg supports multi-sample vcf-files.

Installation

varg can be installed with pip

from github: console pip install git+https://github.com/adrosenbaum/varg

from PyPI console pip install varg

or using poetry: poetry install

Usage

To compare two vcf-files, one vcf with positive controls TRUTHVCF, with the vcf to be benchmarked BENCHVCF run the command

console varg compare -t $TRUTH_VCF -v $BENCH_VCF

The samples that are compared between the vcf will default to the respective order of the samples in the vcf-files. The user can specify what samples that should be compared with the -m/--samples-map option e.g. -m child=sample_1,father=sample_2,mother=sample_3 will compare the sample 'child' in the truth-set vcf with sample 'sample_1' in the benchmark-vcf, etc.

To control what fields are compared between the two vcf-files, the user must specify a .py file with the -f/--vcf-fields option. This will default to the file in varg/resources/comparefields. In this file a constant COMPAREFIELDS of python type dict must be declared.

Contributing

Please check out our guide for contributing to demultiplexing

Owner

  • Name: Clinical Genomics
  • Login: Clinical-Genomics
  • Kind: organization
  • Location: Stockholm, Sweden

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 15
  • Average time to close issues: N/A
  • Average time to close pull requests: about 14 hours
  • Total issue authors: 0
  • Total pull request authors: 3
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 13
  • Bot issues: 0
  • Bot pull requests: 2
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • adrosenbaum (7)
  • henrikstranneheim (6)
  • dependabot[bot] (1)
Top Labels
Issue Labels
Pull Request Labels
dependencies (1)

Dependencies

poetry.lock pypi
  • atomicwrites 1.4.0 develop
  • attrs 20.3.0 develop
  • certifi 2020.12.5 develop
  • chardet 3.0.4 develop
  • colorama 0.4.4 develop
  • coverage 5.3 develop
  • coveralls 2.2.0 develop
  • docopt 0.6.2 develop
  • idna 2.10 develop
  • iniconfig 1.1.1 develop
  • packaging 20.7 develop
  • pluggy 0.13.1 develop
  • py 1.9.0 develop
  • pyparsing 2.4.7 develop
  • pytest 6.1.2 develop
  • pytest-cov 2.10.1 develop
  • requests 2.25.0 develop
  • toml 0.10.2 develop
  • urllib3 1.26.2 develop
  • click 7.1.2
  • coloredlogs 14.0
  • cython 0.29.21
  • cyvcf2 0.10.10
  • humanfriendly 9.0
  • importlib-metadata 3.1.1
  • numpy 1.19.4
  • pyreadline 2.1
  • zipp 3.4.0
pyproject.toml pypi
  • coveralls ^2.2.0 develop
  • pytest-cov ^2.10.1 develop
  • Cython ^0.29.21
  • click 7.1.2
  • coloredlogs ^14.0
  • cyvcf2 ^0.10.0
  • importlib-metadata ^3.1.1
  • python ^3.7
.github/workflows/black.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • psf/black stable composite
.github/workflows/coveralls.yml actions
  • abatilo/actions-poetry v2.0.0 composite
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/docker_build_n_publish.yml actions
  • actions/checkout v2 composite
  • elgohr/Publish-Docker-Github-Action master composite
Dockerfile docker
  • python 3.7 build