<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="text-align:left; direction:ltr;">
<div><br>
</div>
<div><span>
<pre>Hi All,</pre>
<pre><br></pre>
<pre>There is no implementation of the classes defined on Bio.Crystal on Biopython, so the module will be removed.</pre>
<pre><br></pre>
<pre>NDB Only files should be open with the Bio.PDB Module which will handle the HETATM records; Today Biopython uses Bio.PDB to work with PDB files, any work related should be place under Bio.PBD.</pre>
<pre><br></pre>
<pre>Bio.Crystal.Hetero sustitute is Bio.PDB.Atom</pre>
<pre>Bio.Crystal.Chain sustitute is Bio.PDB.Chain</pre>
<pre>Bio.Crystal.Crystal sustiture is Bio.PDB.Structure</pre>
<pre><br></pre>
<pre>Using Bio.PDB you can navigate the file data as below.</pre>
<pre><br></pre>
<pre>from Bio.PDB.PDBParser import PDBParser</pre>
<pre>parser = PDBParser(PERMISSIVE=1)</pre>
<pre># PDB NDB Only file</pre>
<pre>structure = parser.get_structure(“001”, "001_msd.pbd")</pre>
<pre>for model in structure:</pre>
<pre>    print(‘Model ‘,model)</pre>
<pre>    for chain in model:</pre>
<pre>        print('Chain ', chain)</pre>
<pre>        for residue in chain:</pre>
<pre>            print('Res ', residue)</pre>
<pre>            for atom in residue:</pre>
<pre>                print('Atom ', atom)</pre>
<pre><br></pre>
<pre>Since there is no implementation of the classes and their function are already covered by Bio.PDB, Bio.Crystal will be deprecated.</pre>
<pre><br></pre>
<pre>If you use BioCrystal please let us now, by replying to the list of commenting on the below Pull Request.</pre>
<pre><br></pre>
<pre><a href="https://github.com/biopython/biopython/pull/2272">https://github.com/biopython/biopython/pull/2272</a></pre>
<pre><br></pre>
<pre>Regards,</pre>
<pre>Sergio.</pre>
</span></div>
</body>
</html>