public class ReformatCompactReadsMode extends AbstractGobyMode
| Constructor and Description |
|---|
ReformatCompactReadsMode() |
| Modifier and Type | Method and Description |
|---|---|
AbstractCommandLineMode |
configure(String[] args)
Configure.
|
void |
execute()
Reformat compact reads.
|
long |
getEndPosition()
Get the end position.
|
int |
getMaxReadLength() |
int |
getMinReadLength() |
String |
getModeDescription()
Returns the mode description defined by subclasses.
|
String |
getModeName()
Returns the mode name defined by subclasses.
|
String[] |
getOutputFilenames()
Returns the set of filenames where data was output.
|
int |
getSequencePerChunk() |
long |
getStartPosition()
Get the start position.
|
int |
getTrimReadLength() |
static void |
main(String[] args) |
void |
setEndPosition(long endPosition)
Set the end position.
|
void |
setInputFilenames(File... files) |
void |
setInputFilenames(String... filenames) |
void |
setMaxReadLength(int maxReadLength) |
void |
setMinReadLength(int minReadLength) |
void |
setOutputFile(String output) |
void |
setReadIndexFilterFile(File readIndexFilterFile) |
void |
setSequencePerChunk(int sequencePerChunk) |
void |
setSequencePerOutput(int sequencePerOutput)
Set the number of sequences per output file.
|
void |
setStartPosition(long startPosition)
Set the start position.
|
void |
setTrimReadLength(int trimReadLength) |
void |
setTrimStart(int startTrim) |
void |
setWriter(ReadsWriter writer) |
getJarFilename, getShortModeName, loadJsapFromResource, loadJsapFromResource, parseJsap, parseJsapArguments, parseJsapArguments, printDynamicHelpOptions, printUsage, printUsageAsHtmlTable, printUsageAsWikiTable, setJarFilenamepublic 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 AbstractCommandLineModeargs - command line argumentsIOException - error parsingcom.martiansoftware.jsap.JSAPException - error parsingpublic void setReadIndexFilterFile(File readIndexFilterFile)
public void execute()
throws IOException
execute in class AbstractCommandLineModeIOExceptionpublic void setInputFilenames(String... filenames)
public void setInputFilenames(File... files)
public void setSequencePerOutput(int sequencePerOutput)
sequencePerOutput - number of sequences per output file.public String[] getOutputFilenames()
public void setOutputFile(String output)
public void setEndPosition(long endPosition)
endPosition - the start positionpublic long getEndPosition()
public void setStartPosition(long startPosition)
startPosition - the start positionpublic long getStartPosition()
public int getMinReadLength()
public void setMinReadLength(int minReadLength)
public int getMaxReadLength()
public void setMaxReadLength(int maxReadLength)
public int getTrimReadLength()
public void setTrimReadLength(int trimReadLength)
public int getSequencePerChunk()
public void setSequencePerChunk(int sequencePerChunk)
public static void main(String[] args) throws IOException, com.martiansoftware.jsap.JSAPException
IOExceptioncom.martiansoftware.jsap.JSAPExceptionpublic void setWriter(ReadsWriter writer)
public void setTrimStart(int startTrim)
Copyright © 2017 Campagne Laboratory. All rights reserved.