From ff84ea8208b50ceb1fec7e568a4cea16e444f352 Mon Sep 17 00:00:00 2001 From: Georgi Tushev Date: Thu, 13 Oct 2016 17:24:04 +0200 Subject: [PATCH] fixed 1-based position at negative strand --- htsutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htsutils.c b/htsutils.c index eb61e7a..76a9911 100644 --- a/htsutils.c +++ b/htsutils.c @@ -86,7 +86,7 @@ void hts_parse(hts_config_t *hts, aux_config_t *aux) polySize_tail = findPoly(hts->bam, 'T', POLY_HEAD); // define last base - base = hts->bam->core.pos; + base = hts->bam->core.pos + 1; } else {