[Seqan-dev] loading SeedSets cargos into maps


Hi,

I tried to use a map (skiplist) loaded with an __int64 key and a seedSet cargo but get a compiler error. Is there a size limit as to what load of a cargo or what type of cargo can be used?

Sample code:

typedef SeedSet< int, SimpleSeed,  DefaultNoScore , void > TSeedSet;
typedef Pair< int, TSeedSet> TSkipValue;
typedef Map< TSkipValue , Skiplist< > > TDiagMap;
SeedSet< int, SimpleSeed,  DefaultNoScore , void > seedset(100, 0);
TDiagMap diagMap;
insert(diagMap, 1, seedset);

throws:

seqan/seeds/memoryManager_int.h:185: error: cannot convert 'const seqan::Seed<int, const seqan::Tag<seqan::_Seed_simple> >' to 'size_t' in assignment seqan/seeds/memoryManager_int.h:185: error: cannot convert 'const seqan::Seed<int, const seqan::Tag<seqan::_Seed_simple> >' to 'size_t' in assignment seqan/seeds/memoryManager_int.h:185: error: cannot convert 'const seqan::Seed<int, const seqan::Tag<seqan::_Seed_simple> >' to 'size_t' in assignment

I did put in a ticket for this as well.

On a minor note seed_base and the seedSet_base are missing the "= operator" implementation.

Seed & operator = (Seed const &orig)


Cheers,
Fabian

--
Fabian Buske
Institute for Molecular Bioscience
The University of Queensland Brisbane, Qld. 4072 Australia
Phone: (61)-(7)-334-62608