From f1ce529cd9ce02a02dd329b4fa4db8c4ca29315e Mon Sep 17 00:00:00 2001 From: Heng Li Date: Tue, 23 Feb 2016 11:08:11 -0500 Subject: [PATCH] added comment --- bwase.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bwase.c b/bwase.c index 64808ef..77c50db 100644 --- a/bwase.c +++ b/bwase.c @@ -113,7 +113,7 @@ bwtint_t bwa_sa2pos(const bntseq_t *bns, const bwt_t *bwt, bwtint_t sapos, int r { bwtint_t pos_f; int is_rev; - *strand = 0; + *strand = 0; // initialise strand to 0 otherwise we could return without setting it pos_f = bwt_sa(bwt, sapos); // position on the forward-reverse coordinate if (pos_f < bns->l_pac && bns->l_pac < pos_f + ref_len) return (bwtint_t)-1; pos_f = bns_depos(bns, pos_f, &is_rev); // position on the forward strand; this may be the first base or the last base