First Chain Based Re-Orientation: If there is more than one chain in the structure, the new version will use the average of position of the first chain coordinates to decide the orientation of the picture based on the rule that the average should be in the first quadrant.
Chain List Rendering: the new features will render chain list in the following format molrender chain-list /path/to/5cbg.cif /path/to/out/ asmIndex chain chainName1 [operator1] chain chainName2 [operator2] ...
Operator Options: the operator can have two formats for renderings operator-name ASM_17 and operator-list 1 23 where is a operator list separated by space. This should be in the position of [operator1], [operator2] in the above command line.
Refactor the code to improve readability.
For example:
molrender chain-list 1m4x.cif outpath 0 chain A operator-list 61 1 chain A operator-name ASM_2 chain A operator-name ASM_17 chain B operator-list 78 14 will generate:
molrender chain-list 1m4x.cif outpath 0 chain A operator-list 61 1 chain A operator-name ASM_2 chain A operator-name ASM_17 chain B operator-name ASM_42 will generate:
molrender chain-list 1m4x.cif outpath 0 chain A operator-list 61 1 chain A operator-name ASM_2 chain A operator-name ASM_17 chain B will generate:
operator-name ASM_17
andoperator-list 1 23
where is a operator list separated by space. This should be in the position of [operator1], [operator2] in the above command line.For example:
molrender chain-list 1m4x.cif outpath 0 chain A operator-list 61 1 chain A operator-name ASM_2 chain A operator-name ASM_17 chain B operator-list 78 14
will generate:molrender chain-list 1m4x.cif outpath 0 chain A operator-list 61 1 chain A operator-name ASM_2 chain A operator-name ASM_17 chain B operator-name ASM_42
will generate:molrender chain-list 1m4x.cif outpath 0 chain A operator-list 61 1 chain A operator-name ASM_2 chain A operator-name ASM_17 chain B
will generate: