text: user266: I'd like to test MMTF, a new format for storing biomolecular structures which is promoted by RCSB as a more compact alternative to mmCIF and PDB.
  From MMTF FAQ:
  
  
  How do I convert a PDBx/mmCIF file to an MMTF file?
  The BioJava library contains methods to read and write PDBx/mmCIF files and MMTF files.
  
  
  Can I do such a conversion, ideally from command line, but without writing my own Java program?
  
  user747: This python script uses Biopython and does the job well even on large structures. For example:
  python cif2pdb.py 4ckh-assembly-1.cif 4ckh-assembly-1.pdb 
  This generates the structure below.
  
  
  user640: You looked at this https://github.com/rcsb/mmtf-python 
  "The python implementation of the MMTF API, decoder and encoder."
  
  user138: I wrote a very quick and dirty script to handle conversion between file types using BioJava.
  https://github.com/eedlund/Utils/tree/master/BioUtils
  Download the jar file here
  To run: java -jar BioUtils.jar $FILE $TYPE
  where \$FILE is a PDB or mmCIF file you'd like to convert and \$TYPE is the format of the output file [PDB, CIF, MMTF].
  
  user4622: You can do this with BioStructures.jl in Julia. All the 6 transformations between PDB/mmCIF/MMTF are possible.
  For example, PDB to MMTF:
  using BioStructures
  struc = read(in_filepath, PDB)
  writemmtf(out_filepath, struc)
  
  mmCIF to MMTF:
  using BioStructures
  struc = read(in_filepath, MMCIF)
  writemmtf(out_filepath, struc)
  
  
  user14431: You can use PyMol to change the PDB to mmtf or other format. First open the PDB file and then choose file->export molecule-> choose which format you want to save as
  
original_text: 266: <p>I'd like to test <a href="http://mmtf.rcsb.org" rel="noreferrer">MMTF</a>, a new format for storing biomolecular structures which is promoted by RCSB as a more compact alternative to mmCIF and PDB.</p>
  
  <p>From <a href="http://mmtf.rcsb.org/faq.html" rel="noreferrer">MMTF FAQ</a>:</p>
  
  <blockquote>
    <ul>
    <li><p>How do I convert a PDBx/mmCIF file to an MMTF file?</p>
    
    <p>The BioJava library contains methods to read and write PDBx/mmCIF files and MMTF files.</p></li>
    </ul>
  </blockquote>
  
  <p>Can I do such a conversion, ideally from command line, but without writing my own Java program?</p>
   747: <p>This <a href="https://gist.github.com/sbliven/b7cc2c5305aa3652a75a580ae7c6ce33" rel="nofollow noreferrer">python script</a> uses <a href="https://biopython.org/" rel="nofollow noreferrer">Biopython</a> and does the job well even on large structures. For example:</p>
  
  <p><code>python cif2pdb.py 4ckh-assembly-1.cif 4ckh-assembly-1.pdb</code> </p>
  
  <p>This generates the structure below.</p>
  
  <p><a href="https://i.stack.imgur.com/wWiJG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wWiJG.png" alt="A large protein structure"></a></p>
   640: <p>You looked at this <a href="https://github.com/rcsb/mmtf-python" rel="nofollow noreferrer">https://github.com/rcsb/mmtf-python</a> </p>
  
  <p>"The python implementation of the MMTF API, decoder and encoder."</p>
   138: <p>I wrote a very quick and dirty script to handle conversion between file types using BioJava.</p>
  
  <p><a href="https://github.com/eedlund/Utils/tree/master/BioUtils" rel="nofollow noreferrer">https://github.com/eedlund/Utils/tree/master/BioUtils</a></p>
  
  <p>Download the jar file <a href="https://github.com/eedlund/Utils/raw/master/BioUtils/BioUtils.jar" rel="nofollow noreferrer">here</a></p>
  
  <p>To run: <code>java -jar BioUtils.jar $FILE $TYPE</code></p>
  
  <p>where \$FILE is a PDB or mmCIF file you'd like to convert and \$TYPE is the format of the output file [PDB, CIF, MMTF].</p>
   4622: <p>You can do this with <a href="https://github.com/BioJulia/BioStructures.jl" rel="nofollow noreferrer">BioStructures.jl</a> in Julia. All the 6 transformations between PDB/mmCIF/MMTF are possible.</p>
  
  <p>For example, PDB to MMTF:</p>
  
  <pre><code>using BioStructures
  struc = read(in_filepath, PDB)
  writemmtf(out_filepath, struc)
  </code></pre>
  
  <p>mmCIF to MMTF:</p>
  
  <pre><code>using BioStructures
  struc = read(in_filepath, MMCIF)
  writemmtf(out_filepath, struc)
  </code></pre>
   14431: <p>You can use PyMol to change the PDB to mmtf or other format. First open the PDB file and then choose file-&gt;export molecule-&gt; choose which format you want to save as</p>
  