Skip to content

Commit 8c40aa0

Browse files
author
Jeremiah Wala
committedAug 25, 2015
d
1 parent c224c01 commit 8c40aa0

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed
 

‎src/GenomicRegionCollection.cpp

+17-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ GRC GenomicRegionCollection<T>::complement(GRC& subject, bool ignore_strand)
485485
GRC out;
486486
// get this - that
487487

488-
#ifdef BOOST_CONFIG_HPP
488+
#ifdef BOOST_CONFIG_HPP_dum
489489
using namespace boost::icl;
490490
typedef interval_set<int> TIntervalSet;
491491

@@ -529,6 +529,22 @@ GRC GenomicRegionCollection<T>::complement(GRC& subject, bool ignore_strand)
529529

530530
#else
531531
std::cerr << "No Boost library detected. GenomicRegionCollection::complement will not function. Returning Empty GRC" << std::endl;
532+
533+
// sort this
534+
//gsort();
535+
536+
// sort that
537+
//subject.gsort();
538+
539+
subject.createTreeMap();
540+
createTreeMap();
541+
542+
std::vector<int32_t> sub, que;
543+
GRC tt = findOverlaps(subject, sub, que, true);
544+
for (auto& i : tt)
545+
std::cerr << i << std::endl;
546+
547+
532548
return out;
533549
#endif
534550

0 commit comments

Comments
 (0)
Please sign in to comment.