throws IOException
{
super(inFile, type);
- // addSettings(addAlignmentAnnotations, predictSecStr, externalSecStr);
}
public JmolParser(boolean addAlignmentAnnotations, boolean predictSecStr,
boolean externalSecStr, FileParse fp) throws IOException
{
super(fp);
- // addSettings(addAlignmentAnnotations, predictSecStr, externalSecStr);
}
public JmolParser()
}
lastID = tmpatom.resNumIns.trim();
}
+ xferSettings();
+
makeResidueList();
makeCaBondList();
curAtom.occupancy = ms.occupancies != null ? ms.occupancies[atom
.getIndex()] : Float.valueOf(atom.getOccupancy100());
curAtom.resNumIns = "" + curAtom.resNumber + curAtom.insCode;
- // curAtom.tfactor = atom.group.;
+ curAtom.tfactor = atom.getBfactor100() / 100f;
curAtom.type = 0;
significantAtoms.add(curAtom);
}
{
if (secstr[p] >= 'A' && secstr[p] <= 'z')
{
+ try
+ {
asecstr[p] = new Annotation(String.valueOf(secstr[p]), null,
secstrcode[p], Float.NaN);
ssFound = true;
+ } catch (Exception e)
+ {
+ // e.printStackTrace();
+ }
}
}
this.predictSecondaryStructure = predictSecondaryStructure;
}
+ public boolean isVisibleChainAnnotation()
+ {
+ return visibleChainAnnotation;
+ }
+
+ public void setVisibleChainAnnotation(boolean visibleChainAnnotation)
+ {
+ this.visibleChainAnnotation = visibleChainAnnotation;
+ }
+
}