Hi, I have a problem with generating spectral library from lipids other than Lipid Mediators. When I try to export the spectral library of for example SMs and send it to skyline / or even export and import manually, it's either empty or half empty.
In general, I need only precursor peaks (m, m+1 and m+2) and I managed to generate a library with these ions (through error messages) but when I import any raw file, it crashes with a report that the library is empty (although I see that these three ions are present).
I got this errors :
FIRST ERROR
Skyline version: 22.2.0.351-28f9b9301 (64-bit)
Installation ID: 65ccb65e-31f1-4508-aef5-8a24be1c7ce4
Exception type: Exception
Error message: Failed loading library 'C:\Users\admin\AppData\Local\Apps\2.0\54Y9TB26.H5C\JKRJ99XD.B21\skyl..tion_e4141a2a22107248_0016.0002_6388bc76fc4672e2\Tools\LipidCreator..\Temp\test.blib'.
Specified cast is not valid.
Format: BiblioSpec
FileRevision: 0
SchemaVersion: 0
FilePath: Generated By LipidCreator
System.Exception: Failed loading library 'C:\Users\admin\AppData\Local\Apps\2.0\54Y9TB26.H5C\JKRJ99XD.B21\skyl..tion_e4141a2a22107248_0016.0002_6388bc76fc4672e2\Tools\LipidCreator..\Temp\test.blib'.
Specified cast is not valid.
Format: BiblioSpec
FileRevision: 0
SchemaVersion: 0
FilePath: Generated By LipidCreator ---> System.InvalidCastException: Specified cast is not valid.
at System.Data.SQLite.SQLiteDataReader.VerifyType(Int32 i, DbType typ)
at System.Data.SQLite.SQLiteDataReader.GetInt32(Int32 i)
at pwiz.Skyline.Model.Lib.BiblioSpecLiteLibrary.CreateCache(ILoadMonitor loader, IProgressStatus status, Int32 percent) in C:\proj\skyline_22_2\pwiz_tools\Skyline\Model\Lib\BiblioSpecLite.cs:line 624
at pwiz.Skyline.Model.Lib.BiblioSpecLiteLibrary.Load(ILoadMonitor loader, IProgressStatus status, Boolean cached) in C:\proj\skyline_22_2\pwiz_tools\Skyline\Model\Lib\BiblioSpecLite.cs:line 1034
--- End of inner exception stack trace ---
at pwiz.Skyline.Model.Lib.BiblioSpecLiteLibrary.Load(ILoadMonitor loader, IProgressStatus status, Boolean cached) in C:\proj\skyline_22_2\pwiz_tools\Skyline\Model\Lib\BiblioSpecLite.cs:line 1200
at pwiz.Skyline.Model.Lib.BiblioSpecLiteLibrary.Load(ILoadMonitor loader) in C:\proj\skyline_22_2\pwiz_tools\Skyline\Model\Lib\BiblioSpecLite.cs:line 995
at pwiz.Skyline.Model.Lib.BiblioSpecLiteLibrary.Load(BiblioSpecLiteSpec spec, ILoadMonitor loader) in C:\proj\skyline_22_2\pwiz_tools\Skyline\Model\Lib\BiblioSpecLite.cs:line 150
at pwiz.Skyline.Model.Lib.LibraryManager.LoadLibrary(LibrarySpec spec, Func`1 getMonitor) in C:\proj\skyline_22_2\pwiz_tools\Skyline\Model\Lib\Library.cs:line 298
at pwiz.Skyline.Model.Lib.LibraryManager.LoadBackground(IDocumentContainer container, SrmDocument document, SrmDocument docCurrent) in C:\proj\skyline_22_2\pwiz_tools\Skyline\Model\Lib\Library.cs:line 123
at pwiz.Skyline.Model.BackgroundLoader.OnLoadBackground(IDocumentContainer container, SrmDocument document) in C:\proj\skyline_22_2\pwiz_tools\Skyline\Model\BackgroundLoader.cs:line 130
Exception caught at:
at pwiz.Skyline.Model.BackgroundLoader.OnLoadBackground(IDocumentContainer container, SrmDocument document) in C:\proj\skyline_22_2\pwiz_tools\Skyline\Model\BackgroundLoader.cs:line 130
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
SECOND ERROR
Skyline
An error occurred attempting to import the test library.
Failed loading library 'C:\Users\admin\AppData\Local\Apps\2.0\54Y9TB26.H5C\JKRJ99XD.B21\skyl..tion_e4141a2a22107248_0016.0002_6388bc76fc4672e2\Tools\LipidCreator..\Temp\test.blib'.
Specified cast is not valid.
Format: BiblioSpec
FileRevision: 0
SchemaVersion: 0
FilePath: Generated By LipidCreator
I looked for solution everywhere and could not find help.
I contacted Skyline support, they told me that problem is that .blib file is empty.
They wrote me this :
I see that the value in the "NumSpectra" column is NULL, which causes problems for Skyline. I should probably contact the Lipid Creator programmers and tell them to fix this. The .blib file does not contain any spectra, so, even if you were able to get it to work with Skyline, it would not be useful because it is empty. It might be that there is a different problem going on which is causing that .blib file to be empty.
Let me know if you could help me with this.
Otherwise, this is a great and useful piece of software ! Thank you :)
Dominika