[Biojava-l] question about pdb reader

Jun Gao j.gao at usip.edu
Thu Jun 7 21:27:53 UTC 2007


Hi all,

when I use PDBFileReader to open pdbfile(PDB ID 1rei),I always get these exception:

java.lang.NumberFormatException: For input string: "OMS A"
	at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1224)
	at java.lang.Float.parseFloat(Float.java:394)
	at org.biojava.bio.structure.io.PDBFileParser.pdb_REMARK_2_Handler(PDBFileParser.java:334)
	at org.biojava.bio.structure.io.PDBFileParser.pdb_REMARK_Handler(PDBFileParser.java:349)
	at org.biojava.bio.structure.io.PDBFileParser.parsePDBFile(PDBFileParser.java:845)
	at org.biojava.bio.structure.io.PDBFileParser.parsePDBFile(PDBFileParser.java:764)
	at org.biojava.bio.structure.io.PDBFileReader.getStructureById(PDBFileReader.java:189)
java.lang.NumberFormatException: For input string: "OMS W"
	at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1224)
	at java.lang.Float.parseFloat(Float.java:394)
	at org.biojava.bio.structure.io.PDBFileParser.pdb_REMARK_2_Handler(PDBFileParser.java:334)
	at org.biojava.bio.structure.io.PDBFileParser.pdb_REMARK_Handler(PDBFileParser.java:349)
	at org.biojava.bio.structure.io.PDBFileParser.parsePDBFile(PDBFileParser.java:845)
	at org.biojava.bio.structure.io.PDBFileParser.parsePDBFile(PDBFileParser.java:764)
	at org.biojava.bio.structure.io.PDBFileReader.getStructureById(PDBFileReader.java:189)

Is this a bug of PDBFileReader?

thanks!

Jun




More information about the Biojava-l mailing list