pdb2cif(1)

πŸ’– pdb2cif β€” the PDB-to-mmCIF glow-up tool πŸ’–

okay bestie, listen. this is a User Command situation, it's pdb2cif, and it lives in the cif-tools universe. she's giving converter energy, and honestly? she ate. πŸŽ€


✨ NAME ✨

pdb2cif β€” convert the content of a PDB file into mmCIF format πŸ¦‹


✨ SYNOPSIS ✨

pdb2cif [OPTION] input [output]

✨ DESCRIPTION ✨

so this tool attempts to write out the contents of a PDB file in mmCIF format. that's the whole mission. that's the vibe. πŸ’…

but ngl, turning a PDB file into mmCIF format is not trivial. not even a little. the numbering schemes differ between the two, and in some cases it's literally necessary to do a sequence alignment just to recover the correct sequence numbers. it's giving detective work. it's giving archaeology. 😭

here's the tea though: when CCP4 is installed and sourced correctly, this tool will use the information in the CCP4 monomers library to guide the construction of a correct mmCIF file. iconic behavior. but in the absence of CCP4? a best effort is done. we do what we can, fr fr. 🫢


✨ OPTIONS ✨

if no output file is given, the result gets printed to stdout. and yes β€” both the input and output files can be compressed. obsessed. 🌸

  • --dict=<file> β€” specify a dictionary file containing restraints for residues specific to this file πŸ‘‘
  • --validate β€” validate the file before writing the output πŸ™ˆ
  • --verbose,-V β€” be more verbose, which is useful to diagnose validation errors πŸ”

✨ AUTHOR ✨

Written by Maarten L. Hekkelman <maarten@hekkelman.com> πŸ’œ


✨ REPORTING BUGS ✨

Report bugs at https://github.com/PDB-REDO/cif-tools/issues πŸ›


✨ SEE ALSO ✨

cif-diff, cif-grep, cif-merge, cif-validate, cif2pdb, mmcql. ✨


lowkey the whole gang is here, go check them out, iykyk 🌈

okay that's the whole page bestie, go forth and convert responsibly πŸ’–βœ¨ and for the record, this was version 2.0.0, dated 2022-11-20 β€” slay, periodt. πŸ‘‘

πŸ“¦ where this page comes from