Giter Club home page Giter Club logo

mmelemental's People

Contributors

actions-user avatar anabiman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mmelemental's Issues

Implementing MDAnalysis converters

As discussed off-github, it would be great to get MDAnalysis and MMElemental talking.

I'm opening this issue to look into what needs to be addressed in order to implement such a converter.

The main question which was raised off-github relates to the issue of licenses:

  • Can non-GPL code import a module from a GPL codebase?

From discussions with @Andrew-AbiMansour it seems like the answer here is "probably". It might be worth exploring this further, especially if there's anyone here that knows about the details of open source licensing law?

Pinging @lilyminium @orbeckst and @fiona-naughton who also attended the meeting.

Support for Trajectories

ATM the Molecule model stores atomic information for a single frame. Generalizing this to a Trajectory class that stores an array of Molecule would be inefficient especially for classical MD simulation in which the topology remains static. Therefore, I'm leaning towards refactoring the Molecule model into 2 by separating the topology from the atomic attributes (coordinates, velocities, etc.) which would then support time series. This would require either dropping qcelemental's Molecule model as a base, or asking @bennybp to change QCSchema.

The 3 core models would then become:

  • Molecule: stores coordinates, velocities, forces, Topology -> Efficient implementation for static topologies / closed systems typically used in the bio-MD world. Naturally supports trajectories.
  • Topology: stores Molecule connectivity-related info, symbols, residues, etc. -> Generalizable to support time-dependent topologies (Everything is a multi-dimensional array) for use with reactive forcefields, open systems for the materials community, etc.
  • ForceField: stores the inter-atomic potential params mapped to the structure. Important to keep this separate from the molecular topology.

Pinging @IAlibay @lilyminium @fiona-naughton

Writing .gro file with mmic_parmed

Description
Writing a Molecule object to a .gro file fails with mmic_parmed.

Code snippet for reproduction

from mmelemental.models.molecule import Molecule
mol = Molecule.from_file(gro_file)
mol.to_file(filename) -> raises an Exception 

Expected behavior
A new file filename identical to gro_file.

System info

  • OS & version: GNU/Linux Ubuntu 20.04
  • Interpreter/compiler & version: CPython 3.9.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.