Added new profile program to make a bedgraph file. This is partically the result...
[htsworkflow.git] / htswanalysis / src / SRLib / loci.cpp
index c846f8971d358eb32d8a1eacab4d01c7b1ebdcc0..779a9a46c4aafd94e518a85eb94f649293102d67 100644 (file)
@@ -1,6 +1,6 @@
 #include <string>
 #include <iostream>
-#include "Loci.h"
+#include "loci.h"
 
 using namespace std;
 
@@ -26,6 +26,10 @@ bool Loci::operator<(const Loci& a) const {
   return((this->chr == a.chr)?(this->pos < a.pos):(this->chr < a.chr));
 }
 
+bool Loci::operator==(const Loci& a) const { 
+  return(this->chr == a.chr && this->pos == a.pos);
+}
+
 bool Loci::operator<=(const Loci& a) const { 
   return((this->chr == a.chr)?(this->pos <= a.pos):(this->chr < a.chr));
 }