Package org.biojavax.bio.seq
Interface PositionResolver
- All Known Implementing Classes:
PositionResolver.AverageResolver,PositionResolver.MaximalResolver,PositionResolver.MinimalResolver
public interface PositionResolver
Resolves a position that is fuzzy or covers a range of bases by
converting it to a single base.
- Since:
- 1.5
- Author:
- Richard Holland
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classThe minimal resolver returns the base which provides the average range, halfway between maximal and minimal.static classThe maximal resolver returns the base which provides the largest possible range.static classThe minimal resolver returns the base which provides the smallest possible range. -
Method Summary
-
Method Details
-
getMin
Resolves the minimum possible base for this position.- Parameters:
start- the position to resolve- Returns:
- the minimum possible base this resolver can return.
-
getMax
Resolves the maximum possible base for this position.- Parameters:
end- the position to resolve- Returns:
- the maximum possible base this resolver can return.
-