molconvert [options] outformat[:exportoptions] [files...]
The outformat argument must be one of the following strings:
Alternatively, use
mrv
(document formats) mol
,rgf
,sdf
,rdf
,csmol
,csrgf
,cssdf
,csrdf
,
cml
,smiles
,cxsmiles
,abbrevgroup
,peptide
,
sybyl
,mol2
,pdb
,xyz
,inchi
,name
(molecule file formats) jpeg
,msbmp
,png
,pov
,ppm
,svg
,emf
(graphics formats) gzip
,base64
(compression and encoding)
molconvert [options] query-encoding [files...]to query the automatically detected encodings of the specified molecule files.
Import options can be specified between braces, in one of the following forms:
-o
fileWrite output to specified file instead of standard output -m
Produce multiple output files -e
charsetSet the input character encoding. The encoding must be supported by Java. -e
[in]..[
out]Set the input (in) and/or output (out) character encodings. Examples: UTF-8, ASCII, Cp1250 (Windows Eastern European), Cp1252 (Windows Latin 1), ms932 (Windows Japanese). -s
stringRead molecule from specified SMILES, SMARTS or peptide string (try to recognize its format) -s
string{
format:
options}
Read molecule from the string in the specified format (can be omitted), using the specified import options (can be omitted) --smiles
stringRead molecule from specified SMILES string --smarts
stringRead molecule from specified SMARTS string --peptide
stringRead molecule from specified peptide string -g
Continue with next molecule on error (default: exit on error) -Y
Remove explicit H atoms -R
<file>[:<range>]fuse fragments from file with specified mol index range range syntax: "-5,10-20,25,26,38-" (e.g. -R frags.mrv:20-) -R<i>
<file>[:<range>]fuse R<i> definition fragments from file in specified index range (e.g. -R1 rdef1.mrv:5-8,19) -R<i>:<1|2>
<file>[:<range>]fuse R<i> definition fragments from file in specified index range, filter molecules having 1 (2, resp.) attachment points (e.g. -R1:2 rdef1.mrv:-3,8-10) -F
Remove small fragments, keep the largest -T
f1:f2...Print a table containing fields from SDF separated by tab in case of SMILES export.
Colon characters in field names can be escaped by backslash.-T
"*"Print a table containing all fields from SDF separated by tab in case of SMILES export. -c
"f1OPvalue&f2OPvalue..."Filtering by the values of fields in the case of SDF import.
OP may be: =,<,>,<=,>=--mol-fields-to-records
Convert molecule type fields to separate records. -v
Verbose -vv
Very verbose (print stack trace at error) -n
Skip valence checking -2
[:
options][:
F<i1><i2>...,<iN>]Calculate 2D coordinates (default if the input is SMILES)
Options for coordinate calculation.
Performs partial clean with fixed atom coordinates for atoms <i1><i2>...,<iN> (1-based indexes) if the F parameter is specified.-3
[:
options]Calculate 3D coordinates
Options for coordinate calculation.-H3D
Detailed list on Clean3D options
filename{options}
filename{MULTISET,options} to merge molecules into one that contains multiple atom sets filename{format:} to skip automatic format recognition filename{format:options}
filename{format:MULTISET,options}
You can also pass options to Java VM when you run the application from command line.
molconvert smiles caffeine.mol
molconvert smiles:-a -s "c1ccccc1"
molconvert smiles:a
-s "C1=CC=CC=C1"
(The default general aromatization is used.)
molconvert smiles:a_bas -s
"CN1C=NC2=C1C(=O)N(C)C(=O)N2C"
molconvert mol caffeine.smiles -o caffeine.mol
molconvert sdf *.mol -o molecules.sdf
molconvert query-encoding *.sdf
molconvert -2:2e mol caffeine.smiles -o
caffeine.mol
molconvert -2:2:F1,5,6 mol caffeine.mol
molconvert smiles "foo.xyz{xyz:}"
Note: This is just an example. XYZ and other
formats known by Marvin are always recognized (send us a bug report
otherwise), so the specification of the input format is usually not
needed. It is only relevant if a user-defined import module is used.
molconvert smiles "foo.xyz{f1.4C4}"
molconvert smiles "foo.xyz.gz{gzip:xyz:f1.4C4}"
molconvert mol
"foo.xyz.gz{gzip:xyz:MULTISET,f1.4C4}"
molconvert smiles -c
"ID<=1000&logP>=-2&logP<=4" -T ID:logP foo.sdf
molconvert mrv in.mrv -R2:1 rdef.mrv
molconvert mrv in.mrv -R frags.mrv