From 5b293cfd38146078f053577d7d85b920e6eb0725 Mon Sep 17 00:00:00 2001
From: Aaron <aaronquinlan@gmail.com>
Date: Fri, 25 Nov 2011 13:21:35 -0500
Subject: [PATCH] Fiex off-by-one in linksBed.

---
 src/linksBed/linksBed.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/linksBed/linksBed.cpp b/src/linksBed/linksBed.cpp
index bf1a74c8..2adb5dea 100644
--- a/src/linksBed/linksBed.cpp
+++ b/src/linksBed/linksBed.cpp
@@ -43,7 +43,7 @@ void BedLinks::WriteURL(BED &bed, string &base) {
     cout << "<tr>" << endl;
         cout << "\t<td>" << endl;
             cout << "\t\t<a href=" << base << position << ">";
-            cout << bed.chrom << ":" << bed.start << "-" << bed.end;
+            cout << bed.chrom << ":" << bed.start+1 << "-" << bed.end;
             cout << "</a>" << endl;
         cout << "\t</td>" << endl;
 
-- 
GitLab