pdb-parser-js
v0.0.5
Published
PDB(Protein Data Bank) file format parser.
Downloads
55
Readme
pdb-parser-js
Utility to parse PDB(Protein Data Bank) file format 3.3 into JSON format
Installation
Using npm:
$ npm i pdb-parser-js
Getting Started
import {PdbParser} from 'pdb-parser-js';
const file = fs.readFileSync('[pdb file path]', 'utf-8')
const parser = new PdbParser()
parser.collect(file.split('\n'))
const pdb = parser.parse()
License
MIT. See LICENSE file.