[Biojava-dev] Question about toPDB method.
M Venkataraman
maha at mit.edu
Fri Feb 10 19:40:10 UTC 2012
Hi:
I am new to bio-java. I need to load a PDB file make some modifications and then write it out.
As a first step, I am trying to load a PDBfile using PDBReader and write it back out.
I have the following code.
PDBFileReader reader = new PDBFileReader();
Structure struc = reader.getStructure(pdbFile.pdb);
System.out.println(struc.toPDB());
I see that the output file is different from the input file. Do I need to do something different for conserving the other contents of the PDB file?
Thanks
Maha
More information about the biojava-dev
mailing list