Skip to content

Commit

Permalink
Fix the bug that exports empty intensity values in msstats.tsv for mu…
Browse files Browse the repository at this point in the history
…ltiplex TMT11
  • Loading branch information
AimeeD90 committed Aug 14, 2023
1 parent 2f5fefd commit 875e924
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down
14 changes: 14 additions & 0 deletions lib/aba/psm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 875e924

Please sign in to comment.