ec.app.sequence
Class SequenceFeatureGenerator
java.lang.Object
ec.app.sequence.SequenceFeatureGenerator
public class SequenceFeatureGenerator
- extends java.lang.Object
Field Summary |
boolean |
cleanOnly
|
static org.biojava.utils.regex.PatternFactory |
factory
|
Method Summary |
void |
generateLibSVMFile(java.io.File gpFile)
|
static void |
main(java.lang.String[] args)
|
void |
setup(java.lang.String fileName)
This method reads the sequences from File with labels +1, -1
and tries to put it in right buckets. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cleanOnly
public boolean cleanOnly
factory
public static org.biojava.utils.regex.PatternFactory factory
SequenceFeatureGenerator
public SequenceFeatureGenerator()
generateLibSVMFile
public void generateLibSVMFile(java.io.File gpFile)
throws java.lang.Exception
- Throws:
java.lang.Exception
setup
public void setup(java.lang.String fileName)
- This method reads the sequences from File with labels +1, -1
and tries to put it in right buckets.
It also initializes factor for IUPAC parsing etc
- Parameters:
fileName
-
main
public static void main(java.lang.String[] args)