X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=tabix.git;a=blobdiff_plain;f=main.c;h=02daedf80d2b7894ecfa656314290f123e89fbc2;hp=faef7fbcfcd2cfba03b104c17d3678fbeb90c527;hb=e6ba78ac1e0c41c4256dd385895352236d80426a;hpb=bc08e6c2f34c1367d0fe75dd19cedccfab881229 diff --git a/main.c b/main.c index faef7fb..02daedf 100644 --- a/main.c +++ b/main.c @@ -5,7 +5,7 @@ #include "bgzf.h" #include "tabix.h" -#define PACKAGE_VERSION "0.1.0 (r506)" +#define PACKAGE_VERSION "0.1.1 (r542)" static int fetch_func(int l, const char *s, void *data) { @@ -82,6 +82,7 @@ int main(int argc, char *argv[]) for (i = optind + 1; i < argc; ++i) { int tid, beg, end; if (ti_parse_region(idx, argv[i], &tid, &beg, &end) == 0) { + fprintf(stderr, "%d,%d\n", beg, end); ti_fetch(fp, idx, tid, beg, end, 0, fetch_func); } else fprintf(stderr, "[main] invalid region: unknown target name or minus interval.\n"); }