public class ClassifierCmd
extends java.lang.Object
| Constructor and Description |
|---|
ClassifierCmd() |
| Modifier and Type | Method and Description |
|---|---|
void |
doClassify(java.lang.String inputFile,
java.lang.String outFile,
java.lang.String propfile,
ClassificationResultFormatter.FORMAT format,
java.lang.String gene,
int min_bootstrap_words)
It classifies query sequences from the input file.
|
static void |
main(java.lang.String[] args)
This is the main method to do classification.
|
static void |
printLicense()
Prints the license information to std err.
|
public void doClassify(java.lang.String inputFile,
java.lang.String outFile,
java.lang.String propfile,
ClassificationResultFormatter.FORMAT format,
java.lang.String gene,
int min_bootstrap_words)
throws java.io.IOException,
TrainingDataException
java.io.IOExceptionTrainingDataExceptionpublic static void printLicense()
public static void main(java.lang.String[] args)
throws java.lang.Exception
Usage: java ClassifierCmd queryFile outputFile [property file].
queryFile can be one of the following formats: Fasta, Genbank and EMBL.
outputFile will be used to save the classification output.
property file contains the mapping of the training files.
Note: the training files and the property file should be in the same directory.
The default property file is set to data/classifier/16srrna/rRNAClassifier.properties.
java.lang.Exception