Class AlignerHelper.Subproblem
java.lang.Object
org.biojava.nbio.alignment.routines.AlignerHelper.Subproblem
- Enclosing class:
 - AlignerHelper
 
Alignment subproblem. The bounds of the subproblem are the
 indicies representing the inclusive bounds of the dynamic programming
 alignment problem.
- Author:
 - Daniel Cameron
 
- 
Constructor Summary
ConstructorsConstructorDescriptionSubproblem(int queryStartIndex, int targetStartIndex, int queryEndIndex, int targetEndIndex) Subproblem(int queryStartIndex, int targetStartIndex, int queryEndIndex, int targetEndIndex, boolean isAnchored)  - 
Method Summary
Modifier and TypeMethodDescriptionintintstatic List<AlignerHelper.Subproblem>getSubproblems(List<AlignerHelper.Anchor> anchors, int querySequenceLength, int targetSequenceLength) Convert a list of anchors into a subproblem list.intintbooleanIndicates whether the start query and start target index compounds are anchored to each other 
- 
Constructor Details
- 
Subproblem
public Subproblem(int queryStartIndex, int targetStartIndex, int queryEndIndex, int targetEndIndex)  - 
Subproblem
public Subproblem(int queryStartIndex, int targetStartIndex, int queryEndIndex, int targetEndIndex, boolean isAnchored)  
 - 
 - 
Method Details
- 
getTargetStartIndex
public int getTargetStartIndex() - 
getQueryEndIndex
public int getQueryEndIndex() - 
getTargetEndIndex
public int getTargetEndIndex() - 
getQueryStartIndex
public int getQueryStartIndex() - 
isStartAnchored
public boolean isStartAnchored()Indicates whether the start query and start target index compounds are anchored to each other- Returns:
 - true if the compounds are anchored in the alignment, false otherwise
 
 - 
getSubproblems
public static List<AlignerHelper.Subproblem> getSubproblems(List<AlignerHelper.Anchor> anchors, int querySequenceLength, int targetSequenceLength) Convert a list of anchors into a subproblem list.- Parameters:
 anchors- anchored read pairsquerySequenceLength- length of query sequencetargetSequenceLength- length of target sequence- Returns:
 - list alignment subproblems
 
 
 -