public class ConcatenateAlignmentMode extends AbstractGobyMode
| Constructor and Description |
|---|
ConcatenateAlignmentMode() |
| Modifier and Type | Method and Description |
|---|---|
AbstractCommandLineMode |
configure(String[] args)
Configure.
|
void |
execute()
Perform the concatenation.
|
String |
getModeDescription()
Returns the mode description defined by subclasses.
|
String |
getModeName()
Returns the mode name defined by subclasses.
|
File[] |
getOutputFiles() |
static boolean |
isAllSorted(boolean upgrade,
String[] basenames) |
static boolean |
isAllSorted(String[] basenames)
Determine if all the alignments are sorted.
|
static void |
main(String[] args) |
void |
setAdjustQueryIndices(boolean adjustQueryIndices) |
void |
setAdjustSampleIndices(boolean adjustSampleIndices) |
void |
setIgnoreTmh(boolean ignoreTmh) |
void |
setInputFileNames(String[] inputFileNames) |
void |
setOutputFilename(String outputFilename) |
void |
setUpgrade(boolean upgrade)
Set this flag to false to prevent automatic alignment upgrading.
|
getJarFilename, getShortModeName, loadJsapFromResource, loadJsapFromResource, parseJsap, parseJsapArguments, parseJsapArguments, printDynamicHelpOptions, printUsage, printUsageAsHtmlTable, printUsageAsWikiTable, setJarFilenamepublic void setIgnoreTmh(boolean ignoreTmh)
public void setAdjustSampleIndices(boolean adjustSampleIndices)
public String getModeName()
AbstractCommandLineModegetModeName in class AbstractCommandLineModepublic String getModeDescription()
AbstractCommandLineModegetModeDescription in class AbstractCommandLineModepublic void setAdjustQueryIndices(boolean adjustQueryIndices)
public void setUpgrade(boolean upgrade)
upgrade - 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 AbstractCommandLineModeIOExceptionpublic static boolean isAllSorted(String[] basenames) throws IOException
basenames - Basenames of a set of alignments.IOException - If an error occurs reading an alignment.public static boolean isAllSorted(boolean upgrade,
String[] basenames)
throws IOException
IOExceptionpublic static void main(String[] args) throws IOException, com.martiansoftware.jsap.JSAPException
IOExceptioncom.martiansoftware.jsap.JSAPExceptionpublic void setInputFileNames(String[] inputFileNames)
public void setOutputFilename(String outputFilename)
public File[] getOutputFiles()
Copyright © 2017 Campagne Laboratory. All rights reserved.