Reading pdb structure 2a65 I am facing the case of an aminoacid residue that should be considered a "ligand of the protein" rather than a "part of the protein".
In the PDB file as well as cif files, this LEU.601 residue is tagged as HET, unfortunately, being of name LEU, it seems Biojava tags it automatically as ATOM. Does anybody know a way to discriminate between "protein chain A" and the ligand "LEU.601" ?
A sample of 2a65.pdb :
HETATM 4149 N LEU A 601 24.537 32.416 18.866 1.00 15.26 N
HETATM 4150 CA LEU A 601 25.812 31.696 18.815 1.00 16.66 C
HETATM 4151 C LEU A 601 25.693 30.381 18.046 1.00 16.48 C
...
A snippet of my biojava code :
Group g=s.findGroup("A", "601");
System.out.println(g);
System.out.println(g.getType());
g=s.findGroup("A", "701");
System.out.println(g);
System.out.println(g.getType());
And what it generates :
AminoAcid ATOM:LEU L 601 true ATOM atoms: 9
amino
Hetatom 701 BOG true atoms: 20
hetatm