public class AnnotationPenaltyMode extends AbstractGobyMode
| Constructor and Description |
|---|
AnnotationPenaltyMode() |
| Modifier and Type | Method and Description |
|---|---|
AbstractCommandLineMode |
configure(String[] args)
Configure.
|
void |
execute()
Run the mode.
|
String |
getModeDescription()
Returns the mode description defined by subclasses.
|
String |
getModeName()
Returns the mode name defined by subclasses.
|
double |
getScore() |
static void |
main(String[] args)
Main method.
|
it.unimi.dsi.fastutil.objects.Object2ObjectMap<String,it.unimi.dsi.fastutil.objects.ObjectList<Annotation>> |
readAnnotations(String annotFile)
Read tab delimited annotation file including 6 columns : chromosome, strand, transcriptID,
segmentID, start, end each row is a segment, read each chromosome at a time.
|
getJarFilename, getShortModeName, loadJsapFromResource, loadJsapFromResource, parseJsap, parseJsapArguments, parseJsapArguments, printDynamicHelpOptions, printUsage, printUsageAsHtmlTable, printUsageAsWikiTable, setJarFilenamepublic String getModeName()
AbstractCommandLineModegetModeName in class AbstractCommandLineModepublic String getModeDescription()
AbstractCommandLineModegetModeDescription in class AbstractCommandLineModepublic double getScore()
public 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 execute()
throws IOException
execute in class AbstractCommandLineModeIOException - error reading / writingpublic it.unimi.dsi.fastutil.objects.Object2ObjectMap<String,it.unimi.dsi.fastutil.objects.ObjectList<Annotation>> readAnnotations(String annotFile) throws IOException
annotFile - IOExceptionpublic 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 © 2017 Campagne Laboratory. All rights reserved.