Frequently Asked Questions
Can I use OpenStructure modules from python?
That's definitely possible, provided you have set the proper environment variables. You need to set PYTHONPATH to the directory containing the python modules. For a 64 bit platform with Python 3.10, this would look like:
Adjust the python version to match the one you are using.
In python, you can now import the ost module:
How do I load a crappy PDB file?
The easiest way is to use the fault_tolerant option of LoadPDB. If you set the value to true, it will load the structure and just skip erroneus records:
How do I load all PDB files in a directory?
The python glob module can be used to match files in a certain directory against a glob pattern. Then use LoadPDB as you normally would.
for pdb_file in glob.glob(os.path.join(dir_path, '*.pdb')):
Where Do I Get Help?
First, search the documentation on the website. If you don't find the answer you were looking for, you may want to ask on the users mailing list. Please make sure to read the posting guidelines first.
Which licensing does Openstructure come with?
Openstructure is released under GNU-LGPL license
Which software libraries does Openstructure depend on?
Openstructure depends on the following software libraries to implement its functionality:
Why another molecular Viewer?
Openstructure is not aiming to be a Viewer, but more a computational structural biology framework, a toolkit. It features nice graphics, though!