decodebiology / interproscan

Automatically exported from code.google.com/p/interproscan
0 stars 0 forks source link

PRINTS binary output parser storing the wrong evalue #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The parser is storing the evalue from table 2 ("second level" annotation).  
Actually need to store the evalue from table 1 ("first level") as there is a 
rounding difference between the two.

This error may / will affect post processing.

Alex can provide further details.

Original issue reported on code.google.com by philip.j...@gmail.com on 14 Jul 2010 at 3:24

GoogleCodeExporter commented 9 years ago
I've looked at the PrintsMatchParser and it is storing the evalue from the 
first level of annotation already, NOT the second level (see code snippet 
below). Have I missed something?

John

=================================
Code:
else if (line.startsWith(FIRST_LEVEL_ANNOTATION)) {
  String[] lineSplit = line.split("\\s+");
  String motifName = lineSplit[1];
  String model = lineSplit[lineSplit.length - 1];
  double eValue = Double.parseDouble(lineSplit[2]);

Original comment by maslen.ebi@gmail.com on 15 Jul 2010 at 1:44

GoogleCodeExporter commented 9 years ago
Fixed (ages ago!) - just not closed yet.

Original comment by philip.j...@gmail.com on 24 Dec 2010 at 5:27