NGL@1.0.0-beta.7 Home Manual Reference Source Gallery
import Polymer from 'ngl/src/proxy/polymer.js'
public class | source

Polymer

Polymer

Constructor Summary

Public Constructor
public

constructor(structure: Structure, residueIndexStart: Integer, residueIndexEnd: Integer)

Member Summary

Public Members
public
public get
public
public get
public
public
public
public
public get
public
public
public
public
public
Private Members
private

Method Summary

Public Methods
public

eachAtom(callback: function(atom: AtomProxy), selection: Selection): undefined

Atom iterator

public
public
public

eachResidue(callback: function(residue: ResidueProxy)): undefined

Residue iterator

public
public
public
public

If atom is part of a coarse-grain group

public

If atom is part of a nucleic molecule

public

If first residue is from aprotein

public

Public Constructors

public constructor(structure: Structure, residueIndexStart: Integer, residueIndexEnd: Integer) source

Params:

NameTypeAttributeDescription
structure Structure

the structure

residueIndexStart Integer

the index of the first residue

residueIndexEnd Integer

the index of the last residue

Public Members

public atomStore: AtomStore source

public get chainIndex source

public chainStore: ChainStore source

public get chainname: String source

public isCyclic source

public isNextConnected source

public isNextNextConnected source

public isPrevConnected source

public get modelIndex source

public residueCount: Integer source

public residueIndexEnd: Integer source

public residueIndexStart: Integer source

public residueStore: ResidueStore source

public structure: Structure source

Private Members

private __residueProxy source

Public Methods

public eachAtom(callback: function(atom: AtomProxy), selection: Selection): undefined source

Atom iterator

Params:

NameTypeAttributeDescription
callback function(atom: AtomProxy)

the callback

selection Selection
  • optional

the selection

Return:

undefined

public eachAtomN() source

public eachAtomN2() source

public eachResidue(callback: function(residue: ResidueProxy)): undefined source

Residue iterator

Params:

NameTypeAttributeDescription
callback function(residue: ResidueProxy)

the callback

Return:

undefined

public getAtomIndexByType() source

public getBackboneType() source

public getMoleculeType() source

public isCg(): Boolean source

If atom is part of a coarse-grain group

Return:

Boolean

flag

public isNucleic(): Boolean source

If atom is part of a nucleic molecule

Return:

Boolean

flag

public isProtein(): Boolean source

If first residue is from aprotein

Return:

Boolean

flag

public qualifiedName() source