CIF2COD(1)
π CIF2COD(1) π
okay bestie, welcome to cif2cod from the General Commands Manual β yeah that's the manual name, it's giving classic Unix royalty π
β¨ NAME β¨
cif2cod β parse a CIF file and prep a COD database table entry out of it. that's it, that's the whole job π«Ά
πΈ SYNOPSIS πΈ
cif2cod --options input.cif inputs*.cif
π¦ DESCRIPTION π¦
Parse a CIF file, prepare a COD database table entry from it. literally what it says on the tin, no plot twist β¨
π OPTIONS π
-C,--cod-number 1000000β use the number you give it (like1000000in this example, bestie) as the COD number for this structure. do not take the number from the data block name. main character energy: you decide the number π-c,--always-continueβ keep going and return a successful return status even if errors get diagnosed. she's resilient πͺ-c-,--always-dieβ stop and return error status if errors get diagnosed. dramatic exit, no cap π-h,--print-headerβ print a header with the data column names on the first line for CSV output format. Default.-h-,--no-print-header,--dont-print-headerβ do not print the column names on that first (header) line for CSV output format. shy mode π-k,--keywordsβ print values on separate lines, each one prefixed with keywords.--include-keywords-with-undefined-valuesβ print the keyword line with an empty value even if the value is undefined. showing up empty-handed but still showing up π«Ά--exclude-keywords-with-undefined-valuesβ do not print the keyword line at all if the value is undefined. Default.--use-attached-hydrogensβ include the number of implicit hydrogen atoms, specified using the_atom_site_attached_hydrogensdata item, into the formula sum. Default.--no-use-attached-hydrogens,--dont-use-attached-hydrogens,--ignore-attached-hydrogensβ ignore the number of implicit hydrogen atoms, specified using the_atom_site_attached_hydrogensdata item, in calculation of the formula sum.--reformat-space-groupβ correct the formatting of the Hermann-Mauguin space group symbol. glow-up for your space group β¨--no-reformat-space-group,--dont-reformat-space-group,--leave-space-groupβ do not correct the formatting of the Hermann-Mauguin space group symbol. Default.--use-datablocks-without-coordinates,--use-all-datablocksβ do not filter out data blocks without coordinates. everyone's invited to the party π--no-use-datablocks-without-coordinates,--do-not-use-datablocks-without-coordinates,--dont-use-datablocks-without-coordinates,--skip-datablocks-without-coordinatesβ filter out data blocks without coordinates. Default.--require-only-doiβ do not require all the bibliographic details (authors, journal name, title, year, volume and first page of the publication) to be present if the publication DOI is specified. DOI girlies get a pass π--require-full-bibliographyβ require author names, journal name, volume, publication title, year and first page to be present. Default.--columns file,flags,Robs--columns "file flags Robs"β print only the columns specified in this option. choose your faves π--validate-by-schema doc/CODDictionary.xmlβ validate the output by the supplied XML schema, where the SQL data types are given in the following manner:
<CODDictionary>
<CODParameter name="file">
<SQLDataType>mediumint(7) unsigned</SQLDataType>
...
</CODParameter>
</CODDictionary>
--continue-on-errorsβ do not terminate the script if errors are raised.--die-on-errors,--no-continue-on-errors,--do-not-continue-on-errors,--dont-continue-on-errors,--exit-on-errorsβ terminate the script immediately if errors are raised. Default.--continue-on-warningsβ do not terminate the script if warnings are raised. Default.--die-on-warningsβ terminate the script immediately if warnings are raised.--continue-on-notesβ do not terminate the script if notes are raised. Default.--die-on-notesβ terminate the script immediately if notes are raised.--use-perl-parserβ use the Perl parser for parsing CIFs.--use-c-parserβ use the faster C parser for parsing CIFs. Default. fast AND iconic π₯--cif-inputβ use CIF format for input. Default.--json-inputβ use JSON format for input.--help,--usageβ output a short usage message (this message) and exit.--versionβ output version information and exit.
π REPORTING BUGS π
Found a bug? report cif2cod bugs using e-mail: cod-bugs@ibt.lt β go tell them, bestie, they wanna know π«Ά
and that's the whole page, fr fr. CIF2COD(1), General Commands Manual, from the COD crew β ily, go parse something pretty ππ
π¦ 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