Thanks for reminding me Josh. I figured while I had some extra time
at ASMS, I would test out the bleeding-edge leading up to 4.0. I have
now switched back to the final 4.0 version to test out Qualscore. I
added the path to qualscore as well as jfreechart.jar. However that
was not successful. Looking at how qualscore is distributed under the
SVN, I noticed that qualscore.jar is expecting the freechart and
various other jar files to be placed in a "lib" subdirectory. After
copying those jar files into the tpp-bin/lib directory, I was able to
eliminate my NoClassDefFoundError. I then encountered this error:
processing SILAC_150_10ppm.mzXML...error: Parse error occurred - 70
java.lang.ArrayIndexOutOfBoundsException: 70
at org.isb.mzxml.MzXMLParser.convertMassList(MzXMLParser.java:384)
at org.isb.mzxml.MzXMLParser.endElement(MzXMLParser.java:312)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDriver.next(Unknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown
Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl
$JAXPSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.isb.mzxml.MzXMLParser.getScans(MzXMLParser.java:128)
at org.isb.mzxml.MzXML.rapScans(MzXML.java:132)
at
org.systemsbiology.qualscore.SingleInteractXML.enumerateDtasFromMZXML(SingleInteractXML.java:
91)
at
org.systemsbiology.qualscore.SingleInteractXML.enumerateScans(SingleInteractXML.java:
71)
at org.systemsbiology.qualscore.commandline.Main.<init>(Main.java:
197)
at org.systemsbiology.qualscore.commandline.Main.main(Main.java:1041)
Exception in thread "main" java.lang.NullPointerException
at
org.systemsbiology.qualscore.SingleInteractXML.enumerateDtasFromMZXML(SingleInteractXML.java:
93)
at
org.systemsbiology.qualscore.SingleInteractXML.enumerateScans(SingleInteractXML.java:
71)
at org.systemsbiology.qualscore.commandline.Main.<init>(Main.java:
197)
at org.systemsbiology.qualscore.commandline.Main.main(Main.java:1041)
I think this was because my mzXML file was compressed with zlib.
Using a non-compressed version eliminated this error, but was replaced
by the Out of Memory error:
processing SILAC_150_10ppm.mzXML... 500 1000Exception in thread
"main" java.lang.OutOfMemoryError: Java heap space
at
org.systemsbiology.qualscore.peakselectors.IsotopePeaks.transformScan(IsotopePeaks.java:
88)
at
org.systemsbiology.qualscore.features.MasterFeatureGenerator.calcFeaturesForSpectrum(MasterFeatureGenerator.java:
122)
at org.systemsbiology.qualscore.commandline.Main
$1.processScan(Main.java:227)
at
org.systemsbiology.qualscore.SingleInteractXML.enumerateDtasFromMZXML(SingleInteractXML.java:
109)
at
org.systemsbiology.qualscore.SingleInteractXML.enumerateScans(SingleInteractXML.java:
71)
at org.systemsbiology.qualscore.commandline.Main.<init>(Main.java:
197)
at org.systemsbiology.qualscore.commandline.Main.main(Main.java:1041)
Running qualscore on the command-line with -Xmx500m for example fixed
this error. Not sure if this was specific to my set up, but this
seemed to work for me.
-Todd
On Jun 5, 6:11 pm, "Joshua Tasman" <
jtas...@systemsbiology.org> wrote:
> By the way, Todd, please note that trunk is now 4.1 RC, which means that (as
> always) it's the "bleeding-edge" and not necessarily recommeneded for
> production use. For stability I would strongly recommend the official
> release or the current working release branch, branches/4-0rc, which would
> contain whatever code would make it into 4.0.1 (then 4.0.2, etc.)
>
> Thanks, as always for the testing and feedback!
>
> -Josh
>