NGL@1.0.0-beta.7 Home Manual Reference Source Gallery
import PdbParser from 'ngl/src/parser/pdb-parser.js'
public class | source

PdbParser

Extends:

ParserStructureParser → PdbParser

Direct Subclass:

PqrParser

Constructor Summary

Public Constructor
public

constructor(streamer: Streamer, params: Object): undefined

Create a pdb parser

Member Summary

Public Members
public

hex

public get

Method Summary

Private Methods
private

_parse()

Inherited Summary

From class Parser
public get
public get
public get
public get
private get
public
public
public
public

parse()

private
private
private

_parse()

From class StructureParser
public get
private get
public
public
public
public
public

Public Constructors

public constructor(streamer: Streamer, params: Object): undefined source

Create a pdb parser

Override:

StructureParser#constructor

Params:

NameTypeAttributeDescription
streamer Streamer

streamer object

params Object

params object

params.hex Boolean

hexadecimal parsing of atom numbers >99.999 and residue numbers >9.999

Return:

undefined

Public Members

public hex source

public get type source

Override:

StructureParser#type

Private Methods

private _parse() source

Override:

Parser#_parse