FlashLFQ icon indicating copy to clipboard operation
FlashLFQ copied to clipboard

Problem with file name excluding format extension

Open ClaSofMag opened this issue 1 year ago • 5 comments

Hello,

I ran into an issue while FlashLFQ was at the 1st analysis step "Opening PSM file". It reported an error saying "The given key '12_NET_12' was not present in the dictionary. The error report could not be written: Could not load file or assembly 'Easy.Common, Version=4.3.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified."

I suppose that's because the Spectrum file is called 12_NET_12.3.raw, so it is excluding everything after the first dot.

I'm using the identification file from PeptideShaker (default PSM Report.txt) and .raw spectra files.

Thanks for the help

ClaSofMag avatar May 22 '23 16:05 ClaSofMag

It should be robust to that but I will have to double check. Is there any way that you could share the psm file and at least one raw file so that I can reproduce the error? Then I will fix it. Thanks.

trishorts avatar May 22 '23 16:05 trishorts

Sure, thank you. Here:

Default PSM Report.txt Link for raw file: https://ualg365-my.sharepoint.com/:i:/g/personal/csraposo_ualg_pt/EWnRq3CgWF9Gtd9qIW-4GPEBXN2H6Vqp27YOGfMwa7gwow?e=1r0PAh

ClaSofMag avatar May 22 '23 16:05 ClaSofMag

FlashLFQ can handle some instances of multiple .s but your presents a funny case. In the peptide shaker output it thinks the .3 is the file extension. The easiest solution is to add .raw to all the text in the column labeled "Spectrum File". Will you give that a try please? I did the relabeling on the file you sent to me. maybe you could try it?

trishorts avatar May 24 '23 16:05 trishorts

That worked perfectly! Thank you for your help

ClaSofMag avatar May 25 '23 15:05 ClaSofMag