openff-interchange
A project (and object) for storing, manipulating, and converting molecular mechanics data.
Science Score: 77.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
✓Committers with academic emails
3 of 17 committers (17.6%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.1%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
A project (and object) for storing, manipulating, and converting molecular mechanics data.
Basic Info
- Host: GitHub
- Owner: openforcefield
- License: mit
- Language: Python
- Default Branch: main
- Homepage: https://docs.openforcefield.org/projects/interchange
- Size: 6.66 MB
Statistics
- Stars: 79
- Watchers: 18
- Forks: 25
- Open Issues: 113
- Releases: 49
Topics
Metadata Files
README.md
OpenFF Interchange
| Test status | |
|
|:-|:-|:-|
| Code quality |
|
|
| Latest release |
| |
| User support |
|
|
A project (and object) for storing, manipulating, and converting molecular mechanics data.
Documentation
Documentation for Interchange, including examples, a brief user guide, release history, and API docs, is available on the OpenFF website. Example notebooks are rendered online among examples from other projects in the OpenFF ecosysytem docs
How to cite
Please cite Interchange using the Zenodo record of the latest release or the version that was used. The BibTeX reference of the latest release can be found at this link.
Installation
Recent versions of the OpenFF Toolkit (0.11.0+, released August 2022) install Interchange by default through its conda package.
Interchange can also be installed manually via conda (or mamba):
shell
conda install openff-interchange -c conda-forge
Getting started
The Iterchange object serves primarily as a container object for parametrized data. It can currently take in SMIRNOFF or Foyer force fields
and chemical topologies prepared via the OpenFF Toolkit. The resulting object stores parametrized data and provides APIs for export to common formats.
```python3 from openff.toolkit import ForceField, Molecule from openff.units import unit
from openff.interchange import Interchange
Use the OpenFF Toolkit to generate a molecule object from a SMILES pattern
molecule = Molecule.from_smiles("CCO")
Generate a conformer to be used as atomic coordinates
molecule.generateconformers(nconformers=1)
Convert this molecule to a topology
topology = molecule.to_topology()
Define periodicity via box vectors
topology.box_vectors = unit.Quantity([4, 4, 4], unit.nanometer)
Load OpenFF 2.0.0 "Sage"
sage = ForceField("openff-2.0.0.offxml")
Create an Interchange object
out = Interchange.fromsmirnoff(forcefield=sage, topology=topology)
Convert the Interchnage object to an OpenMM System
system = out.to_openmm()
or write to GROMACS files
out.togro("out.gro") out.totop("out.top")
or store as JSON
json_blob = out.json() ```
For more information, please consult the full documentation.
For more examples specific to Interchange, navigate to the examples/ directory.
Copyright
Copyright (c) 2020, Open Force Field Initiative
License
The source code of Interchange is hosted on GitHub and is available under the MIT license (see the file LICENSE). Some parts inherit from code distributed under other licenses, as detailed in LICENSE-3RD-PARTY.
Acknowledgements
Project based on the Computational Molecular Science Python Cookiecutter version 1.2.
Owner
- Name: Open Force Field Initiative
- Login: openforcefield
- Kind: organization
- Website: http://openforcefield.org
- Repositories: 61
- Profile: https://github.com/openforcefield
An open source, open science, and open data approach to better force fields
Citation (CITATION.cff)
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: OpenFF Interchange
message: 'If you use Interchange, please cite it as below.'
type: software
authors:
- given-names: Matthew
family-names: Thompson
orcid: 'https://orcid.org/0000-0002-1460-3983'
- given-names: Jeff
family-names: Wagner
orcid: 'https://orcid.org/0000-0001-6448-0873'
- given-names: "Justin B."
family-names: Gilmer
affiliation: "Vanderbilt University"
orcid: 'https://orcid.org/0000-0002-6915-5591'
- given-names: Umesh
family-names: Timalsina
affiliation: "Vanderbilt University"
orcid: 'https://orcid.org/0000-0002-5430-3993'
- given-names: "Co D."
family-names: Quach
affiliation: "Vanderbilt University"
orcid: 'https://orcid.org/0000-0002-1255-4161'
- given-names: Simon
family-names: Boothroyd
orcid: 'https://orcid.org/0000-0002-3456-1872'
- given-names: "Joshua A."
family-names: Mitchell
orcid: 'https://orcid.org/0000-0002-8246-5113'
version: v0.1.4
date-released: 2022-01-11
url: "https://github.com/openforcefield/openff-interchange"
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Matthew W. Thompson | m****n@p****m | 1,421 |
| Matthew W. Thompson | m****n@v****u | 135 |
| Josh Mitchell | y****i@g****m | 78 |
| pre-commit-ci[bot] | 6****]@u****m | 74 |
| Umesh Timalsina | u****a@v****u | 21 |
| SimonBoothroyd | s****d@h****m | 15 |
| dependabot[bot] | 4****]@u****m | 15 |
| Co Quach | d****7@g****m | 5 |
| wwilla7 | l****a@g****m | 4 |
| Jeff Wagner | j****l@g****m | 4 |
| mattwthompson | m****p@g****m | 3 |
| Matt Thompson | m****n@M****l | 2 |
| Justin Gullingsrud | j****d@t****o | 1 |
| Matt Thompson | m****n@c****o | 1 |
| Mike Henry | 1****y@u****m | 1 |
| Justin Gilmer | j****r@v****u | 1 |
| Richard Gowers | r****b@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 251
- Total pull requests: 330
- Average time to close issues: 9 months
- Average time to close pull requests: 20 days
- Total issue authors: 39
- Total pull request authors: 16
- Average comments per issue: 2.22
- Average comments per pull request: 1.7
- Merged pull requests: 243
- Bot issues: 1
- Bot pull requests: 64
Past Year
- Issues: 90
- Pull requests: 121
- Average time to close issues: 23 days
- Average time to close pull requests: 10 days
- Issue authors: 19
- Pull request authors: 11
- Average comments per issue: 1.09
- Average comments per pull request: 1.31
- Merged pull requests: 78
- Bot issues: 1
- Bot pull requests: 32
Top Authors
Issue Authors
- mattwthompson (151)
- IAlibay (19)
- Yoshanuikabundi (12)
- j-wags (8)
- pbuslaev (6)
- lilyminium (5)
- SimonBoothroyd (5)
- timbernat (4)
- mrshirts (3)
- bieniekmateusz (3)
- xiki-tempula (3)
- joelaforet (2)
- PEFrankel (2)
- jthorton (2)
- taidbui (2)
Pull Request Authors
- mattwthompson (230)
- pre-commit-ci[bot] (65)
- Yoshanuikabundi (12)
- j-wags (5)
- pbuslaev (4)
- IAlibay (3)
- dependabot[bot] (3)
- benjamindjensen (3)
- timbernat (2)
- chapincavender (1)
- wutobias (1)
- lukasbaldauf (1)
- wwilla7 (1)
- lilyminium (1)
- JMorado (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
- Total downloads: unknown
-
Total dependent packages: 3
(may contain duplicates) -
Total dependent repositories: 4
(may contain duplicates) - Total versions: 17
conda-forge.org: openff-interchange-base
- Homepage: https://openforcefield.org/
- License: MIT
-
Latest release: 0.2.2
published about 3 years ago
Rankings
conda-forge.org: openff-interchange
- Homepage: https://openforcefield.org/
- License: MIT
-
Latest release: 0.2.2
published about 3 years ago
Rankings
Dependencies
- actions/checkout v3 composite
- codecov/codecov-action v3 composite
- mamba-org/provision-with-micromamba main composite
- actions/checkout v3 composite
- codecov/codecov-action v3 composite
- mamba-org/provision-with-micromamba main composite
- actions/checkout v3 composite
- mamba-org/provision-with-micromamba main composite
- actions/checkout v4 composite
- actions/setup-python v4 composite