public class DatamonkeyTP
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CommonModels
Common Models (All selected models common sites) code = 9.
|
static java.lang.String |
FELFileLocKey
FEL input file key.
|
static int |
FELmodel
FEL model code = 1.
|
static java.lang.String |
FUBARFileLocKey
FUBAR input file key.
|
static int |
FUBARmodel
FUBAR model code = 4.
|
static java.lang.String |
MEMEFileLocKey
MEME input file key.
|
static int |
MEMEmodel
MEME model code = 3.
|
static java.lang.String |
RELFileLocKey
REL input file key.
|
static int |
RELmodel
REL model code = 2.
|
static java.lang.String |
SLACFileLocKey
SLAC input file key.
|
static int |
SLACmodel
SLAC model code = 0.
|
| Constructor and Description |
|---|
DatamonkeyTP(Utilities utilities)
Initialize Datamonkey tab.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCommonSites(java.lang.String models,
boolean posneg,
java.lang.String filepath)
Get all common sites among all selected models.
|
java.lang.String |
getDLocation(java.lang.String key)
Get Datamonkey location.
|
java.util.HashMap<java.lang.String,java.lang.String> |
getModelTable(char table,
boolean posneg)
Select which positive or negative selection to use, given also the table code.
|
void |
retrieveFEL(double signiflevel)
Retrieve FEL method Positive and Negative selection.
|
void |
retrieveFUBAR(double signiflevel)
Retrieve FUBAR method Positive and Negative selection.
|
void |
retrieveMEME(double signiflevel)
Retrieve MEME method Positive selection.
|
void |
retrieveREL(double signiflevel)
Retrieve REL method Positive and Negative selection.
|
void |
retrieveSLAC(double signiflevel)
Retrieve SLAC method Positive and Negative selection.
|
void |
setDLocation(java.lang.String key,
java.lang.String location)
Set Datamonkey location.
|
java.lang.String |
writeSelectionToFile(int dmmodel,
boolean posneg,
java.lang.String filepath)
Write selected datamonkey summary of sites to file, given model code and if positive or negative selection.
|
public static final java.lang.String SLACFileLocKey
public static final java.lang.String FELFileLocKey
public static final java.lang.String RELFileLocKey
public static final java.lang.String MEMEFileLocKey
public static final java.lang.String FUBARFileLocKey
public static final int SLACmodel
public static final int FELmodel
public static final int RELmodel
public static final int MEMEmodel
public static final int FUBARmodel
public static final int CommonModels
public DatamonkeyTP(Utilities utilities)
utilities - object from the class Utilities.public void setDLocation(java.lang.String key,
java.lang.String location)
key - access key for locationlocation - datamonkey files location.public java.lang.String getDLocation(java.lang.String key)
key - Access key to location.public void retrieveSLAC(double signiflevel)
signiflevel - user selected significance level.public void retrieveFEL(double signiflevel)
signiflevel - user selected significance level.public void retrieveREL(double signiflevel)
signiflevel - user selected significance level.public void retrieveMEME(double signiflevel)
signiflevel - user selected significance level.public void retrieveFUBAR(double signiflevel)
signiflevel - user selected significance level.public java.lang.String getCommonSites(java.lang.String models,
boolean posneg,
java.lang.String filepath)
models - integer string of selected models codes.posneg - if true get positive selection; otherwise, get negative.filepath - file path were to save the results.public java.util.HashMap<java.lang.String,java.lang.String> getModelTable(char table,
boolean posneg)
table - table model code. (see below)posneg - if true get positive selection; otherwise, get negative.SLACmodel,
FELmodel,
RELmodel,
MEMEmodel,
FUBARmodel,
CommonModelspublic java.lang.String writeSelectionToFile(int dmmodel,
boolean posneg,
java.lang.String filepath)
dmmodel - datamonkey model code. (see below)posneg - if true write positive selection; otherwise, negative selection results.filepath - file path were to save results.SLACmodel,
FELmodel,
RELmodel,
MEMEmodel,
FUBARmodel