From 3cb18f380fc7608a8e507af096e7642ba78b5778 Mon Sep 17 00:00:00 2001 From: Aaron <aaronquinlan@gmail.com> Date: Tue, 21 Sep 2010 09:23:49 -0400 Subject: [PATCH] Updated BED struct for future fjoin alg. support. --- Makefile | 1 + src/utils/bedFile/bedFile.h | 13 +++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9393e69f..9d279003 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,7 @@ SUBDIRS = $(SRC_DIR)/annotateBed \ $(SRC_DIR)/complementBed \ $(SRC_DIR)/coverageBed \ $(SRC_DIR)/fastaFromBed \ + $(SRC_DIR)/fjoin \ $(SRC_DIR)/genomeCoverageBed \ $(SRC_DIR)/groupBy \ $(SRC_DIR)/intersectBed \ diff --git a/src/utils/bedFile/bedFile.h b/src/utils/bedFile/bedFile.h index d9cc9c15..972b6e18 100644 --- a/src/utils/bedFile/bedFile.h +++ b/src/utils/bedFile/bedFile.h @@ -89,6 +89,12 @@ struct BED { // Add'l fields for BED12 and/or custom BED annotations vector<string> otherFields; + + // experimental fields for the FJOIN approach. + bool added; + bool finished; + // list of hits from another file. + vector<BED> overlaps; public: // constructors @@ -101,7 +107,10 @@ public: name(""), score(""), strand(""), - otherFields() + otherFields(), + added(false), + finished(false), + overlaps() {} // BED3 @@ -141,10 +150,10 @@ public: strand(strand), otherFields(otherFields) {} + }; // BED - /* Structure for regular BED COVERAGE records */ -- GitLab