public interface SmithWatermanAligner
extends java.io.Closeable
Modifier and Type | Interface and Description |
---|---|
static class |
SmithWatermanAligner.Implementation |
Modifier and Type | Field and Description |
---|---|
static org.apache.logging.log4j.Logger |
logger |
static org.broadinstitute.gatk.nativebindings.smithwaterman.SWParameters |
ORIGINAL_DEFAULT |
static org.broadinstitute.gatk.nativebindings.smithwaterman.SWParameters |
STANDARD_NGS |
Modifier and Type | Method and Description |
---|---|
SmithWatermanAlignment |
align(byte[] ref,
byte[] alt,
org.broadinstitute.gatk.nativebindings.smithwaterman.SWParameters parameters,
org.broadinstitute.gatk.nativebindings.smithwaterman.SWOverhangStrategy overhangStrategy)
perform a Smith-Waterman alignment of alt against ref
|
default void |
close()
Implementations may optionally implement close in order to release any resources that they are holding.
|
static SmithWatermanAligner |
getAligner(SmithWatermanAligner.Implementation type)
Factory method to get an instance of an aligner corresponding to the given implementation
|
static final org.apache.logging.log4j.Logger logger
static final org.broadinstitute.gatk.nativebindings.smithwaterman.SWParameters ORIGINAL_DEFAULT
static final org.broadinstitute.gatk.nativebindings.smithwaterman.SWParameters STANDARD_NGS
SmithWatermanAlignment align(byte[] ref, byte[] alt, org.broadinstitute.gatk.nativebindings.smithwaterman.SWParameters parameters, org.broadinstitute.gatk.nativebindings.smithwaterman.SWOverhangStrategy overhangStrategy)
ref
- bases to align to, values must be the byte equivalent of uppercase charsalt
- bases to align against ref, values must be the byte equivalent of uppercase charsparameters
- a set of weights to use when performing the alignmentoverhangStrategy
- how to treat overhangs during alignmentdefault void close()
align(byte[], byte[], SWParameters, SWOverhangStrategy)
after close must not return an incorrect
or invalid alignment, but otherwise the behavior is undefined.
If a subclass implements close it's recommended that subsequent calls to align after a call to close should
throw IllegalStateException
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
static SmithWatermanAligner getAligner(SmithWatermanAligner.Implementation type)