text: user9689: can you please give me an advice how to convert .cif files into .pdb preferably using python?
  Thanks in advance!
  Best,
  Balint Biro
  
  user6322: As @Michael said PyMOL can do this. PyMOL is not only an app, but also a python package —installed via conda not via the regular download (you can have both).
  import pymol2
  with pymol2.PyMOL() as pymol:
       pymol.cmd.load(infile,'myprotein')
       pymol.cmd.save(infile.replace('.cif', '.pdb'), selection='myprotein')
  
  This runs the parallelisable instance, so you can have that context manager block running on how many threads or processes you fancy.
  
original_text: 9689: <p>can you please give me an advice how to convert .cif files into .pdb preferably using python?</p>
  <p>Thanks in advance!
  Best,
  Balint Biro</p>
   6322: <p>As @Michael said PyMOL can do this. PyMOL is not only an app, but also a python package —installed <a href="https://anaconda.org/schrodinger/pymol" rel="nofollow noreferrer">via conda</a> not via the regular download (you can have both).</p>
  <pre><code>import pymol2
  with pymol2.PyMOL() as pymol:
       pymol.cmd.load(infile,'myprotein')
       pymol.cmd.save(infile.replace('.cif', '.pdb'), selection='myprotein')
  </code></pre>
  <p>This runs the parallelisable instance, so you can have that context manager block running on how many threads or processes you fancy.</p>
  