public abstract class BlastAlignerExtAbstract<S extends Sequence<S>,H extends BlastHitExt<S>> extends Object implements PipedBatchAligner<S,H>
| Constructor and Description |
|---|
BlastAlignerExtAbstract(BlastDB database) |
BlastAlignerExtAbstract(BlastDB database,
BlastAlignerParameters parameters) |
| 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.
|
protected abstract H |
createHit(Alignment<S> alignment,
double score,
double bitScore,
double eValue,
Range subjectRange,
String subjectId,
String subjectTitle) |
void |
setConcurrentBlastProcessCount(int processCount)
Sets the number of concurrent BLAST processes to serve a single alignment session (single
align(OutputPort) or align(OutputPort, SequenceExtractor method invocation). |
public BlastAlignerExtAbstract(BlastDB database)
public BlastAlignerExtAbstract(BlastDB database, BlastAlignerParameters parameters)
public void setConcurrentBlastProcessCount(int processCount)
align(OutputPort) or align(OutputPort, SequenceExtractor method invocation).processCount - number of concurrent processespublic <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 BlastHitExt<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 BlastHitExt<S>>Q - type of query objectsinput - pipe of queriesCopyright © 2018. All rights reserved.