|
Bsoft 2.1.4
Bernard's software package
|
Library routines to read and write PDB coordinate files. More...
#include "rwmodel.h"#include "model_links.h"#include "model_util.h"#include "linked_list.h"#include "string_util.h"#include "utilities.h"#include <fstream>Functions | |
| Bmodel * | readPDB (Bstring &filename, long n) |
| int | writePDB (Bstring &filename, Bmodel *model) |
| Bmodel * | read_model_pdb (Bstring *file_list, Bstring ¶mfile) |
| Reads molecular model parameters. More... | |
| int | write_model_pdb (Bstring &filename, Bmodel *model, int split) |
| Writes molecular model parameters. More... | |
Variables | |
| int | verbose |
Library routines to read and write PDB coordinate files.
Reads molecular model parameters.
| *file_list | list of model parameter file names. |
| ¶mfile | parameter file. |
Each file is considered a separate model.
The component description field contains the following detail as a space-separated list:
element
atom type
residue type
chain id
residue number
Writes molecular model parameters.
| &filename | model parameter file name. |
| *model | model parameters. |
| split | flag to split into individual files and number of digits for the insert. |
if ( split=0 ) only the first model is written
|
extern |