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

ChainProxy

Chain proxy

Constructor Summary

Public Constructor
public

constructor(structure: Structure, index: Integer)

Member Summary

Public Members
public get

Atom count

public get
public get
public
public set
public get

Chain id

public set
public get

Chain name

public get

Entity

public get
public set
public
public get

Model

public get
public set
public set
public get

Residue count

public get
public get
public set
public
public

Method Summary

Public Methods
public

Clone object

public

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

Atom iterator

public

eachPolymer(callback: function(polymer: Polymer), selection: Selection): undefined

Polymer iterator

public

eachResidue(callback: function(residue: ResidueProxy), selection: Selection): undefined

Residue iterator

public

eachResidueN(n: Integer, callback: function(residueList: ResidueProxy[])): undefined

Multi-residue iterator

public
public

Public Constructors

public constructor(structure: Structure, index: Integer) source

Params:

NameTypeAttributeDescription
structure Structure

the structure

index Integer

the index

Public Members

public get atomCount: Integer source

Atom count

public get atomEnd source

public get atomOffset source

public chainStore: ChainStore source

public set chainid source

public get chainid: String source

Chain id

public set chainname source

public get chainname: String source

Chain name

public get entity: Entity source

Entity

public get entityIndex source

public set entityIndex source

public index: Integer source

public get model: ModelProxy source

Model

public get modelIndex source

public set modelIndex source

public set residueCount source

public get residueCount: Integer source

Residue count

public get residueEnd source

public get residueOffset source

public set residueOffset source

public residueStore: ResidueStore source

public structure: Structure source

Public Methods

public clone(): ChainProxy source

Clone object

Return:

ChainProxy

cloned chain

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 eachPolymer(callback: function(polymer: Polymer), selection: Selection): undefined source

Polymer iterator

Params:

NameTypeAttributeDescription
callback function(polymer: Polymer)

the callback

selection Selection
  • optional

the selection

Return:

undefined

public eachResidue(callback: function(residue: ResidueProxy), selection: Selection): undefined source

Residue iterator

Params:

NameTypeAttributeDescription
callback function(residue: ResidueProxy)

the callback

selection Selection
  • optional

the selection

Return:

undefined

public eachResidueN(n: Integer, callback: function(residueList: ResidueProxy[])): undefined source

Multi-residue iterator

Params:

NameTypeAttributeDescription
n Integer

window size

callback function(residueList: ResidueProxy[])

the callback

Return:

undefined

public qualifiedName() source

public toObject() source