java.lang.Object
org.biojava.nbio.alignment.template.AbstractScorer
org.biojava.nbio.alignment.template.AbstractMatrixAligner<S,C>
 
org.biojava.nbio.alignment.template.AbstractPairwiseSequenceAligner<S,C>
 
org.biojava.nbio.alignment.routines.AnchoredPairwiseSequenceAligner<S,C>
 
org.biojava.nbio.alignment.routines.GuanUberbacher<S,C> 
- Type Parameters:
- S- each- Sequenceof the alignment pair is of type S
- C- each element of an- AlignedSequenceis a- Compoundof type C
- All Implemented Interfaces:
- Aligner<S,,- C> - MatrixAligner<S,,- C> - PairwiseSequenceAligner<S,,- C> - PairwiseSequenceScorer<S,,- C> - Scorer
public class GuanUberbacher<S extends Sequence<C>,C extends Compound> 
extends AnchoredPairwiseSequenceAligner<S,C> 
Guan and Uberbacher defined an algorithm for pairwise global sequence alignments (from the first until the last
 
Compound of each Sequence).  This class performs such global sequence comparisons efficiently by
 dynamic programming with a space requirement reduced from quadratic (a multiple of query sequence length times
 target sequence length) to only linear (a multiple of query sequence length).  The counterpoint to this reduction in
 space complexity is a modest (a multiple < 2) increase in time.- Author:
- Mark Chapman
- 
Field SummaryFields inherited from class org.biojava.nbio.alignment.template.AbstractPairwiseSequenceAlignerpairFields inherited from class org.biojava.nbio.alignment.template.AbstractMatrixAligneranchors, cutsPerSection, gapPenalty, max, min, profile, score, scores, time, xyMax, xyStart
- 
Constructor SummaryConstructorsConstructorDescriptionBefore running a pairwise global sequence alignment, data must be sent in via calls toAbstractPairwiseSequenceAligner.setQuery(Sequence),AbstractPairwiseSequenceAligner.setTarget(Sequence),AbstractMatrixAligner.setGapPenalty(GapPenalty), andAbstractMatrixAligner.setSubstitutionMatrix(SubstitutionMatrix).GuanUberbacher(S query, S target, GapPenalty gapPenalty, SubstitutionMatrix<C> subMatrix) Prepares for a pairwise global sequence alignment.GuanUberbacher(S query, S target, GapPenalty gapPenalty, SubstitutionMatrix<C> subMatrix, int cutsPerSection) Prepares for a pairwise global sequence alignment.
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the number of cuts added to each section during each pass.voidsetCutsPerSection(int cutsPerSection) Sets the number of cuts added to each section during each pass.static voidsetDefaultCutsPerSection(int defaultCutsPerSection) Sets the default number of cuts added to each section during each pass.Methods inherited from class org.biojava.nbio.alignment.routines.AnchoredPairwiseSequenceAligneraddAnchor, getAnchors, setAnchors, setProfileMethods inherited from class org.biojava.nbio.alignment.template.AbstractPairwiseSequenceAlignergetCompoundSet, getCompoundsOfQuery, getCompoundsOfTarget, getPair, getQuery, getScoreMatrixDimensions, getSubstitutionScore, getTarget, isReady, reset, setQuery, setTargetMethods inherited from class org.biojava.nbio.alignment.template.AbstractMatrixAligneralign, getComputationTime, getGapPenalty, getMaxScore, getMinScore, getProfile, getScore, getScoreMatrix, getScoreMatrixAsString, getSubstitutionMatrix, getSubstitutionScoreVector, getSubstitutionScoreVector, isLocal, isStoringScoreMatrix, setGapPenalty, setStoringScoreMatrix, setSubstitutionMatrixMethods inherited from class org.biojava.nbio.alignment.template.AbstractScorergetDistance, getDistance, getSimilarity, getSimilarityMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.biojava.nbio.alignment.template.AlignergetComputationTime, getProfileMethods inherited from interface org.biojava.nbio.alignment.template.ScorergetDistance, getDistance, getMaxScore, getMinScore, getScore, getSimilarity, getSimilarity
- 
Constructor Details- 
GuanUberbacherpublic GuanUberbacher()Before running a pairwise global sequence alignment, data must be sent in via calls toAbstractPairwiseSequenceAligner.setQuery(Sequence),AbstractPairwiseSequenceAligner.setTarget(Sequence),AbstractMatrixAligner.setGapPenalty(GapPenalty), andAbstractMatrixAligner.setSubstitutionMatrix(SubstitutionMatrix).
- 
GuanUberbacherPrepares for a pairwise global sequence alignment.
- 
GuanUberbacherpublic GuanUberbacher(S query, S target, GapPenalty gapPenalty, SubstitutionMatrix<C> subMatrix, int cutsPerSection) Prepares for a pairwise global sequence alignment.- Parameters:
- query- the first- Sequenceof the pair to align
- target- the second- Sequenceof the pair to align
- gapPenalty- the gap penalties used during alignment
- subMatrix- the set of substitution scores used during alignment
- cutsPerSection- the number of cuts added to each section during each pass
 
 
- 
- 
Method Details- 
setDefaultCutsPerSectionSets the default number of cuts added to each section during each pass.- Parameters:
- defaultCutsPerSection- the default number of cuts added to each section during each pass
 
- 
getCutsPerSectionReturns the number of cuts added to each section during each pass.- Returns:
- the number of cuts added to each section during each pass
 
- 
setCutsPerSectionSets the number of cuts added to each section during each pass.- Parameters:
- cutsPerSection- the number of cuts added to each section during each pass
 
 
-