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 TypeMethodDescriptionvoid
addStructure
(STR type, String structureID, String serialID, int strandCount, int startChainID, int startSeqcode, int endChainID, int endSeqcode, int istart, int iend, BS bsAssigned) boolean
addStructureProtected
(STR type, String structureID, String serialID, int strandCount, int indexStart, int indexEnd) void
calculateStructures
(boolean alphaOnly) Uses Levitt & Greer algorithm to calculate protein secondary structures using only alpha-carbon atoms.void
protected P3
getControlPoint
(int i, V3 v) getProteinStructure
(int monomerIndex) int
setStructureBS
(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:
getProteinStructure
in classBioPolymer
- Returns:
- "HELIX" "TURN" etc
-
getControlPoint
- Overrides:
getControlPoint
in classBioPolymer
- Returns:
- the leadPoint unless a protein sheet residue (see AlphaPolymer)
-
addStructure
-
addStructureProtected
-
clearStructures
public void clearStructures()- Overrides:
clearStructures
in classBioPolymer
-
calculateStructures
public void calculateStructures(boolean alphaOnly) Uses Levitt & 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
-