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

PdbWriter

Extends:

Writer → PdbWriter

Create a PDB file from a Structure object

Constructor Summary

Public Constructor
public

constructor(structure: Structure, params: Object)

Member Summary

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

Method Summary

Public Methods
public

Get string containing the PDB file data

public
Private Methods
private
private
private
private

Inherited Summary

From class Writer
public get abstract
public get abstract
public get abstract
public

download(name: [type], ext: [type]): [type]

Trigger a download of the

public

getBlob(): Blob

Get a blob with the written data

public abstract

getData(): Anything

Public Constructors

public constructor(structure: Structure, params: Object) source

Params:

NameTypeAttributeDescription
structure Structure

the structure object

params Object

parameters]

Public Members

public get defaultExt source

Override:

Writer#defaultExt

public get defaultName source

Override:

Writer#defaultName

public get mimeType source

Override:

Writer#mimeType

public remarks source

public renumberSerial source

public structure source

Private Members

private _records source

Public Methods

public getData(): String source

Get string containing the PDB file data

Override:

Writer#getData

Return:

String

PDB file

public getString() source

Private Methods

private _writeAtoms() source

private _writeRecords() source

private _writeRemarks() source

private _writeTitle() source