Skip to main content

Convert gVCF into BED

Project description

GVCF2BED
========

This is a small tool to convert a gVCF file to BED.
This is useful for extracting regions that pass a certain genotype quality threshold.


## Requirements

* Python 3.4+
* pyvcf

### For developers

* pytest
* pytest-cov


## Usage

```
usage: gvcf2bed.py [-h] -I INPUT -O OUTPUT [-s SAMPLE] [-q QUALITY]

Create a BED file from a gVCF. Regions are based on a minimum genotype
quality. The gVCF file must contain a GQ field in its FORMAT fields.

optional arguments:
-h, --help show this help message and exit
-I INPUT, --input INPUT
Input gVCF
-O OUTPUT, --output OUTPUT
Output bed file
-s SAMPLE, --sample SAMPLE
Sample name in VCF file to use. Will default to first
sample (alphabetically) if not supplied
-q QUALITY, --quality QUALITY
Minimum genotype quality (default 20)
```

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

gvcf2bed-0.1.1.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distributions

gvcf2bed-0.1.1-py3.4.egg (5.2 kB view hashes)

Uploaded Source

gvcf2bed-0.1.1-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

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