-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when running MaxQuant version 2.0.3.1: _Input string was not in a correct format._ #64
Comments
Could you please try out with the newest version (2.4.14.0) and let us know if the problem is still there? |
Hello, thank you for your answer. I already tried your suggestion, I now tried with the 2.4.14 version of MQ, and the job died after a couple of minutes. Parameters in the XML file are all exactly the same. Before, I got 2 days of execution and died, with the original error posted in this thread. Now it dies immediately, with the following error: ''' at QueueingSystem.WorkDispatcher.ProcessSingleRunExternalProcess(Int32 taskIndex, Int32 threadIndex) Than you for your support |
Check your system's current culture decimal separator. If it is ‘,’ change it to ‘.’ . |
Error when running MaxQuant in Linux
I am running a set of raw files in Linux with mono and xml files, as it should be run according to official video tutorials, and personal communication with peers that have experience with it. I have had different types of errors related to memory allocation that I have been able to solve. This time, when running one of this set of runs I get this error that seems to not be related to memory, but rather with some formatting of file, nevertheless, the file format that it points to is the raw file. I don't know if it could be related to the functioning of MaxQuant's code that yields this error due to memory usage, or if it is actually something wrong with the format of my raw file, which would mean that it is corrupted, since I have not manipulated it at all. Only manipulations have been in the xml file, which are exactly the same as in runs that have actually finished successfully.
The error file in my combined folder is called "Reading_search_engine_results 11.error.txt"
This is the content of the file, as I understand it is describing that there is an input string comming from the raw file that is not in a correct format (that's where I am confused, since the raw file comes directly from the proteomics facility):
'''
id 0
start 21-02-2024 02:41:26
title Reading_search_engine_results (1/1)
description /project/proteomics/outputs/MaxQuantRuns/s2885_BPP_014_02/LDB-001_MQv1_INIT/LDB-001_s2885_MQv1.raw
error /project/proteomics/outputs/MaxQuantRuns/s2885_BPP_014_02/LDB-001_MQv1_INIT/LDB-001_s2885_MQv1.raw_Input string was not in a correct format._ at System.Number.ThrowOverflowOrFormatException (System.Boolean overflow, System.String overflowResourceKey) [0x0001a] in :0 _ at System.Number.ParseInt32 (System.ReadOnlySpan
1[T] value, System.Globalization.NumberStyles styles, System.Globalization.NumberFormatInfo info) [0x00016] in <ebaeb314c00e4c44a1ecca2b2c547449>:0 _ at System.Int32.Parse (System.String s) [0x00016] in <ebaeb314c00e4c44a1ecca2b2c547449>:0 _ at MsLib.Search.AndromedaQueryStandard.FromString (System.String line, System.String[] fixedMods) [0x0002b] in <c7996a5d247b4a82ba72a2553c25246f>:0 _ at MaxQuantLibS.Domains.Peptides.Search.ResParser.ParseRes (System.IO.TextReader reader, System.Int32 minPepLen, BaseLibS.Ms.Data.Protein.ProteinSet proteinSet) [0x000a1] in <6a6754cab5cf48c89c9c64e9dafc7e21>:0 _ at MaxQuantLibS.Domains.Peptides.Search.ResParser.ParseRes (System.String resFile, System.Int32 minPepLen, BaseLibS.Ms.Data.Protein.ProteinSet proteinSet) [0x00012] in <6a6754cab5cf48c89c9c64e9dafc7e21>:0 _ at MaxQuantLibS.Domains.Peptides.Search.ResParser+<>c__DisplayClass7_0.<ParseRes>b__0 (System.String resFile) [0x00000] in <6a6754cab5cf48c89c9c64e9dafc7e21>:0 _ at System.Linq.Enumerable+SelectArrayIterator
2[TSource,TResult].MoveNext () [0x0003a] in <3e5de7278d3f47efb15f21c626ff08dc>:0 _ at MaxQuantLibS.Domains.Peptides.Search.ResParser.ParseRes (System.Collections.Generic.IEnumerable1[T] rawFiles, System.Collections.Generic.IEnumerable
1[T] resFiles, System.Int32 minPepLen, BaseLibS.Ms.Data.Protein.ProteinSet proteinSet) [0x0015c] in <6a6754cab5cf48c89c9c64e9dafc7e21>:0 _ at MaxQuantLibS.Domains.Peptides.Search.ResParser.ParseFiles (System.Collections.Generic.IEnumerable1[T] rawFiles, System.Collections.Generic.IEnumerable
1[T] resFile, System.Int32 minPepLen, BaseLibS.Ms.Data.Protein.ProteinSet proteinSet, System.Int32 splitIndex, MaxQuantLibS.Domains.Peptides.Search.AndromedaResultInfo info) [0x00001] in <6a6754cab5cf48c89c9c64e9dafc7e21>:0 _ at MaxQuantLibS.Domains.Peptides.Search.ResParser.Parse (System.Collections.Generic.IList1[T] rawFiles, System.Collections.Generic.IList
1[T] resFiles, System.Int32 minPepLen, BaseLibS.Ms.Data.Protein.ProteinSet proteinSet, System.Int32 index) [0x0001d] in <6a6754cab5cf48c89c9c64e9dafc7e21>:0 _ at MaxQuantLibS.Domains.Peptides.Search.ReadAndromedaResults.ReadSearchEngineResultsNormal (MaxQuantLibS.Domains.Peptides.Basic.MaxQuantParams mqpar, System.String combinedFolder, System.Int32 index, BaseLibS.Ms.Data.Protein.ProteinSet proteinSet) [0x0001d] in <6a6754cab5cf48c89c9c64e9dafc7e21>:0 _ at MaxQuantLibS.Domains.Peptides.Search.ReadAndromedaResults.ReadSearchEngineResultsNormalTask (System.String mqparFile, System.String combinedFolder, System.Int32 index) [0x0003c] in <6a6754cab5cf48c89c9c64e9dafc7e21>:0 _ at MaxQuantLibS.Domains.Peptides.Work.ResultsReader.Calculation (System.String[] args, BaseLibS.Util.Responder responder) [0x0000f] in <6a6754cab5cf48c89c9c64e9dafc7e21>:0 _ at MaxQuantLibS.Domains.Peptides.Work.MaxQuantWorkDispatcherUtil.PerformTask (System.Int32 taskType, System.String[] args, BaseLibS.Util.Responder responder) [0x00007] in <6a6754cab5cf48c89c9c64e9dafc7e21>:0 _ at MaxQuantLibS.Base.MaxQuantUtils.Run (System.Int32 softwareId, System.Int32 taskType, System.String[] args, BaseLibS.Util.Responder responder) [0x0002d] in <6a6754cab5cf48c89c9c64e9dafc7e21>:0 _ at MaxQuantTaskCore.Program.Function (System.String[] args, BaseLibS.Util.Responder responder) [0x0001c] in <1c54eed30d1e45488ee6c9e61d204782>:0 _ at Utils.Util.ExternalProcess.Run (System.String[] args, System.Boolean debug) [0x000af] in <94cd7968dc654c259fccb9053e84841e>:0end 21-02-2024 02:41:33
'''
To Reproduce
$ module load dotnet-core/3.1.8 mono
$ mono /path/to/MQ/MaxQuant_2.0.3.1/bin/MaxQuantCmd.exe /project/proteomics/outputs/MaxQuantRuns/s2885_BPP_014_02/LDB-001_MQv1_INIT/LDB-001_s2885_MQv1.xml
Expected behavior
I would expect that the run finishes, building the complete combined directory with the txt directory with built *.txt files
Otherwise, I would expect it to fail with an issue memory-related, like Garbage collector issue, or some memory failing
Desktop (please complete the following information):
OS: Linux HPC
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 43 bits physical, 48 bits virtual
CPU(s): 64
Version [e.g. 22]
Thank you in advance for your support
The text was updated successfully, but these errors were encountered: