5.10 Merge with another file OpenGL

VEGA can merge the loaded molecule with one or more parts of another molecule. Choosing File -> Merge menu item, it's possible select the file to merge (source) with the molecule already in memory (target). Trough a dialog box, it's possible select the fields included in the source molecule that will be read to merge with the target:

What merge ?

The source and the target molecules must be compatible to merge them, otherwise an error message is shown.  They must have the same number of atoms. It's possible to merge source and target molecules with a different number of atoms, selecting an atom subset of the target and checking Consider selected atom only. Obviously, the subset target must be compatible with the source.
The All and None buttons are useful to check or uncheck all fields at once. The Merge button performs the merge, and the Cancel button aborts the operation without changes in the target molecule.
Not all merge fields are enabled because not all file formats contains all information. The following table highlights the fields that can be merged for each source file format:

 

Format Elements Atom names Atom types Atom charges Residue names Residue numbers Chain IDs Segments Molecule IDs Coordinates Connectivity Constraints
Alchemy              
CAR (old/new)        
CRD            
CSSR              
GAMESS                  
Gromos/Gromacs              
HyperChem        
IFF
MDL Mol                  
Mol2      
Mopac                  
MSF (Quanta)            
PDB       *  
PDB 2.2       *  
PDBA   *  
PDBF   *  
PDBQ       *  
QMC              
XYZ                    

* The connectivity can be merged only if it's present in the file.

WARNING:

  1. Isn't possible merge molecules with a different number of atoms. If you want force the merge and the target atoms are more than source atoms, you can select a target atom subset and check Consider selected atom only.

  2. If source and target have got the same number of atoms, but differences in the element position are detected, a warning message is shown, allowing to choose to continue or to abort the merge.