public class DSSR1 extends AnnotationParser
| Modifier and Type | Field and Description |
|---|---|
private static String |
DSSR_PATHS
The paths to the unit id data within the structure.
|
| Constructor and Description |
|---|
DSSR1() |
| Modifier and Type | Method and Description |
|---|---|
String |
calculateDSSRStructure(Viewer vwr,
BS bsAtoms) |
String |
fixDSSRJSONMap(Map<String,Object> map)
kissingLoops and coaxStacks use index arrays instead of duplication;
|
private void |
fixIndices(Map<String,Object> map,
String key,
String root)
create a key/value pair root+"s" for all indices of root+"_indices"
|
BS |
getAtomBits(Viewer vwr,
String key,
Object dbObj,
Map<String,Object> annotationCache,
int type,
int modelIndex,
BS bsModel) |
void |
getBasePairs(Viewer vwr,
int modelIndex) |
private String |
getDSSRForModel(Viewer vwr,
int modelIndex) |
String |
getHBonds(ModelSet ms,
int modelIndex,
javajs.util.Lst<Bond> vHBonds,
boolean doReport) |
private void |
setBioPolymers(BioModel m,
boolean b) |
void |
setGroup1(ModelSet ms,
int modelIndex) |
private NucleicMonomer |
setRes(Atom atom) |
catalogStructureUnits, catalogValidations, fixAtoms, getAnnotationInfo, getAtomValidation, getAttachedAtomForPDBH, initializeAnnotationprivate static final String DSSR_PATHS
public String calculateDSSRStructure(Viewer vwr, BS bsAtoms)
calculateDSSRStructure in interface JmolAnnotationParsercalculateDSSRStructure in class AnnotationParserpublic String fixDSSRJSONMap(Map<String,Object> map)
fixDSSRJSONMap in interface JmolAnnotationParserfixDSSRJSONMap in class AnnotationParsermap - private void fixIndices(Map<String,Object> map, String key, String root)
map - key - root - public void getBasePairs(Viewer vwr, int modelIndex)
getBasePairs in interface JmolAnnotationParsergetBasePairs in class AnnotationParserprivate void setBioPolymers(BioModel m, boolean b)
private NucleicMonomer setRes(Atom atom)
public BS getAtomBits(Viewer vwr, String key, Object dbObj, Map<String,Object> annotationCache, int type, int modelIndex, BS bsModel)
getAtomBits in interface JmolAnnotationParsergetAtomBits in class AnnotationParserpublic String getHBonds(ModelSet ms, int modelIndex, javajs.util.Lst<Bond> vHBonds, boolean doReport)
getHBonds in interface JmolAnnotationParsergetHBonds in class AnnotationParserpublic void setGroup1(ModelSet ms, int modelIndex)
setGroup1 in interface JmolAnnotationParsersetGroup1 in class AnnotationParser