Skip to content

Conversation

drroe
Copy link
Contributor

@drroe drroe commented Dec 21, 2018

Adds 4 new options to the radial command:

  • byres1 : Use center of mass of residues selected by mask1
  • byres2 : Use center of mass of residues selected by mask2
  • bymol1 : Use center of mass of molecules selected by mask1
  • bymol2 : Use center of mass of molecules selected by mask2

In each case, the atoms used are only the atoms actually selected by the original mask. If only on byresX or bymolX option is specified, the other mask defaults to by atom. So for example:

radial out WatO-Trp.agr 0.5 10.0 :WAT@O :TRP byres2

Will calculate the RDF of all water oxygens to the center of mass of each TRP residue. The new modes are OpenMP-enabled like the rest of radial. However they are not currently compatible with centerX or nointramol.

Adds two new tests. This effectively addresses #645.

@drroe drroe self-assigned this Dec 21, 2018
@drroe drroe merged commit a3e08a2 into Amber-MD:master Dec 21, 2018
@drroe drroe deleted the radial_byres branch December 21, 2018 19:46
@saikat0003
Copy link

I am very new to Github. How to get the code of radial?

@drroe
Copy link
Contributor Author

drroe commented Mar 14, 2019

Either clone or download the GIT repository (both available via the green button on the main page. Then compile the code.

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

Successfully merging this pull request may close these issues.

2 participants