X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=tabix.git;a=blobdiff_plain;f=main.c;h=84e5cfc6c66a49e8b5406275e07cc6948e900694;hp=79c37083d444016b651d03ea8408988df2282ab6;hb=f14cecb6523bd4275c2858c2d54167c94db25ede;hpb=07678d3f22da823d211cb5687fe51335ed0498fd diff --git a/main.c b/main.c index 79c3708..84e5cfc 100644 --- a/main.c +++ b/main.c @@ -6,7 +6,7 @@ #include "bgzf.h" #include "tabix.h" -#define PACKAGE_VERSION "0.2.1 (r582)" +#define PACKAGE_VERSION "0.2.2 (r603)" int main(int argc, char *argv[]) { @@ -21,7 +21,7 @@ int main(int argc, char *argv[]) if (strcmp(optarg, "gff") == 0) conf = ti_conf_gff; else if (strcmp(optarg, "bed") == 0) conf = ti_conf_bed; else if (strcmp(optarg, "sam") == 0) conf = ti_conf_sam; - else if (strcmp(optarg, "vcf") == 0) conf = ti_conf_vcf; + else if (strcmp(optarg, "vcf") == 0 || strcmp(optarg, "vcf4") == 0) conf = ti_conf_vcf; else if (strcmp(optarg, "psltbl") == 0) conf = ti_conf_psltbl; else { fprintf(stderr, "[main] unrecognized preset '%s'\n", optarg);