public abstract class AbstractBatchAligner<S extends Sequence<S>,H extends AlignmentHit<S,?>> extends Object implements BatchAligner<S,H>, PipedBatchAligner<S,H>
| Modifier and Type | Field and Description |
|---|---|
protected int |
threads
0 -> Runtime.getRuntime().availableProcessors()
1 -> process in the same thread as take() method call
2...
|
| Constructor and Description |
|---|
AbstractBatchAligner() |
| Modifier and Type | Method and Description |
|---|---|
<Q extends HasSequence<S>> |
align(cc.redberry.pipe.OutputPort<Q> input)
Starts processing of input sequences and returns pipe of results.
|
<Q> cc.redberry.pipe.OutputPort<PipedAlignmentResult<H,Q>> |
align(cc.redberry.pipe.OutputPort<Q> input,
SequenceExtractor<Q,S> extractor)
Starts processing of input sequences and returns pipe of results.
|
abstract AlignmentResult<H> |
align(S sequence) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitalignprotected volatile int threads
public abstract AlignmentResult<H> align(S sequence)
align in interface BatchAligner<S extends Sequence<S>,H extends AlignmentHit<S,?>>public <Q> cc.redberry.pipe.OutputPort<PipedAlignmentResult<H,Q>> align(cc.redberry.pipe.OutputPort<Q> input, SequenceExtractor<Q,S> extractor)
PipedBatchAligneralign in interface PipedBatchAligner<S extends Sequence<S>,H extends AlignmentHit<S,?>>Q - type of query objectinput - pipe of queriesextractor - extractor of sequences from query objectpublic <Q extends HasSequence<S>> cc.redberry.pipe.OutputPort<PipedAlignmentResult<H,Q>> align(cc.redberry.pipe.OutputPort<Q> input)
PipedBatchAligneralign in interface PipedBatchAligner<S extends Sequence<S>,H extends AlignmentHit<S,?>>Q - type of query objectsinput - pipe of queriesCopyright © 2018. All rights reserved.