协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
pyopenms-skill【开发与工程】Comprehensive tool for computational mass spectrometry using PyOpenMS; use when you need to read/write MS formats (mzML/mzXML/MGF), run signal processing (smoothing/peak picking), detect isotope features, or perform peptide identification in proteomics/metabolomics workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Install the following Python packages:
pyopenms (version: compatible with your OpenMS/PyOpenMS distribution)pandas (version: latest recommended)numpy (version: latest recommended)Installation:
uv pip install pyopenms pandas numpy
A complete runnable example using the provided workflow script (scripts/process_ms.py):
# run_example.py
from scripts.process_ms import run_workflow
def main():
# Load -> Process -> Analyze
# The script is expected to read the input mzML and apply optional filtering.
result = run_workflow("data.mzML", apply_filter=True)
# The returned object depends on the implementation of run_workflow.
# Common patterns include a processed experiment, a feature map, or a summary dict.
print("Workflow finished.")
print(result)
if __name__ == "__main__":
main()
Run:
python run_example.py
For manual/custom workflows, see:
references/file_io.mdreferences/signal_processing.mdapply_filter flag in run_workflow(...) is intended to toggle one or more preprocessing steps; exact filters and parameters should be documented in scripts/process_ms.py and the referenced guides.references/signal_processing.md.