Degiacomi-Lab / molearn

protein conformational spaces meet machine learning
https://degiacomi.org/software/molearn/
GNU General Public License v3.0
40 stars 11 forks source link

File format independent data loading #20

Closed gwirn closed 3 months ago

gwirn commented 3 months ago

!! This PR introduces breaking changes !! _It is not possible any more to load multiple trajectories with multiple consecutive calls to PDBData.importpdb()

With this PR MDAnalysis is used to read in one ore multiple trajectory files. This is now done with a single call:

It still preserves the original functionality of the PDBData class.

Additionally the atom selection has changed - it can still be done via a list of atoms like ["CA", "C", "N", "CB", "O"] but can now also use the MDAnalysis selection language