X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=misc%2Fsamtools.pl;h=a26ac10f47ad76cc273966b6f5ec1e05889a715b;hb=d5bc855849345e49683f398c766794cf16b01b6c;hp=6fba900efce35bee3907a2725cee4c5127789d32;hpb=0032bb2050f78182baa7fbf9b959540dce4636bd;p=samtools.git diff --git a/misc/samtools.pl b/misc/samtools.pl index 6fba900..a26ac10 100755 --- a/misc/samtools.pl +++ b/misc/samtools.pl @@ -6,7 +6,7 @@ use strict; use warnings; use Getopt::Std; -my $version = '0.2.0'; +my $version = '0.2.1'; &usage if (@ARGV < 1); my $command = shift(@ARGV); @@ -82,7 +82,7 @@ Options: -D INT maximum read depth [$opts{D}] sub snpFilter { my %opts = (f=>'', Q=>40, d=>3, w=>10, D=>0, N=>2, W=>10, q=>20, s=>50); - getopts('fs:w:q:Q:d:D:W:N:', \%opts); + getopts('f:s:w:q:Q:d:D:W:N:', \%opts); die(qq{ Usage: samtools.pl snpFilter [options]