A collection of modules for dealing with Protein Data Bank files
License
rotskoff/Haskell-PDB-Utilities
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
These modules provide an algebraic data type for atoms and proteins. The data is expected to come from Protein Data Bank .pdb files. The parser will interpret ATOM and HETATM record types. One major TODO is standardizing the atom selection keywords with an existing platform. I, at the moment, prefer the syntax of NAMD. It's imperfect, but I ind the keywords relatively clear and more memorable than those in PyMol. When implementing the parser over a large number of files: 1. Compile your code. 2. Use mapM_ in your main loop to ensure computations are done sequentially, otherwise you'll likely see a stack overflow. There are certainly other solutions to memory management, depending on the sorts of computations that you're hoping to do. If mapM_ doesn't suit your goals, you may want to explore seq and deepSeq. At the moment, all vector operations are conducted by Vectors.hs. Be warned that this is an unsafe module (it makes no effort to check vector lengths, etc. In our case everything is three dimensional, so this isn't a problem. Vectors.hs is a module that could benefit from a great deal of expansion. Matrix operations are hopefully coming soon.
About
A collection of modules for dealing with Protein Data Bank files
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published