Skip to content

Implementation of TABF - #949

Open
fhh2626 wants to merge 7 commits into
Colvars:masterfrom
fhh2626:tabf
Open

Implementation of TABF#949
fhh2626 wants to merge 7 commits into
Colvars:masterfrom
fhh2626:tabf

Conversation

@fhh2626

@fhh2626 fhh2626 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

This PR implements the use of the temperature scaling factor α as a CV (https://doi.org/10.1021/acs.accounts.5c00666), achieving REMD-like sampling with smaller temperature intervals. A new version of NAMD is required (https://gitlab.com/tcbgUIUC/namd/-/merge_requests/537).

example:

colvar {
  name alpha
  width 0.01
  lowerBoundary 0.97
  upperBoundary 2.03
  hardLowerBoundary on
  hardUpperBoundary on
  reflectingLowerBoundary on
  reflectingUpperBoundary on

  extendedLagrangian on
  extendedMass 1500000
  extendedLangevinDamping 1000

  tabfAlpha {}
}

In NAMD config:

tabf on
tabfAlphaStart 1.0
tabfAlphaMin   0.97
tabfAlphaMax  2.03
tabfOutFreq     100

@giacomofiorin

Copy link
Copy Markdown
Member

As a potential feature, looks very interesting! I'm trying to understand the TABF method from to the paper you linked (https://doi.org/10.1021/acs.accounts.5c00666).

That paper uses WTM and eABF in combination with NAMD. However, no use of Colvars is reported in the paper. Did you use a different implementation of those methods and are you then planning to start using the ones provided by Colvars with this PR?

@HanatoK

HanatoK commented Jul 30, 2026

Copy link
Copy Markdown
Member

As a potential feature, looks very interesting! I'm trying to understand the TABF method from to the paper you linked (https://doi.org/10.1021/acs.accounts.5c00666).

That paper uses WTM and eABF in combination with NAMD. However, no use of Colvars is reported in the paper. Did you use a different implementation of those methods and are you then planning to start using the ones provided by Colvars with this PR?

I think they mentioned Colvars in the SI but not cited. The original WTM-TABF was implemented in OpenMM.

Comment thread namd/src/colvarproxy_namd.C
@fhh2626

fhh2626 commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

As a potential feature, looks very interesting! I'm trying to understand the TABF method from to the paper you linked (https://doi.org/10.1021/acs.accounts.5c00666).

That paper uses WTM and eABF in combination with NAMD. However, no use of Colvars is reported in the paper. Did you use a different implementation of those methods and are you then planning to start using the ones provided by Colvars with this PR?

Dammit, @giacomofiorin, that was careless of us. We normally cite the Colvars paper in the Methods section, but this paper does not have a Methods section, and we failed to include the citation elsewhere. We sincerely apologize for the confusion.
We used OpenMM for the WTM-TABF calculations, rather than the WTM and eABF implementations provided by Colvars. However, Colvars was indeed used for some of the other calculations, and we should have stated this explicitly. We will definitely describe our use of Colvars and the relevant implementation details much more carefully in our follow-up papers.

To answer your question directly, this PR is follow-up work to that paper and implements WTM-TABF in NAMD. The WTM-TABF implementation used in the original paper was developed in OpenMM.

@HanatoK

HanatoK commented Aug 3, 2026

Copy link
Copy Markdown
Member

@fhh2626 I suggest to enable the backend test workflows in your CI (https://github.com/fhh2626/colvars/actions) as follows:
tabf_ci
After that, we could check if your code could be built with various backends.

@giacomofiorin Is it possible to allow @fhh2626 to pull the NAMD and VMD code from https://github.com/Colvars/namd and https://github.com/Colvars/vmd for CI?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants