Skip to content

Instantly share code, notes, and snippets.

@mlawson
mlawson / vcf2bed.pl
Created January 21, 2011 20:14
Converts a vcf file (typically of indels) into a bed file
#!/usr/bin/perl
use strict;
if (scalar @ARGV != 1) {
print "vcf2bed.pl <vcf_file>\n";
exit 1;
}
my $vcfFile = $ARGV[0];