From 875e924cc1f604ae75021bd209f63c526c1a9a5f Mon Sep 17 00:00:00 2001 From: Yamei Deng Date: Mon, 14 Aug 2023 09:49:47 -0400 Subject: [PATCH] Fix the bug that exports empty intensity values in msstats.tsv for multiplex TMT11 --- Makefile | 2 +- lib/aba/psm.go | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cf50a52d..e814b63b 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ VERSION = $(shell date +%Y%m%d) BUILD = $(shell date +%Y%m%d%H%M) TAG = v5.1.0 -RC = RC2 +RC = RC3 LDFLAGS = -ldflags "-w -s -extldflags -static -X main.version=${TAG} -X main.build=${BUILD}" diff --git a/lib/aba/psm.go b/lib/aba/psm.go index b9ef89e1..18afc8fa 100644 --- a/lib/aba/psm.go +++ b/lib/aba/psm.go @@ -274,6 +274,20 @@ func saveMSstatsResult(session, plex string, evidences rep.CombinedPSMEvidenceLi i.Labels.Channel9.Intensity, i.Labels.Channel10.Intensity, ) + case "11": + line += fmt.Sprintf("%.4f,%.4f,%.4f,%.4f,%.4f,%.4f,%.4f,%.4f,%.4f,%.4f,%.4f", + i.Labels.Channel1.Intensity, + i.Labels.Channel2.Intensity, + i.Labels.Channel3.Intensity, + i.Labels.Channel4.Intensity, + i.Labels.Channel5.Intensity, + i.Labels.Channel6.Intensity, + i.Labels.Channel7.Intensity, + i.Labels.Channel8.Intensity, + i.Labels.Channel9.Intensity, + i.Labels.Channel10.Intensity, + i.Labels.Channel11.Intensity, + ) case "16": line += fmt.Sprintf("%.4f,%.4f,%.4f,%.4f,%.4f,%.4f,%.4f,%.4f,%.4f,%.4f,%.4f,%.4f,%.4f,%.4f,%.4f,%.4f", i.Labels.Channel1.Intensity,