AA-miRcore/VCF-to-BED
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
#################
vcf2bed documentation
author: Nolan Kuza (nkuza8@gmail.com)
update: Jae Chan Hwang (hwangjc@umich.edu)
date: 1/5/19
updated: 9/12/22
#################
Converts a .vcf file to a .bed file.
usage: vcf2bed.py [-h] -i INPUT [-o OUTPUT]
optional arguments:
-h, --help show this help message and exit
-o OUTPUT, --output OUTPUT
The name of the file to output to (will overwrite file
if it already exists). If this argument is not
specified, output will be to stdout.
required arguments:
-i INPUT, --input INPUT
The name of the input .vcf file.
example:
There is a vcf file named genome.vcf
We want to convert it to genome.new.bed
Then run with:
python vcf2bed.py -i genome.vcf -o genome.new.bed
The program will output genome.new.bed
other:
Make sure the input file has extension .vcf