Collections:
"babel -a..." Command - Extra Input Reading Options
How to pass extra options for "babel" to read input data of a specific format?
✍: FYIcenter.com
If you want to pass extra options for "babel" to read input data of a specific format, you need to use one or more "-a..." options in the "babel" command line as shown in the following syntax:
babel input_section output_section [-aX...] [-aY...] ... # "X..." and "Y..." are extra options for reading input data.
For example, when "babel" is reading input data in "sdf" format, it supports an option called "T", which tells "babel" to read only the "title" part of each molecule. To specify this "T" option for reading data, you can enter it as "-aT" in the command line as shown below:
fyicenter$ babel molecule.sdf -o sdf -aT 20009 OpenBabel05202015543D 0 0 0 0 0 0 0 0 0 0999 V2000 M END $$$$ 1 molecule converted 1 info messages 8 audit log messages
As you can see, the "-aT" option worked properly.
⇒ "babel -x..." Command - Extra Output Writing Options
⇐ List of File Formats Supported by Open Babel
2020-07-15, 718🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1002279 Names: TARTARIC ACID; InChIKey: FEWJPZIEWOKRBE-UHFFFAOYS A-NSMILES...
Molecule Summary: ID: FYI-1002508 Names: InChIKey: PYDWRLNPMMKKCI-UHFFFAOYS A-NSMILES: Fc4ccc(c2nc1s...
What notations are used in molecule skeletal formula? There are a number of notations are used Skele...
Molecule Summary: ID: FYI-1001164 SMILES: Oc1ccc(cc1)C1=NNC(=S)N1C C=CReceived at FYIcenter.com on: ...
How to use "babel -s ..." command to do substructure search? You can do substructure search using th...