CIF_SPLIT(1)
π CIF_SPLIT π
okay so bestie, welcome to CIF_SPLIT(1) from the General Commands Manual β yes she's section 1, she's a real one, she's a command, and she's about to make your CIF files behave. π
β¨ NAME β¨
cif_split β split CIF files into separate files with one data_ section each. This script parses given CIF files to separate the data blocks, so is capable of splitting non-correctly formatted and nested CIF files.
π¦ SYNOPSIS π¦
cif_split --options input1.cif input*.cif
likeβ¦ give her some options, then feed her your files. that's the whole vibe. π
πΈ DESCRIPTION πΈ
Split CIF files into separate files with one data_ section each.
This script parses given CIF files to separate the data blocks, so is capable of splitting non-correctly formatted and nested CIF files.
fr fr, she doesn't even care if your CIF file is messy β nested blocks? weird formatting? she eats that up, no notes. π₯
π OPTIONS π
-o,--output-dir out/β put all split files into the directoryout/. like, all of them, together, cozy. π«Ά-p,--prefixed,--output-prefixedβ print split data blocks to the STDOUT, each line prefixed by the data block name. Do not create any files.--output-tarβ produce TAR archive with split files to the STDOUT. iconic tbh. β-h,--add-cif-header header_file.cifβ prepend each of the output files with the comments from the beginning of the specified file.--split-global-data-blockβ put the'data_global'data block (if any) to each split file (default). this is the one she does automatically, bestie. β¨--do-not-split-global-data-block,--dont-split-global-data-block,--no-split-global-data-blockβ do not treat'data_global'data block (if any) as special. three names, one job, we love a flexible queen. π--uniquify-file-namesβ postfix duplicated data block names with numbers to create unique file names.--no-uniquify-file-namesβ put data blocks with the same name to the same file, i.e., append (default).-v,--verboseβ print names of the generated files to STDERR. she's a talker. π-q,--quietβ do not print file names to STDERR. she's not a talker.--use-perl-parserβ use Perl parser for CIF parsing.--use-c-parserβ use Perl & C parser for CIF parsing.--cif-inputβ use CIF format for input (default).--json-inputβ use JSON format for input.--cif-outputβ use CIF format for output (default).--json-outputβ use JSON format for output.--cifβ use CIF format for both input and output (default).--jsonβ use JSON format for both input and output.--help,--usageβ output a short usage message (this message) and exit.--versionβ output version information and exit.
π heads up:--do-not-split-global-data-blockand friends flip the default behaviour of--split-global-data-block, and--no-uniquify-file-namesflips the default of--uniquify-file-names. pick your fighter, don't do both and get confused, iykyk.
π REPORTING BUGS π
Report cif_split bugs using e-mail: cod-bugs@ibt.lt
and that's the whole page, bestie!! this one's from the General Commands Manual, page name CIF_SPLIT(1) β mwah, go split some CIF files, you absolute main character π
β¨π
π¦ where this page comes from
- debian trixie: cod-tools 3.11.0+dfsg-1 Β· LGPL-3.0-only
- ubuntu questing: cod-tools 3.11.0+dfsg-1
- ubuntu resolute: cod-tools 3.11.0+dfsg-2build1 Β· LGPL-3.0-only
- ubuntu stonking: cod-tools 3.12.0+dfsg-2 Β· LGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms