Skip to main content

A tool to annotate VCF files using genome stratification files, targeting difficult regions.

Project description

VarStrat

A tool for annotating VCF files using genome stratification files, targeting difficult regions.

Description

VarStrat is designed to annotate VCF (Variant Call Format) files using genome stratification files. It focuses on difficult regions, providing comprehensive annotations to aid in variant analysis.

Installation

Use the package manager pip to install VarStrat.

pip install varstrat

Usage

To use the tool from the command line:

varstrat --input_vcf input.vcf --output_vcf output.vcf --data_source data_source

Command-line Options

usage: varstrat [-h] --input_vcf INPUT_VCF --output_vcf OUTPUT_VCF --data_source DATA_SOURCE

A tool for stratifying genetic variants.

optional arguments:
  -h, --help            show this help message and exit
  --input_vcf INPUT_VCF
                        Path to the input VCF file. The file can be in VCF or VCF.GZ format.
  --output_vcf OUTPUT_VCF
                        Path to the output VCF file. The output will be a .vcf file.
  --data_source DATA_SOURCE
                        Path to the data source directory containing stratification regions.

Parameters Explanation

  • input_vcf: Path to the input VCF file. The file can be in .vcf or .vcf.gz format.

  • output_vcf: Path to the output VCF file. The output will be a .vcf file.

  • data_source: Path to the data source directory containing stratification regions. The directory should have the following structure:

    data_source/
    ├── Region_name_1
    │   ├── sub_region_1.bed.gz
    │   ├── sub_region_2.bed.gz
    ├── Region_name_2
    │   ├── sub_region_1.bed.gz
    │   ├── sub_region_2.bed.gz
    ...
    

    Each region is represented by a folder containing one or more .bed.gz files that specify sub-regions.

    You can check at genome-stratification for more information about the data source.

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

varstrat-0.1.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

varstrat-0.1.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file varstrat-0.1.1.tar.gz.

File metadata

  • Download URL: varstrat-0.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for varstrat-0.1.1.tar.gz
Algorithm Hash digest
SHA256 664be4db554ffcaa3a28778d63dc0b7aca576bf7d9f377207053f1eb912c091d
MD5 cf866c678d2f386f6bfd3e2b266289b2
BLAKE2b-256 25fb4ddbd7ab8dd573a0875993da2bda2d751fc43f6d0041ed84aa888592e04f

See more details on using hashes here.

File details

Details for the file varstrat-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: varstrat-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for varstrat-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b6fb532a174e7e89126f1229896270e2ff20fcfc1c7d431a8510268d9cdb6018
MD5 e1d5466cf3e7a646c6cfc43788942d54
BLAKE2b-256 2c7469b4c5868b368f11a55911fc63fa08194c9253e92e00673c508c0f77c13c

See more details on using hashes here.

Supported by

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