Skip to content

Reverse reaction - React CLI

The command line parameter --reverse (-s) specifies that the reversed reaction will be performed; that is, the two sides of the given reaction equation are swapped: products are taken as reactants and reactants are taken as products. Note that in reverse mode, the number of input file(s)/string(s) should match the number of product(s) of the reaction equation to be applied.
Example (Click here to expand...)

  1. 1
    2
    3
    4
    5
    react -s -r da.mrv "C1CCC=CC1" 
    
    C=CC=C
    
    C=C
    
  2.  1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    ```
    react -s -r da.mrv daproduct.mrv 
    
    C=CC=C
    
    C=C
    
    CC(=C)C(C)=C
    
    CC=C
    
    CC(=C)C(C)=C
    
    CC=CC
    ```
    

    Note : Results are written to the console.

images/download/attachments/1803377/reverse.png