Re: [Seqan-dev] problem with interval tree - assertion failed - how to use addInterval?
- From: Mat <matthias.dodt@mdc-berlin.de>
- To: seqan-dev@lists.fu-berlin.de
- Date: Fri, 26 Nov 2010 16:14:16 +0100
- Reply-to: SeqAn Development <seqan-dev@lists.fu-berlin.de>
- Subject: Re: [Seqan-dev] problem with interval tree - assertion failed - how to use addInterval?
Hi, Okay if i so it like in the examples, it works but: How do i access "intervals" later in case i want to add an interval to the tree? then i would have to resize the "intervals" String? How does addInterval work? thanks! best, mat 2nd version >>> for(unsigned int n=0;n<numberOfContigs;++n){ std::cout << "NAME: " << fragStore.contigNameStore[n] << std::endl; std::cout << "LENGTH: " << length(fragStore.contigStore[n].seq) << std::endl; String<TInterval> intervals; resize(intervals,1); TInterval in; intervals[0].i1 = 0; intervals[0].i2 = length(fragStore.contigStore[n].seq); gip::MappedFragment f; intervals[0].cargo = f; TIntervalTree *tree = new TIntervalTree(intervals); contigMap[fragStore.contigNameStore[n]] = tree; } <<< Am 11/26/10 1:52 PM, schrieb Mat: Hey guys! |
- References:
- [Seqan-dev] problem with interval tree - assertion failed
- From: Mat <matthias.dodt@mdc-berlin.de>
- [Seqan-dev] problem with interval tree - assertion failed
-
seqan-dev - November 2010 - Archives indexes sorted by:
[ thread ] [ subject ] [ author ] [ date ] - Complete archive of the seqan-dev mailing list
- More info on this list...