This PR adds support for Crosslink Spectral Libraries.
While performing a XL search, there is a Write Spectral Library checkbox. Toggling it results in a spectral library .msp file being written to the results folder.
This spectral library contains single peptide results, intra-link peptide results, and intra-link peptide results. Peptide names take the following form: PEPTIDEK(8)EDITPEPK(8), where the numbers in parentheses represent the location of the crosslink on each peptide. Internally, these are represented as CrosslinkLibrarySpectrum objects.
To enable library lookup, a new property was added to CrosslinkSpectralMatch and PsmFromTsv: UniqueSequence. For crosslinks, the unique sequence is identical to the spectral library name ( PEPTIDEK(8)EDITPEPK(8) ). For non crosslinked peptides, it is identical to the full sequence.
This PR adds support for Crosslink Spectral Libraries.
While performing a XL search, there is a Write Spectral Library checkbox. Toggling it results in a spectral library .msp file being written to the results folder.
This spectral library contains single peptide results, intra-link peptide results, and intra-link peptide results. Peptide names take the following form: PEPTIDEK(8)EDITPEPK(8), where the numbers in parentheses represent the location of the crosslink on each peptide. Internally, these are represented as CrosslinkLibrarySpectrum objects.
To enable library lookup, a new property was added to CrosslinkSpectralMatch and PsmFromTsv: UniqueSequence. For crosslinks, the unique sequence is identical to the spectral library name ( PEPTIDEK(8)EDITPEPK(8) ). For non crosslinked peptides, it is identical to the full sequence.