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, 857🔥, 0💬
Popular Posts:
What are examples of Constitutional Isomers? The picture below gives an example of Constitutional Is...
Molecule Summary: ID: FYI-1003039 Names: InChIKey: VSNHCAURESNICA-UHFFFAOYS A-OSMILES: NC(=O)[NH2+]O...
Molecule Summary: ID: FYI-1000196 SMILES: O=C(N(C(C(OC(=O)CCCCC(=O )OC)([H])[H])([H])[H])[H ])C2=C([N]...
Molecule Summary: ID: FYI-1004804 Names: InChIKey: BTANRVKWQNVYAZ-UHFFFAOYS A-NSMILES: CCC(C)O Recei...
Molecule Summary: ID: FYI-1004028 Names: InChIKey: TXCXZVFDWQYTIC-UHFFFAOYS A-NSMILES: Sc2nnc(c1ccnc...