]> git.donarmstrong.com Git - rsem.git/blobdiff - wiggle.h
Removed Mac ._* files from repo
[rsem.git] / wiggle.h
index 1f3759230651b0ca16921495ca2ed29384fb4486..f94a0be39d573cd529474ad56748f4a089cf6154 100644 (file)
--- a/wiggle.h
+++ b/wiggle.h
@@ -1,11 +1,16 @@
+#ifndef WIGGLE_H_
+#define WIGGLE_H_
+
 #include <cstdio>
 #include <string>
 #include <vector>
 #include <ostream>
 
+extern bool no_fractional_weight; // if no_frac_weight == true, each alignment counts as weight 1
+
 struct Wiggle {
     std::string name;
-    std::vector<float> read_depth;
+    std::vector<double> read_depth;
     size_t length;
 };
 
@@ -40,3 +45,5 @@ private:
 
 void build_wiggles(const std::string& bam_filename,
                    WiggleProcessor& processor);
+
+#endif