Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
465 changes: 443 additions & 22 deletions .gitignore

Large diffs are not rendered by default.

899 changes: 282 additions & 617 deletions LICENSE

Large diffs are not rendered by default.

Binary file modified MPACT.lnk
Binary file not shown.
226 changes: 96 additions & 130 deletions code/MSFaST.py

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions code/adduct_config.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# ============================================================
# MPACT 加合物 / 中性丢失(在源裂解)归组 配置
# 负离子模式 | 乙腈水 + 乙酸铵 + 氨水 (碱性 HILIC)
# 放在 code 文件夹(和 main.py 同目录)。改完保存,重跑生效。
# ============================================================

enable = True
mode = neg
ppm = 3
corr_cut = 0.75
corr_p = 0.05
mass_defect = True
md_halogen = False

# ============================================================
# 离子形式:质量差相对 [M-H]-,单位 Da
# 加合为正,中性丢失为负。不用的行首加 # 即可
# ============================================================

# --- 加合物 ---
M+Hac-H, 60.0211
M+Cl, 35.9767

# --- 中性丢失 / 在源裂解 ---
M-H2O-H, -18.0106
M-2H2O-H, -36.0211
M-CO2-H, -43.9898
M-CO-H, -27.9949
M-SO3-H, -79.9568
M-H2SO4-H, -97.9674
M-GlcA-H, -176.0321
M-Hex-H, -162.0528
M-Taurine-H,-125.0147

# --- 备用(需要时取消注释)---
# M+Na-2H, 21.9819
# M+K-2H, 37.9559
# M+Cl37, 37.9737
# M+FA-H, 46.0055

# ============================================================
# 备注:
# - 同位素 / 振铃 / 二聚体 由 relfil 处理,不在这里配置
# - [M+Cl]- 来自样品基质,不是流动相
# - Cl 的质量亏损 -0.031,质量亏损下界 -0.03,刚好卡边界。跑完查
# iondict 里 pass_mdfil=False 的离子有无成对相差 35.9767 的,
# 有就把 md_halogen 改成 True 重跑
# - 37Cl 与 35Cl 差 1.9971,不是 1.0034 的整数倍,relfil 抓不到
# ============================================================
Binary file added code/compoundimages/2-Methylthio-cis-zeatin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
462 changes: 386 additions & 76 deletions code/filter.py

Large diffs are not rendered by default.

Loading
Loading