[Seqan-dev] adding contig to fragmentStore.contigStore
- From: Mat <matthias.dodt@mdc-berlin.de>
- To: SeqAn Development <seqan-dev@lists.fu-berlin.de>
- Date: Fri, 06 May 2011 14:55:17 +0200
- Reply-to: SeqAn Development <seqan-dev@lists.fu-berlin.de>
- Subject: [Seqan-dev] adding contig to fragmentStore.contigStore
Hey guys! Does anybody have an advice on how to add a single contig (from a CharString) to a contigStore? I only found "assingSeq()" which seems to work only on memory mapped files-? I guess it should be something like: ... CharString newContig; .. .. unsigned seqOfs = length(TDataManager::getInstance()->fragStore.contigStore); resize(TDataManager::getInstance()->fragStore.contigStore, seqOfs + 1, Generous()); resize(TDataManager::getInstance()->fragStore.contigNameStore, seqOfs + 1, Generous()); assignSeq(TDataManager::getInstance()->fragStore.contigStore[seqOfs + i].seq, newContig, ?); And how to add a name later on to the contigNameStore? Thanks! |
- Follow-Ups:
- Re: [Seqan-dev] adding contig to fragmentStore.contigStore
- From: "Holtgrewe, Manuel" <manuel.holtgrewe@fu-berlin.de>
- Re: [Seqan-dev] adding contig to fragmentStore.contigStore
-
seqan-dev - May 2011 - Archives indexes sorted by:
[ thread ] [ subject ] [ author ] [ date ] - Complete archive of the seqan-dev mailing list
- More info on this list...