Skip to content
Snippets Groups Projects
Commit 5b293cfd authored by Aaron's avatar Aaron
Browse files

Fiex off-by-one in linksBed.

parent 3491dd54
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,7 @@ void BedLinks::WriteURL(BED &bed, string &base) { ...@@ -43,7 +43,7 @@ void BedLinks::WriteURL(BED &bed, string &base) {
cout << "<tr>" << endl; cout << "<tr>" << endl;
cout << "\t<td>" << endl; cout << "\t<td>" << endl;
cout << "\t\t<a href=" << base << position << ">"; 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 << "</a>" << endl;
cout << "\t</td>" << endl; cout << "\t</td>" << endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment