Logo: Bioconductor Psmatch

Bioconductor Psmatch

Organisatioun
bioMate-AI
bioconductor-psmatch

The PSMatch package helps proteomics practitioners to load, handle and manage Peptide Spectrum Matches. It provides functions to model peptide-protein relations as adjacency matrices and connected components, visualise these as graphs and m

Iwwersiicht

EditeurbioMate-AI
Repositorybiomate-bioconductor-kb
Skill-Nummbioconductor-psmatch
Stären
804
Forks
66
Matgeliwwert Dateien
Nëmmen Instruktiounen
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    bioMate-AI huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Bioconductor Psmatch an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/bioMate-AI/biomate-bioconductor-kb/tree/main/skills/proteomics/psmatch
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bioMate-AI/biomate-bioconductor-kb.git /tmp/biomate-bioconductor-kb
mkdir -p .claude/skills
cp -r /tmp/biomate-bioconductor-kb/skills/proteomics/psmatch .claude/skills/bioconductor-psmatch
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Bioconductor Psmatch an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Bioconductor Psmatch automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Bioconductor Psmatch net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

PSMatch

Dependencies & Environment

Package-intrinsic requirements from the Bioconductor landing page — reproduce in any R environment.

  • Version: 1.16.0 · Bioconductor: 3.23 · R: ≥ 4.6
  • Depends: S4Vectors, PTMods
  • Imports: igraph, Spectra, Matrix, BiocParallel, BiocGenerics, ProtGenerics, QFeatures, MsCoreUtils
  • Install: BiocManager::install("PSMatch")

When to Use

  • Fragment Ion Calculation: Calculating theoretical MS2 fragment ions (b and y ions) for a peptide sequence using calculateFragments.
  • Fragment Visualisation: Visualising matched b- and y-ion fragment sequences directly on an MS spectrum using plotSpectraPTM.
  • Peptide-Protein Modelling: Modelling the relation between peptides and proteins as an adjacency matrix using makeAdjacencyMatrix.
  • Protein Group Resolution: Partitioning complex peptide-protein graphs into independent subgraphs using ConnectedComponents to explore shared and unique peptides.

When NOT to Use

  • For handling and processing raw mass spectrometry spectra, use Spectra because PSMatch relies on it for raw data representation and extraction.
  • For managing multi-level quantitative proteomics data, use QFeatures because PSMatch focuses on PSM-level filtering and structural relationships.
  • For applying and managing peptide modifications, use PTMods because PSMatch delegates canonical modification handling to it.

Data Requirements

  • Identification Data: Imported as a PSM object containing columns for peptide sequences (e.g., "sequence") and protein accessions (e.g., "DatabaseAccess").
  • Raw MS Data: Loaded as a Spectra object for fragment ion visualisation.
  • Quantitative Data: Can be imported as a SummarizedExperiment object with protein groups named by peptide sequences.

Key Parameters

  • addCarbamidomethyl: Logical in calculateFragments and plotSpectraPTM to apply carbamidomethylation of cysteines by default.
  • variableModifications: Named numeric vector in calculateFragments or plotSpectraPTM to apply variable mass modifications.
  • binary: Logical in makeAdjacencyMatrix to create a binary matrix instead of counting occurrences.
  • protColors: Numeric or character in plotAdjacencyMatrix to control protein node colours based on string distances.
  • pepColors: Character vector in plotAdjacencyMatrix to colour peptide nodes (e.g., by search engine score).
  • split: Character in makeAdjacencyMatrix (e.g., ";") to split protein groups into individual proteins.

Best Practices

  • Filter out decoy hits and low-rank matches using filterPsmDecoy and filterPsmRank before constructing adjacency matrices.
  • Merge raw Spectra data with PSM identification data using joinSpectraData to enable fragment visualisation.
  • Use prioritiseConnectedComponents to rank and identify the most interesting connected components (e.g., those with multiple shared peptides).
  • Extract specific subgraphs using connectedComponents to manually inspect complex protein groups with plotAdjacencyMatrix.

Common Pitfalls

  • Overlapping fragment ions in visualisations: Restricted plot windows can cause text to overlap. Fix: Run plotSpectraPTM locally or adjust the xlim parameter in plotSpectra.
  • Duplicate keys when merging: Merging spectra and PSMs can result in duplicates. Fix: Be aware that joinSpectraData will only keep the last instance if duplicates are found in the key.
  • Missing modifications: Fragments might not match the spectrum if fixed modifications are ignored. Fix: Ensure addCarbamidomethyl = TRUE or explicitly pass modifications via fixedModifications.

Alternatives

  • Spectra: For core MS data infrastructure and raw spectra manipulation.
  • QFeatures: For downstream quantitative protein-level aggregation and statistical analysis.
  • PTMods: For defining and retrieving canonical peptide modifications.

Citations

  • Gatto L, Rainer J, Gibb S, Wieczorek S, Burger T, Deflandre G (2026). PSMatch: Handling and Managing Peptide Spectrum Matches. R package.

References


Run this on BioMate

This skill is the knowledge layer — when, why, and how to use psmatch. To run this analysis on your own data with managed compute, automated QC, and reproducible outputs, use BioMate — free to start.

▶ Open psmatch on BioMate →

Heefeg gestallte Froen

Wat mécht de KI-Skill Bioconductor Psmatch?

The PSMatch package helps proteomics practitioners to load, handle and manage Peptide Spectrum Matches. It provides functions to model peptide-protein relations as adjacency matrices and connected components, visualise these as graphs and m

Firwat Bioconductor Psmatch op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Bioconductor Psmatch besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Bioconductor Psmatch an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/bioMate-AI/biomate-bioconductor-kb/tree/main/skills/proteomics/psmatch an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Bioconductor Psmatch benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Bioconductor Psmatch benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Bioconductor Psmatch domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Bioconductor Psmatch gratis?

bioMate-AI huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇