This action replaces chemical element with other chemical element.
Allow valence error on replace : Atom exchange occurs even if it causes valence error on the relevant atom.
Example :
| Action | Input | Output | 
|---|---|---|
Replace Atom N to O (replaceatoms:queryatom=N:replaceatom=O) | 
    Replace atoms input | 
    Replace atoms output | 
Replace Atom N to O (replaceatoms:queryatom=N:replaceatom=O:allowValenceError=true) | 
    Replace atoms input | 
    Replace atoms output 2 | 
Note : Action replaces atoms inside abbreviated groups; the affected group will be ungrouped.
   Replace atoms input
   Replace atoms output
   Replace atoms output 2