Collections:
"babel ... -f # -l #" - Split Large Molecule File
How to split a file with a large number of molecules?
✍: FYIcenter.com
You can split a file with a large number of molecules into smaller files
by extracting a chunk of molecules to the output
using the "-f #" and "-l #" options.
The "-f #" option specifies the index of the first molecule to be extracted.
The "-l #" option specifies the index of the last molecule to be extracted.
For example, the following "babel" command extract 100 molecules from a large file starting at molecule # 101.
fyicenter$ babel molecules.sdf molecules-chunk.sdf -f 101 -l 200 100 molecules converted 1972 audit log messages
For example, the following "babel" command extract the first molecule from a large file:
fyicenter$ babel molecules.sdf molecule-first.sdf -f 1 -l 1 1 molecule converted 20 audit log messages
⇒ "babel -h" Command - Add Hydrogens to Molecule Data
⇐ "babel" Command Option Argument Syntax
2020-09-30, 3015🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1004055 Names: InChIKey: QKJHNPXSYSFZMJ-UHFFFAOYS A-NSMILES: C=Cc1ccc(O)c(...
Molecule Summary: ID: FYI-1003535 Names: InChIKey: LKJBZDLJZFBGEE-UHFFFAOYS A-NSMILES: N=C(N)NCCCC(N...
What are Open Babel commands and files installed by the macOS binary package? If you install Open Ba...
Reaction Summary: ID: FYI-1006692 Formula: SMILES: Cl.[Na]O>>[Na]Cl.O Received at FYIcenter.com on: ...
Molecule Summary: ID: FYI-1001002 SMILES: C#CC#CC=[NH+]C1=CC=CC=C1 CC(O)NC(C(N)O)C(C)(C)CReceived at...