maxquant_linux_guide icon indicating copy to clipboard operation
maxquant_linux_guide copied to clipboard

[ERROR] FATAL UNHANDLED EXCEPTION: System.Exception: Exception during execution of external process: 217362

Open Jokendo-collab opened this issue 4 years ago • 3 comments

My Maxquant analysis runs smoothly then it fails at the FDR assignment stage. What could be causing this problem? Loading requirement: compilers/gcc820 python/anaconda-python-3.7 Configuring Testing fasta files Testing raw files Feature detection Calculating peak properties Combining apl files for first search Preparing searches MS/MS first search Read search results for recalibration Mass recalibration MS/MS preparation for main search Combining apl files for main search MS/MS main search Preparing combined folder
Calculating masses Correcting errors Reading search engine results Preparing reverse hits Finish search engine results Filter identifications (MS/MS) Applying FDR

Unhandled Exception: System.Exception: Exception during execution of external process: 217362 at BaseLibS.Util.WorkDispatcher.ProcessSingleRunExternalProcess (System.Int32 taskIndex, System.Int32 threadIndex) [0x001a1] in <3fc1eb7cc45041de8ce7f41aa00f3311>:0 at BaseLibS.Util.WorkDispatcher.DoWork (System.Int32 taskIndex, System.Int32 threadIndex) [0x0001e] in <3fc1eb7cc45041de8ce7f41aa00f3311>:0 at BaseLibS.Util.WorkDispatcher.Work (System.Object threadIndex) [0x00054] in <3fc1eb7cc45041de8ce7f41aa00f3311>:0 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00025] in <6e7e1f2771fe4be7978e37d9d240b9d4>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0 0071] in <6e7e1f2771fe4be7978e37d9d240b9d4>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <6e7e1f2771fe4be7978e37d9d240b9d4>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <6e7e1f2771fe4be7978e37d9d240b9 d4>:0 at System.Threading.ThreadHelper.ThreadStart (System.Object obj) [0x0000f] in <6e7e1f2771fe4be7978e37d9d240b9d4>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.Exception: Exception during execution of external process: 217362 at BaseLibS.Util.WorkDispatcher.ProcessSingleRunExternalProcess (System.Int32 taskIndex, System.Int32 threadIndex) [0x001a1] in <3fc1eb7cc45041de8ce7f41aa00f3311>:0 at BaseLibS.Util.WorkDispatcher.DoWork (System.Int32 taskIndex, System.Int32 threadIndex) [0x0001e] in <3fc1eb7cc45041de8ce7f41aa00f3311>:0 at BaseLibS.Util.WorkDispatcher.Work (System.Object threadIndex) [0x00054] in <3fc1eb7cc45041de8ce7f41aa00f3311>:0 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00025] in <6e7e1f2771fe4be7978e37d9d240b9d4>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0 0071] in <6e7e1f2771fe4be7978e37d9d240b9d4>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <6e7e1f2771fe4be7978e37d9d240b9d4>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <6e7e1f2771fe4be7978e37d9d240b9 d4>:0 at System.Threading.ThreadHelper.ThreadStart (System.Object obj) [0x0000f] in <6e7e1f2771fe4be7978e37d9d240b9d4>:0

Jokendo-collab avatar Apr 15 '20 12:04 Jokendo-collab

How many files are you processing? It's my anecdotal experience that the FDR calculation can be memory-heavy so maybe you are running out of RAM.

You can also check the combined/proc folder for the Applying FDR step, as a file, to maybe get a more detailed error message.

atc3 avatar Apr 15 '20 12:04 atc3

Hi @blahoink I am processing 200 raw files and I don't know how to go about this problem

Jokendo-collab avatar Apr 18 '20 15:04 Jokendo-collab

In your output folder for your run (MaxQuant calls this the "combined" folder), go into combined/proc and look for a file named Applying_FDR 11.error.txt (or something like that). Inside that file should be more detailed information about why MaxQuant crashed.

If this is an out-of-memory error, then in your SLURM script you can increase the memory per cpu by adding:

#SBATCH --mem-per-cpu=1000

to the top of your submission script. In the above example I'm setting 1000MB (1GB) of memory per core, but depending on your cluster configuration you can increase this until MaxQuant has enough memory to complete the run.

atc3 avatar Apr 18 '20 15:04 atc3