6.3. Select menu

It is a menu related to the function of selecting atoms or molecules.

Hint

How to select atoms

There are two ways to select an atom: The method using a red circle marker and the method using a blue circle group selection.

The method using the red circle marker is mainly used for operation on one atom.The marker moves to the atom that was left-clicked in Viewport.In the example of the methanol molecule in the figure below, the oxygen (red) and hydrogen (yellow) of the OH (hydroxy) group are left clicked. The red thick circle is drawn to the atom to which the marker is finally attached, and the red thin circle is drawn to the atom attached the marker one before.The marker also moves by left clicking at Coordinate Viewer in the right red frame of the figure below.Last four atoms marked are internally stored and displayed as shown in the upper left red frame of the figure below.The number of each atom can be confirmed in Viewport by selecting View ‣ Labels/Charges ‣ Show Number & Element or Coordinate Viewer.

../_images/selection_marker.png

The method using group selection of the blue circle is mainly used for operations on multiple atoms.You can select a group by Ctrl+left drag , Ctrl+left click or Shift+left click in Viewport.You can also select a group by using the function of Select menu.In the example of the methanol molecule in the figure below, after Ctrl+left drag around the CH3 (methyl) group, it can be confirmed that the CH3 group atoms are surrounded by blue circles.You can also select a group by Ctrl+left click in Coordinate Viewer.On the upper left of Viewport, the number of atoms and composition of the group selected are displayed

../_images/selection_group.png

Select Partial Structure Split by 2 Marked Atoms is executed automatically when you execute an operation on multiple atoms such as Edit ‣ Modify Selected Group in a state where no group is selected. Specifically, the substructures that are divided by two atoms with a red thick circle and a red thin marker attached are selected as a group. In the example of a methanol molecule shown below, after oxygen (red) and carbon (green) are moved in the order of left click and the marker is moved, Edit ‣ Modify Selected Group ‣ Rotate Around Axis(2 Marked Atoms) is selected, the group with the last marker on the CH3 group is automatically selected (highlighted on the screen).

../_images/selection_nogroup.png

6.3.1. Select All

Select all atoms as a group.

6.3.2. Select None

Cancel the group selection.

6.3.3. Invert Selection

Select a group that has not been selected as a group, and cancel the group selection of the group that was selected until then.

6.3.4. Select by Molecular Species

It opens with Use List tab of Select by window checked Molecular Species.Click on each line in the list in the window and the corresponding molecular species are selected.

Note

When calculating from protein pdb files, this function can be used to extract proteins, ligands, bound water, buffers, etc.

6.3.5. Select by Molecules

It opens with Use List tab of Select by window checked Molecules.Click on each line in the list in the window and the corresponding molecule is selected.

6.3.6. Select by Elements

It opens with Use List tab of Select by window checked Elements.Click on each line in the list in the window and the corresponding element is selected.

6.3.7. Enter Selection Language

It opens with Use Selection Language tab of Select by window.If you click on Apply button after describing in the text box, the corresponding atoms are selected.The following syntax is supported in the selection language.

Basic syntax
element C H Select all carbon and hydrogen atoms.
index 1-3 6 8 Select 1, 2, 3, 6 and 9th atoms.
compid 1
Select the molecular species whose CompID is 1.
The correspondence between CompID and molecular species can be confirmed in the list under Apply button.
moleid 1-3
Select 1, 2 and 3rd molecules.
You can see the numbers of molecules in the list under Apply button.
site 1
Select the first atom (site) in each molecule.
You can see the numbers of sites for each molecule in the list under Apply button.
charge 0.5
Select the atoms whose atom name is CA.
A tolerance of ± 0.1% is provided.
resname GLY Select the atoms whose residue name is GLY.
name CA Select the atoms whose atom name is CA.

The residue name and atom name can be used when PDB or gro format file is opened.

Composite syntax using logical operators
(compid 1) and (site 1) It is a molecular species whose CompID is 1 and the first site in the molecule is selected.
(current) and (element H) Select only hydrogen atom among atoms currently selected in the group.
(resname GLY) and (not (element H)) Select the atom whose residue name is GLY and other than hydrogen.

In addition to and, not you can use or and xor. When using these logical operators, use the parentheses () as in the example above.

6.3.8. Select Partial Structure Split by 2 Marked Atoms

Substructures that are separated between two atoms with the first and second markers are selected. Details are described in Select menu with pictures.

6.3.9. Register Selected Group

Name and register the selected group so that it can be called from Select Registered Group.

6.3.10. Select Registered Group

Call the group registered with Register Selected Group. When LAMMPS is executed, the groups listed here are output in the ndx file. If you want to take over the registered group even after restarting Winmostar, export to the ndx file using Export Groups to Index File (ndx) and then read it using Import Groups from Index File (ndx).

6.3.11. Import Groups from Index File (ndx)

Reads the group output to the ndx file and makes it accessible from Select Registered Group.

6.3.12. Export Groups to Index File (ndx)

Outputs the groups registered in Select Registered Group to the ndx file.

6.3.13. Add Selected Group to Index File (ndx)

Add the group selected group to the specified ndx file.