Class BlastLikeHomologyBuilder

java.lang.Object
org.biojava.bio.program.ssbind.ViewSequenceFactory
org.biojava.bio.program.ssbind.BlastLikeHomologyBuilder
All Implemented Interfaces:
SearchContentHandler

BlastLikeHomologyBuilder populates a List with Homology instances created from SAX events supplied via a SeqSimilarityAdapter. The SAX events should describe elements conforming to the BioJava BlastLikeDataSetCollection DTD. Suitable sources are BlastLikeSAXParser or FastaSAXParser. Annotated ViewSequences wrapping both query and subject sequences are created and populated with HomologyFeatures. See the documentation of Homology and HomologyFeature.

As SimpleHomologyFeatures are created on views of the query and subject sequences, both query and subject should be nucleotide sequences (SimpleHomologyFeature extends StrandedFeature.). This limits the searches currently handled to BLASTN, TBLASTX and Fasta DNA.

Since:
1.2
Author:
Keith James, Greg Cox