public class SAMToCompactOldMode extends AbstractAlignmentToCompactMode
AbstractAlignmentToCompactMode.TransferIds| Modifier and Type | Field and Description |
|---|---|
protected String |
samBinaryFilename
Native reads output from aligner.
|
DEFAULT_M_PARAM, inputFile, largestQueryIndex, mParameter, numberOfReads, numberOfReadsFromCommandLine, outputFile, propagateQueryIds, propagateTargetIds, qualityFilter, qualityFilterParameters, queryIds, queryReadIdsFilename, readIndexFilterFile, smallestQueryIndex, targetIds, targetReferenceIdsFilename, thirdPartyInput| Constructor and Description |
|---|
SAMToCompactOldMode() |
| Modifier and Type | Method and Description |
|---|---|
AbstractCommandLineMode |
configure(String[] args)
Configure.
|
String |
getModeDescription()
Returns the mode description defined by subclasses.
|
String |
getModeName()
Returns the mode name defined by subclasses.
|
String |
getSamBinaryFilename() |
int |
getSmallestSplitQueryIndex() |
static void |
main(String[] args)
Main method.
|
static int |
produceReferenceSequence(String CIGAR,
String mdAttribute,
it.unimi.dsi.lang.MutableString readSequence,
it.unimi.dsi.lang.MutableString readPostInsertions,
it.unimi.dsi.lang.MutableString referenceSequence)
Interpret the CIGAR string and MD SAM attribute and reconstruct the reference sequence given the read sequence.
|
protected int |
scan(ReadSet readIndexFilter,
edu.cornell.med.icb.identifier.IndexedIdentifier targetIds,
AlignmentWriter writer,
AlignmentTooManyHitsWriter tmhWriter)
Scan.
|
void |
setSamBinaryFilename(String samBinaryFilename) |
createReadLengthArray, evaluateStatistics, execute, extractSequenceVariations, getOutputFile, getTargetIndex, setAmbiguityThreshold, setInputFile, setLargestQueryIndex, setNumberOfQuerySequences, setNumberOfReads, setOutputFile, setPropagateQueryIds, setPropagateTargetIds, setQualityFilterParameters, setQueryReadIdsFilename, setSmallestQueryIndex, setTargetReferenceIdsFilename, setThirdPartyInputgetJarFilename, getShortModeName, loadJsapFromResource, loadJsapFromResource, parseJsap, parseJsapArguments, parseJsapArguments, printDynamicHelpOptions, printUsage, printUsageAsHtmlTable, printUsageAsWikiTable, setJarFilenameprotected String samBinaryFilename
public String getSamBinaryFilename()
public void setSamBinaryFilename(String samBinaryFilename)
public String getModeName()
AbstractCommandLineModegetModeName in class AbstractCommandLineModepublic String getModeDescription()
AbstractCommandLineModegetModeDescription in class AbstractCommandLineModepublic AbstractCommandLineMode configure(String[] args) throws IOException, com.martiansoftware.jsap.JSAPException
configure in class AbstractAlignmentToCompactModeargs - command line argumentsIOException - error parsingcom.martiansoftware.jsap.JSAPException - error parsingprotected int scan(ReadSet readIndexFilter, edu.cornell.med.icb.identifier.IndexedIdentifier targetIds, AlignmentWriter writer, AlignmentTooManyHitsWriter tmhWriter) throws IOException
AbstractAlignmentToCompactModescan in class AbstractAlignmentToCompactModeIOException - error parsingpublic static int produceReferenceSequence(String CIGAR, String mdAttribute, it.unimi.dsi.lang.MutableString readSequence, it.unimi.dsi.lang.MutableString readPostInsertions, it.unimi.dsi.lang.MutableString referenceSequence)
CIGAR - The CIGAR string.mdAttribute - The SAM MD attributereadSequence - The sequence of the read.referenceSequence - The sequence of the reference that will be reconstructed.public static void main(String[] args) throws com.martiansoftware.jsap.JSAPException, IOException
args - command line args.com.martiansoftware.jsap.JSAPException - error parsingIOException - error parsing or executing.public int getSmallestSplitQueryIndex()
Copyright © 2017 Campagne Laboratory. All rights reserved.