public class ReadQualityStatsMode extends AbstractGobyMode
| Constructor and Description |
|---|
ReadQualityStatsMode() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInputFile(File inputFile)
Add the specified file to the list of files to process.
|
AbstractCommandLineMode |
configure(String[] args)
Configure.
|
void |
execute()
Display the alignments as text files.
|
List<File> |
getInputFiles()
Get the list of files (reads/alignments) to process.
|
String |
getModeDescription()
Returns the mode description defined by subclasses.
|
String |
getModeName()
Returns the mode name defined by subclasses.
|
long |
getNumberOfObservedReads()
Number of reads observed because of sampleFraction value < 1.0d.
|
long |
getNumberOfSkippedReads()
Number of reads skipped because of sampleFraction value < 1.0d.
|
File |
getOutputFile()
Get the output file.
|
double |
getSampleFraction()
The percentage of reads to process.
|
static void |
main(String[] args)
Main method.
|
void |
setOutputFile(File outputFile)
Set the output file.
|
void |
setSampleFraction(double sampleFraction)
The precentage of reads to process.
|
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 double getSampleFraction()
public void setSampleFraction(double sampleFraction)
sampleFraction - The percentage of reads to processpublic List<File> getInputFiles()
public void addInputFile(File inputFile)
inputFile - The file to processpublic File getOutputFile()
public void setOutputFile(File outputFile)
outputFile - the output filepublic long getNumberOfSkippedReads()
public long getNumberOfObservedReads()
public void execute()
throws IOException
execute in class AbstractCommandLineModeIOException - error reading / writingpublic 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.Copyright © 2018 Campagne Laboratory. All rights reserved.