Skip to content
Snippets Groups Projects
Commit 42548a08 authored by Aaron's avatar Aaron
Browse files

Made bedToIgv filenames Windows friendly. Thanks to Jiam Wang

parent 74a725fd
No related branches found
No related tags found
No related merge requests found
......@@ -232,7 +232,7 @@ void ProcessBed(istream &bedInput, BedFile *bed, string path, string sortType, s
while ((bedStatus = bed->GetNextBed(bedEntry, lineNum)) != BED_INVALID) {
if (bedStatus == BED_VALID) {
string filename = bedEntry.chrom + ":" + ToString(bedEntry.start) + "-" + ToString(bedEntry.end);
string filename = bedEntry.chrom + "_" + ToString(bedEntry.start) + "_" + ToString(bedEntry.end);
string locus = bedEntry.chrom + ":" + ToString(bedEntry.start - slop) + "-" + ToString(bedEntry.end + slop);
if (useNames == true) {
......
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