Package org.jmol.modelsetbio
Class AlphaPolymer
java.lang.Object
org.jmol.modelsetbio.BioPolymer
org.jmol.modelsetbio.AlphaPolymer
- All Implemented Interfaces:
Structure
- Direct Known Subclasses:
AminoPolymer
-
Field Summary
FieldsFields inherited from class org.jmol.modelsetbio.BioPolymer
bioPolymerIndexInModel, controlPoints, cyclicFlag, hasStructure, hasWingPoints, haveParameters, invalidControl, leadAtomIndices, leadMidpoints, leadPoints, model, monomerCount, monomers, reversed, sheetSmoothing, twistedSheets, type, TYPE_AMINO, TYPE_CARBOHYDRATE, TYPE_NOBONDING, TYPE_NUCLEIC, wingVectors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStructure(STR type, String structureID, String serialID, int strandCount, int startChainID, int startSeqcode, int endChainID, int endSeqcode, int istart, int iend, BS bsAssigned) booleanaddStructureProtected(STR type, String structureID, String serialID, int strandCount, int indexStart, int indexEnd) voidcalculateStructures(boolean alphaOnly) Uses Levitt invalid input: '&' Greer algorithm to calculate protein secondary structures using only alpha-carbon atoms.voidprotected P3getControlPoint(int i, V3 v) getProteinStructure(int monomerIndex) intsetStructureBS(int count, int dsspType, STR type, BS bs, boolean doOffset) bits in the bitset determines the typeMethods inherited from class org.jmol.modelsetbio.BioPolymer
calcEtaThetaAngles, calcParameters, calcPhiPsiAngles, calcRasmolHydrogenBonds, calcSelectedMonomersCount, calculateRamachandranHelixAngle, findNearestAtomIndex, getControlPoints, getIndex, getLeadAtomIndices, getLeadMidpoints, getPolymerPointsAndVectors, getPolymerSequenceAtoms, getRange, getRangeGroups, getSequence, getType, getWingVectors, isCyclic, isNucleic, recalculateLeadMidpointsAndWingVectors, resetHydrogenPoints, setAtomBits, setAtomBitsAndClear, setConformation, toString
-
Field Details
-
pt0
public int pt0Specifically for mmTF bitset setting of structures
-
-
Method Details
-
getProteinStructure
- Overrides:
getProteinStructurein classBioPolymer- Parameters:
monomerIndex-- Returns:
- "HELIX" "TURN" etc
-
getControlPoint
- Overrides:
getControlPointin classBioPolymer- Parameters:
i-v-- Returns:
- the leadPoint unless a protein sheet residue (see AlphaPolymer)
-
addStructure
-
addStructureProtected
-
clearStructures
public void clearStructures()- Overrides:
clearStructuresin classBioPolymer
-
calculateStructures
public void calculateStructures(boolean alphaOnly) Uses Levitt invalid input: '&' Greer algorithm to calculate protein secondary structures using only alpha-carbon atoms.Levitt and Greer
Automatic Identification of Secondary Structure in Globular Proteins
J.Mol.Biol.(1977) 114, 181-293
http://csb.stanford.edu/levitt/Levitt_JMB77_Secondary_structure.pdf
- Parameters:
alphaOnly- caught by AminoPolymer and discarded if desired
-
setStructureBS
bits in the bitset determines the type- Parameters:
count-dsspType-type-bs-doOffset- allows us to examine just a portion of the- Returns:
- updated count
-