"babel ... -f # -l #" - Split Large Molecule File
How to split a file with a large number of molecules?
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 extrancted.
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
â‡‘â‡‘ Open Babel Tutorials
2020-09-30, 602👍, 0💬
What are examples of Enantiomers Isomers? The picture below gives an example of Enantiomers Isomers:...
What is Isomer? An Isomer is molecule that has the same the same chemical formula as another molecul...
How to convert Convert SDF to SVG (Scalable Vector Graphics) using Open Babel? I want to see the mol...
How to download and install JSME? If you want to try JSME on your own computer, you can follow this ...
What Is SDF/Mol file format? SDF (Structural Data File), also call Mol file, is a text file to repre...