Closed ArthurDeclercq closed 1 year ago
Patch coverage: 37.68
% and project coverage change: -0.05
:warning:
Comparison is base (
638d19b
) 41.52% compared to head (4dacc86
) 41.48%.
:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
I just opened a fork to do this, should've checked here first! Thanks for implementing this
@lazear, great to hear that you wanted to add Sage support! Feel free to take a look at the implementation and give feedback where needed.
One thing I noticed was that the Sage documentation lists the spectrum_q
column, while the actual output file seems to contain a spectrum_fdr
column instead.
@lazear, great to hear that you wanted to add Sage support! Feel free to take a look at the implementation and give feedback where needed. One thing I noticed was that the Sage documentation lists the
spectrum_q
column, while the actual output file seems to contain aspectrum_fdr
column instead.
Thanks for the catch - this is what I get for using ChatGPT to write docs :)
Added
Changed
psm
: The default values ofPSM.provenance_data
,PSM.metadata
andPSM.rescoring_features
are nowdict()
instead ofNone
.io.mzid.MzidReader
: Attempt to parseretention time
orscan start time
cvParams from both SpectrumIdentificationResult as SpectrumIdentificationItem levels. Note that according to the mzIdentML specification document (v1.1.1) neither cvParams are expected to be present at either level.io.mzid.MzidReader
: Preferspectrum title
cvParam overspectrumID
attribute forPSM.spectrum_id
as these titles always match to the peak list files. In this case,spectrumID
is saved inmetadata["mzid_spectrum_id"]
. Fall back tospectrumID
ifspectrum title
is absent.io.mzid.MzidWriter
:PSM.retention_time
is now written as cvParamretention time
instead ofscan start time
, and to theSpectrumIdentificationItem
level instead of theSpectrumIdentificationResult
level, as theoretically in psm_utils, multiple PSMs for the same spectrum can have different values forretention_time
.io.mzid.MzidWriter
: Write PSM score as cvParamsearch engine specific score
instead of userParamscore
.io.percolator.PercolatorTabWriter
: For PIN-style files: UseSpecId
instead ofPSMId
and writePSMScore
andChargeN
columns by default.Fixed
peptidoform
: ProForma mass modifications are now correctly parsed within therename_modifications
function.io.maxquant.MSMSReader
: Correctly parse emptyProteins
column toNone
io.mzid.MzidReader
: SetPSM.retention_time
toNone
instead offloat('nan')
if missing from the PSM file.io.percolator.PercolatorTabReader
: Correctly parse Percolator peptidoform notation if no leading or trailing amino acids are present (e.g..ACDK.
instead ofK.ACDK.E
).io.percolator.PercolatorTabWriter
: ScanNr is now correctly written as an integer counting from the first PSM in the file.io.percolator.PercolatorTabWriter
: If no protein information is present, write the peptidoform preceded byPEP_
to the Proteins column.