public class ResultsN3DTP
extends java.lang.Object
GUIProtToSwissModel,
GUIPDBTool,
GUIColorSchemes,
GenericJarTask,
GUIResultsView| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
bebResults1LocKey
Location key for BEB results in field 1, from Codeml tab
|
static java.lang.String |
bebResults2LocKey
Location key for BEB results in field 2, from Codeml tab
|
static java.lang.String |
datamonkeySitesLocKey
Location key for datamonkey sites files (All methods (Pos/Neg) plus Common Sites (Pos/Neg)) from Datamonkey tab
|
static java.lang.String |
downloadedPDBLocKey
Location key for downloaded PDB file from Swiss Model Template Library
|
static java.lang.String |
jmolScriptPathLocKey
Location key for produced jmol script from ResultsN3D tab
|
static java.lang.String |
mergedResultsLocKey
Location key for merge results in from ResultsN3D tab
|
static java.lang.String |
modelledPDBLocKey
Location key for downloaded Modeled PDB file from Swiss Model modes
|
static java.lang.String |
pdbFilePathLocKey
Location key for the PDB file selected by user
|
static java.lang.String |
propsByRangeLocKey
Location key for properties by range file from TreeSAAP tab
|
static java.lang.String |
propsBySiteLocKey
Location key for properties by site file from TreeSAAP tab
|
| Constructor and Description |
|---|
ResultsN3DTP(Utilities utilities)
Initialize ResultsN3D with empty fields.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
createJmolScript(int seloption,
int treesaapfield,
int bebfield,
java.lang.String shape,
boolean only,
boolean restrict,
boolean small)
Create Jmol script based on scheme of colors chosen.
|
java.lang.String[] |
getModelledRange()
Retrieve the modeled range.
|
java.util.HashMap<java.lang.String,java.lang.String> |
getMRCommonSitesTable()
Get Merged Results common sites table.
|
java.util.HashMap<java.lang.String,java.awt.Color> |
getPaintedSites()
Get all painted sites after Jmol script is created.
|
boolean |
getPDBFileResRange()
Obtain start and end of residue range described in PDB file.
|
java.lang.String |
getPDBFileSequence()
Get PDB Sequence from file.
|
java.lang.String[] |
getPDBResRange()
Get values previously obtained from PDB file.
|
java.lang.String |
getRLocations(java.lang.String key)
Get value for associated key.
|
java.lang.String |
mergeResults(java.lang.String treesaapfile,
java.lang.String datamonkeyfile,
java.lang.String pamlbebfile)
Merge all information from Datamonkey and PAML BEB (in case of positive selection) in any TreeSAAP data files (PBS/PBR).
|
void |
setJmolColorScheme(java.awt.Color[] chColors,
java.lang.String[] aanames,
int lowerlimit,
boolean translucent,
boolean labels)
Set scheme of colors selected by user.
|
void |
setModelledRange(java.lang.String[] range)
Set modeled range obtained from modeling.
|
void |
setRLocations(java.lang.String key,
java.lang.String value)
Set value for associated key.
|
void |
unsetModelledRange()
Unset the use of the modeled range.
|
public static final java.lang.String datamonkeySitesLocKey
public static final java.lang.String propsBySiteLocKey
public static final java.lang.String propsByRangeLocKey
public static final java.lang.String bebResults1LocKey
public static final java.lang.String bebResults2LocKey
public static final java.lang.String mergedResultsLocKey
public static final java.lang.String downloadedPDBLocKey
public static final java.lang.String modelledPDBLocKey
public static final java.lang.String jmolScriptPathLocKey
public static final java.lang.String pdbFilePathLocKey
public ResultsN3DTP(Utilities utilities)
utilities - object from the class Utilities.public java.lang.String getRLocations(java.lang.String key)
key - from class specific values.public void setRLocations(java.lang.String key,
java.lang.String value)
key - from class specific values.value - value associated to given key.public void setModelledRange(java.lang.String[] range)
range - modeled range [lower,upper]getModelledRange()public void unsetModelledRange()
setModelledRange(java.lang.String[])public java.lang.String[] getModelledRange()
setModelledRange(java.lang.String[])public java.lang.String mergeResults(java.lang.String treesaapfile,
java.lang.String datamonkeyfile,
java.lang.String pamlbebfile)
treesaapfile - treesaap file: PBR or PBS.datamonkeyfile - datamonkey file: common sites or any model (SLAC; FEL; REL; MEME or FUBAR)pamlbebfile - paml beb file: from Model 2 or 8.public void setJmolColorScheme(java.awt.Color[] chColors,
java.lang.String[] aanames,
int lowerlimit,
boolean translucent,
boolean labels)
chColors - user chosen colors.aanames - amino acids names in same order as the colors.lowerlimit - scheme specific option only for TreeSAAP (User) Type III, defined by user. Use value ≤ 0 if not needed.translucent - use translucent for other residues color (not fitting the main colors: fallback color).labels - true to select the use of labels.public java.util.HashMap<java.lang.String,java.awt.Color> getPaintedSites()
public java.lang.String createJmolScript(int seloption,
int treesaapfield,
int bebfield,
java.lang.String shape,
boolean only,
boolean restrict,
boolean small)
seloption - scheme selected.treesaapfield - once there are two fields for TreeSAAP results, one of them must be chosen,
for some options to be used: treesaapfield = 1 or 2;bebfield - once there are two fields for BEB results, one of them must be chosen,
for some options to be used: bebfield = 1 or 2;shape - the rendering shape to be applied.only - if the shape is to be presented solely.restrict - if the colored residues are shown as being the only molecules. Other non-painted molecules/residues are not shown.small - true to select the size of residues to be small.public java.util.HashMap<java.lang.String,java.lang.String> getMRCommonSitesTable()
public boolean getPDBFileResRange()
getPDBResRange()public java.lang.String[] getPDBResRange()
getPDBFileResRange()public java.lang.String getPDBFileSequence()
getPDBSequenceSQRES(),
getPDBSequenceATOM()