Getting Started With Nested Binning Scheme

48 views
Skip to first unread message

shelby case

unread,
Apr 10, 2025, 4:49:13 PMApr 10
to westpa-users
Hello, 

I am curious if anyone has any resources or tips for implementing nested bins in WESTPA using gromacs? 

I have been using a 1D progress coordinate to sample a transition from one state to another (aiming to get equilibrium dist), but my progress along this coordinate (and many others) has been limited by an orthogonal barrier; see below. 
WE result (using TIC1 featurized by internal coordinates): 
Reference MD data:
I think my run could benefit from nested bins from TIC4 at the start (i.e. TIC1 bin boundaries -1.5,-0.75) and the end (i.e. TIC1 bin boundaries 1,1.5) (also ignore the values of the tic4, I corrected the mean centering after these graphs were made, the same nesting bin concept holds). 

Any help or resources would be greatly appreciated. 

Thank you, 
Shelby Case

Jeremy Leung

unread,
Apr 11, 2025, 11:03:10 AMApr 11
to westpa-users
Hi Shelby,

The format is very similar to that of what you do for MAB (Tutorial 7.6), except when you would use another RectilinearBinMapper instead.


Best,

Jeremy L.

shelby case

unread,
Apr 21, 2025, 7:09:40 PMApr 21
to westpa...@googlegroups.com
Thanks Jeremy, 

Is there a specific way I would store pcoord values for two dimensions? Do you have any reference code I can use? 

Thank you, 
Shelby 

--
You received this message because you are subscribed to the Google Groups "westpa-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to westpa-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/westpa-users/004bdc15-63dc-4103-ac43-6a1cdf94ddefn%40googlegroups.com.

Jeremy Leung

unread,
Apr 21, 2025, 7:59:35 PMApr 21
to westpa-users
Hi Shelby,

Tutorial 7.2 is a classic one to follow:

A more modern example (done with newer WESTPA 2 features, since I recall you're on an older WESTPA version):

Best,

Jeremy L.

shelby case

unread,
Apr 29, 2025, 8:00:45 PMApr 29
to westpa-users
Hello, 

I have been trying to implement a 2D progress coordinate but it seems that im not able to initialize my WESTPA run and there is no descriptive error message. Im I missing something in my pcoord.py or west.cfg that could be preventing my run from starting? 

Thank you, 
Shelby 

west_2D.cfg
pcoord_2D.py

Hayden Scheiber

unread,
May 2, 2025, 11:13:27 AMMay 2
to westpa-users
Hi Shelby,

Your westpa configuration binning is still configured for 1D pcoords. In particular, see my comments below:

bins: type: RecursiveBinMapper base: type: RectilinearBinMapper boundaries: - ["-inf", 2] # This only refers to first pcoord
- [lower, upper] # Need to define an outer boundary for your second pcoord here mappers: - type: MABBinMapper nbins: [100, n_bins_in_pcoord2] # Need to decide on how many bins are created along each dimension at: [-0.5, pcoord2] # Also need to point "at" along all dimensions # end MAB bin_target_counts: 30




cheers,

Hayden
Reply all
Reply to author
Forward
0 new messages