S - type of sequenceP - type of record payload, used to store additional information along with sequence to simplify it's
subsequent identification in result (e.g. Integer to just index sequences.public class SimpleBatchAligner<S extends Sequence<S>,P> extends AbstractBatchAligner<S,AlignmentHit<S,P>> implements BatchAlignerWithBase<S,P,AlignmentHit<S,P>>
BatchAligner, which aligns target sequence with all subjects using classical (low
performance) alignment algorithms.threads| Constructor and Description |
|---|
SimpleBatchAligner(SimpleBatchAlignerParameters<S> parameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
addReference(S sequence,
P payload)
Adds a record to the base of this aligner (a set of subject sequences that this instance aligns queries
with).
|
AlignmentResult<AlignmentHit<S,P>> |
align(S sequence) |
AlignmentResult<AlignmentHit<S,P>> |
align(S sequence,
int from,
int to) |
align, alignpublic SimpleBatchAligner(SimpleBatchAlignerParameters<S> parameters)
public void addReference(S sequence, P payload)
WithBaseaddReference in interface WithBase<S extends Sequence<S>,P>sequence - sequencepayload - payload to store additional information with this record (can be retrieved from resulting AlignmentHit)public AlignmentResult<AlignmentHit<S,P>> align(S sequence, int from, int to)
align in interface BatchAligner<S extends Sequence<S>,AlignmentHit<S extends Sequence<S>,P>>public AlignmentResult<AlignmentHit<S,P>> align(S sequence)
align in interface BatchAligner<S extends Sequence<S>,AlignmentHit<S extends Sequence<S>,P>>align in class AbstractBatchAligner<S extends Sequence<S>,AlignmentHit<S extends Sequence<S>,P>>Copyright © 2018. All rights reserved.