]> git.donarmstrong.com Git - rsem.git/blobdiff - wiggle.h
Updated README.md and WHAT_IS_NEW
[rsem.git] / wiggle.h
index 09cc4f9ad30141381a36ab45d5704afcf09076cb..f94a0be39d573cd529474ad56748f4a089cf6154 100644 (file)
--- a/wiggle.h
+++ b/wiggle.h
@@ -1,11 +1,17 @@
+#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;
 };
 
 class WiggleProcessor {
@@ -39,3 +45,5 @@ private:
 
 void build_wiggles(const std::string& bam_filename,
                    WiggleProcessor& processor);
+
+#endif