you will find an introduction to the two position types for multiple sequences in the tutorial:
There is a link to the metafunction SAValue which can be overloaded to change the position type used by an index:
The ESA index Index<TText, IndexEsa<> > as well as most of the subclasses that whose a TSpec argument is Foo<> (and not Foo) can be further specialized in the form Foo<MoreSpecial<> > and Foo<MoreSpecial<EvenMoreSpecial<> > > and so on. That leaves room for further enhancements or specializations like a custom SAValue.
template <typename TText>
struct SAValue<Index<TText, IndexEsa<MyIndex> > >
typedef Pair<unsigned, unsigned, BitCompressed<19,13> > Type;
Would it have helped if that was a part of the tutorial? Or where would you search for that example?
David Weese email@example.com
Freie Universität Berlin http://www.inf.fu-berlin.de/
Institut für Informatik Phone: +49 30 838 75246
Takustraße 9 Algorithmic Bioinformatics
14195 Berlin Room 021
Am 27.07.2011 um 14:19 schrieb John Reid: