parse_mol2
Version 1.0.0 (2,05 KB) von
David Snyder
MATLAB function for parsing TRIPOS Mol2 format files
Parses a Tripos Mol2 file into a cell array with one data structure per molecule described in the file (or, if only a single molecule is present, just a data structure for the molecule). The data structure (or each data structure, if more than one molecule is present in the input file) contains information about atomic coordinates, atom names, atom types, bond connectivity (and bond type) and general information about the molecule. Note that currenty this parser only parses data in the MOLECULE, ATOM and BOND sections of a mol2 file and ignores other sections. However, it should not be too difficult to modify the code to parse other sections as needed.
Zitieren als
David Snyder (2024). parse_mol2 (https://www.mathworks.com/matlabcentral/fileexchange/115765-parse_mol2), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2022a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0 |