Martini3 SAXS formfactors#1429
Draft
mlund wants to merge 2 commits into
Draft
Conversation
New MARTINI_FF keyword selects the Martini form-factor generation: 2 (default, existing Martini 2.2) or 3 (Martini 3 proteins). v3 adds getMartiniFFparam_v3 with per-bead degree-6 polynomials and the M3 bead->type mapping (new beads ALA_SC1, TRP_SC5, TYR_SC4). Includes regtest rt-saxs-martini3 (4LZT lysozyme) and changelog entry.
…actors # Conflicts: # CHANGES/v2.11.md
| } | ||
|
|
||
|
|
||
| void SAXS::getMartiniFFparam_v3(const std::vector<AtomNumber> &atoms, std::vector<std::vector<long double> > ¶meter) { |
Member
|
@mlund thanks for your contribution, to me this is fine to be merged as is. I'll wait for you setting it as ready |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request adds support for using Martini 3 protein form factors in the
SAXSaction, allowing users to select between Martini 2.2 (the previous default) and Martini 3 form-factor sets via a newMARTINI_FFkeyword.MARTINI_FFkeyword to theSAXSaction, allowing users to choose between Martini 2.2 (MARTINI_FF=2, default) and Martini 3 (MARTINI_FF=3) protein form factors. The code validates the keyword and applies the correct parameter set. (src/isdb/SAXS.cpp) [1] [2] [3]getMartiniFFparam_v3to provide the Martini 3 protein bead form-factor coefficients and updated the bead enumeration to include new beads present only in Martini 3. (src/isdb/SAXS.cpp) [1] [2]MARTINI_FFoption and its behavior. (src/isdb/SAXS.cpp,CHANGES/v2.11.md) [1] [2]SAXSaction with Martini 3 form factors, including configuration, reference output, and input files. (regtest/isdb/rt-saxs-martini3/)These changes ensure users can now select the latest Martini 3 protein form factors for SAXS calculations in PLUMED, with appropriate documentation and testing.
Target release
I would like my code to appear in release v2.11
Type of contribution
Copyright
I agree to transfer the copyright of the code I have written to the PLUMED developers or to the author of the code I am modifying.
the module I added or modified contains a
COPYRIGHTfile with the correct license information. Code should be released under an open source license. I also used the commandcd src && ./header.sh mymodulenamein order to make sure the headers of the module are correct.Tests