CIF2COD(1)

πŸ“¦
version 3.12.0 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 (like 1000000 in 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_hydrogens data 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_hydrogens data 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