public class MotifsReader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
fileName |
protected static java.lang.String |
MOTIFS_CENTERPOS_TAG |
protected java.util.ArrayList<MotifData> |
motifs_db |
protected static java.lang.String |
MOTIFS_FRACTION_TAG |
protected static java.lang.String |
MOTIFS_GROUP_TAG |
protected static java.lang.String |
MOTIFS_MEANCOVERAGE_TAG |
protected static java.lang.String |
MOTIFS_MEANIPDRATIO_TAG |
protected static java.lang.String |
MOTIFS_MEANSCORE_TAG |
protected static java.lang.String |
MOTIFS_NDETECTED_TAG |
protected static java.lang.String |
MOTIFS_NGENOME_TAG |
protected static java.lang.String |
MOTIFS_OBJSCORE_TAG |
protected static java.lang.String |
MOTIFS_PARTNER_TAG |
protected static java.lang.String |
MOTIFS_STRING_TAG |
Constructor and Description |
---|
MotifsReader() |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<MotifData> |
getMotifsDB() |
int |
loadFromFile(java.io.File file,
VioletApp app) |
int |
loadFromReader(java.io.Reader reader,
java.lang.String file_name,
VioletApp app) |
int |
readElements(VioletApp app,
java.io.Reader reader) |
protected static final java.lang.String MOTIFS_STRING_TAG
protected static final java.lang.String MOTIFS_CENTERPOS_TAG
protected static final java.lang.String MOTIFS_FRACTION_TAG
protected static final java.lang.String MOTIFS_NDETECTED_TAG
protected static final java.lang.String MOTIFS_NGENOME_TAG
protected static final java.lang.String MOTIFS_GROUP_TAG
protected static final java.lang.String MOTIFS_PARTNER_TAG
protected static final java.lang.String MOTIFS_MEANSCORE_TAG
protected static final java.lang.String MOTIFS_MEANIPDRATIO_TAG
protected static final java.lang.String MOTIFS_MEANCOVERAGE_TAG
protected static final java.lang.String MOTIFS_OBJSCORE_TAG
protected java.lang.String fileName
protected java.util.ArrayList<MotifData> motifs_db
public int loadFromFile(java.io.File file, VioletApp app) throws java.io.IOException, FileFormatException
file
- app
- java.io.IOException
FileFormatException
public int loadFromReader(java.io.Reader reader, java.lang.String file_name, VioletApp app) throws java.io.IOException, FileFormatException
java.io.IOException
FileFormatException
public int readElements(VioletApp app, java.io.Reader reader) throws java.io.IOException, FileFormatException
java.io.IOException
FileFormatException
public java.util.ArrayList<MotifData> getMotifsDB()
Copyright © 2010-2014 Pacific Biosciences. All Rights Reserved.