Nesvilab / PD-Nodes

The implementation of MSFragger and Philosopher (PeptideProphet) as Proteome Discoverer nodes
http://www.nesvilab.org/PD-Nodes/
8 stars 1 forks source link

Same key error #10

Closed mikl93 closed 4 years ago

mikl93 commented 4 years ago

I recently installed MSFragger on a second computer with PD. This is the error we are getting "An item with the same key has already been added." I found some other threads that resolved with re-installing java. I have installed/removed/fresh install and it didn't seem to fix the problem.

Below is the portion of the Magellan log with the error.

2020-08-03 10:28:47,569 DEBUG [40] IseNode - Writing spectra to temporary SRF file C:\ProgramData\Thermo\Proteome Discoverer 2.4\Scratch\Job292\Seques(22)\SrfFile0.srf. 2020-08-03 10:28:47,816 DEBUG [40] MSFragger - (292-17) Decoy search will be performed. 2020-08-03 10:28:55,077 INFO [40] MSFragger - (292-17) Invalid maximum heap size: -Xmx56G 2020-08-03 10:28:55,129 INFO [40] MSFragger - (292-17) The specified size exceeds the maximum representable size. 2020-08-03 10:28:55,171 INFO [40] MSFragger - (292-17) Error: Could not create the Java Virtual Machine. 2020-08-03 10:28:55,194 INFO [40] MSFragger - (292-17) Error: A fatal exception has occurred. Program will exit. 2020-08-03 10:28:55,233 INFO [40] MSFragger - (292-17) MSFragger Running Time --0:0:6 2020-08-03 10:28:55,276 ERROR [40] MSFragger - (292-17) Error: An item with the same key has already been added. 2020-08-03 10:28:55,442 ERROR [40] MSFragger - (292-17) Could not process spectra due to following exception: An item with the same key has already been added. 2020-08-03 10:28:55,599 ERROR [40] JobManager+b - Exception caught -> Processing of Job (ID: 292) fails. System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at MSFraggerPDv24.MSFragger.OnSpectraSentForSearch(IProcessingNode sender, MassSpectrumCollection spectraSent) at Thermo.Magellan.BL.Processing.PeptideAndProteinIdentificationNode.OnResultsSent(IProcessingNode sender, MassSpectrumCollection spectra) at Thermo.Magellan.BL.Processing.ProcessingNodeBase3.SendResults(TResult1 result) at Thermo.Magellan.RetrieverNodes.SpectrumSelectorNode.h() at Thermo.Magellan.RetrieverNodes.SpectrumSelectorNode.OnAllParentNodesFinished() at Thermo.Magellan.BL.Processing.ProcessingNodeBase.FireProcessingFinishedEvent(ResultsArguments eventArgs) at Thermo.Magellan.RetrieverNodes.SpectrumFilesNode.Process() at Thermo.Magellan.BL.Jobs.ProcessingJob.ExecuteNodesIncludingPostProcessingNodes(Action doExecuteNodes, Stopwatch timer) at Thermo.Magellan.BL.Jobs.CompositeJob.ExecuteChildJobs() at Thermo.Magellan.Services.JobManager.b.b()

huiyinc commented 4 years ago

Hi,

Can you please download the pre-release version (link https://github.com/Nesvilab/PD-Nodes/releases/tag/1.0.6) and try again? Since it's a pre-release version, we would appreciate any feedback from you. We will change this pre-release version to a stable version once we are sure that everything goes well. Thanks.

Huiyin

mikl93 notifications@github.com 於 2020年8月6日 週四 上午5:54寫道:

I recently installed MSFragger on a second computer with PD. This is the error we are getting "An item with the same key has already been added." I found some other threads that resolved with re-installing java. I have installed/removed/fresh install and it didn't seem to fix the problem.

Below is the portion of the Magellan log with the error.

2020-08-03 10:28:47,569 DEBUG [40] IseNode - Writing spectra to temporary SRF file C:\ProgramData\Thermo\Proteome Discoverer 2.4\Scratch\Job292\Seques(22)\SrfFile0.srf. 2020-08-03 10:28:47,816 DEBUG [40] MSFragger - (292-17) Decoy search will be performed. 2020-08-03 10:28:55,077 INFO [40] MSFragger - (292-17) Invalid maximum heap size: -Xmx56G 2020-08-03 10:28:55,129 INFO [40] MSFragger - (292-17) The specified size exceeds the maximum representable size. 2020-08-03 10:28:55,171 INFO [40] MSFragger - (292-17) Error: Could not create the Java Virtual Machine. 2020-08-03 10:28:55,194 INFO [40] MSFragger - (292-17) Error: A fatal exception has occurred. Program will exit. 2020-08-03 10:28:55,233 INFO [40] MSFragger - (292-17) MSFragger Running Time --0:0:6 2020-08-03 10:28:55,276 ERROR [40] MSFragger - (292-17) Error: An item with the same key has already been added. 2020-08-03 10:28:55,442 ERROR [40] MSFragger - (292-17) Could not process spectra due to following exception: An item with the same key has already been added. 2020-08-03 10:28:55,599 ERROR [40] JobManager+b - Exception caught -> Processing of Job (ID: 292) fails. System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at MSFraggerPDv24.MSFragger.OnSpectraSentForSearch(IProcessingNode sender, MassSpectrumCollection spectraSent) at Thermo.Magellan.BL.Processing.PeptideAndProteinIdentificationNode.OnResultsSent(IProcessingNode sender, MassSpectrumCollection spectra) at Thermo.Magellan.BL.Processing.ProcessingNodeBase3.SendResults(TResult1 result) at Thermo.Magellan.RetrieverNodes.SpectrumSelectorNode.h() at Thermo.Magellan.RetrieverNodes.SpectrumSelectorNode.OnAllParentNodesFinished() at Thermo.Magellan.BL.Processing.ProcessingNodeBase.FireProcessingFinishedEvent(ResultsArguments eventArgs) at Thermo.Magellan.RetrieverNodes.SpectrumFilesNode.Process() at Thermo.Magellan.BL.Jobs.ProcessingJob.ExecuteNodesIncludingPostProcessingNodes(Action doExecuteNodes, Stopwatch timer) at Thermo.Magellan.BL.Jobs.CompositeJob.ExecuteChildJobs() at Thermo.Magellan.Services.JobManager.b.b()

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Nesvilab/PD-Nodes/issues/10, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALAWWA6IBJHLRTRSOTWEPDDR7HIIJANCNFSM4PV53QCQ .

-- Hui-Yin Chang, 張彙音 Associate Professor, 助理教授 Department of Biomedical Sciences and Engineering, 生醫科學與工程學系 National Central University (Taiwan), 國立中央大學 (台灣)