From 8c40aa0dd548766244f010580701d26e61306eda Mon Sep 17 00:00:00 2001 From: Jeremiah Wala Date: Tue, 25 Aug 2015 17:19:49 -0400 Subject: [PATCH] d --- src/GenomicRegionCollection.cpp | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/GenomicRegionCollection.cpp b/src/GenomicRegionCollection.cpp index 719485cfd..b376cda7c 100644 --- a/src/GenomicRegionCollection.cpp +++ b/src/GenomicRegionCollection.cpp @@ -485,7 +485,7 @@ GRC GenomicRegionCollection::complement(GRC& subject, bool ignore_strand) GRC out; // get this - that -#ifdef BOOST_CONFIG_HPP +#ifdef BOOST_CONFIG_HPP_dum using namespace boost::icl; typedef interval_set TIntervalSet; @@ -529,6 +529,22 @@ GRC GenomicRegionCollection::complement(GRC& subject, bool ignore_strand) #else std::cerr << "No Boost library detected. GenomicRegionCollection::complement will not function. Returning Empty GRC" << std::endl; + + // sort this + //gsort(); + + // sort that + //subject.gsort(); + + subject.createTreeMap(); + createTreeMap(); + + std::vector sub, que; + GRC tt = findOverlaps(subject, sub, que, true); + for (auto& i : tt) + std::cerr << i << std::endl; + + return out; #endif