The Index requires the refernece from a FastaFile (not shown)
May optionally use an Aligner
MatchMaker for post-processing pair-end reads, if applicable
Requires access to an Index and an Aligner
The typical way to build an aligner executable is as follows:
FastaFile to read refernece
create an Index by loading or building a new one
create an Aligner with user-set penalty values
create a Mapper using the above two objects
create a MatchMaker only if dealing with pair end (PE) reads
create a FastqFile (or two in PE), using files with reads
create a SamFile
create a Driver using the above three (or four, for PE)
Run() the Driver
I don't see anything horribly wrong with it... as it's built various usable aligners, but I don't see anything wonderful about it either, being built without much planning.
-- Main.jujubix - 26 May 2010