biomate-ai/biomate-bioconductor-kb/mzid

Claude Code and agent skill by biomate-ai/biomate-bioconductor-kb

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

A parser for mzIdentML files implemented using the XML package. The parser tries to be general and able to handle all types of mzIdentML files with the drawback of having less 'pretty' output than a vendor specific parser. Please contact th

Install

npx vskill@latest install biomate-ai/biomate-bioconductor-kb/mzid

SKILL.md

The same SKILL.md was published earlier as biomate-ai/biomate-bioconductor-kb/mzid.

mzID

Dependencies & Environment

Package-intrinsic requirements from the Bioconductor landing page — reproduce in any R environment.
  • Version: 1.50.0 · Bioconductor: 3.23 · R: ≥ 4.6
  • Imports: XML, plyr, doParallel, foreach, iterators, ProtGenerics
  • System requirements: URL
  • Install: BiocManager::install("mzID")

When to Use

  • Parsing mzIdentML Files: Reading HUPO-PSI standard mzIdentML (.mzid) files containing peptide and protein identification results using the mzID() function.
  • Data Flattening: Converting complex, nested structures of mzIdentML files into flat, easy-to-manipulate R data.frame objects using the flatten() function.
  • Metadata Extraction: Extracting search database details, peptide-spectrum matches (PSMs), and search engine scores for downstream custom analysis.

When NOT to Use

  • For parsing raw mass spectrometry spectra (mzML, mzXML) or quantitative data (mzQuantML), use mzR instead because mzID only parses identification files.
  • For high-level quantitative proteomics data manipulation, use MSnbase instead because mzID is strictly a barebones parser for identification data.

Data Requirements

  • Input: Valid mzIdentML (.mzid) files conforming to the HUPO-PSI schema.
  • Structure: The parsed mzID object contains slots for parameters, psm, peptides, evidence, and database.

Key Parameters

  • file: Path to the mzIdentML file to be parsed (passed as the first argument to mzID()).

Best Practices

  • Flatten Immediately: Use the flatten() function immediately after parsing to convert the complex S4 mzID object into a flat data.frame for standard R operations.
  • Inspect Column Meanings: Carefully inspect the column names of the flattened results (e.g., using names()), as ambiguity can arise (e.g., length refers to the nucleotide sequence coding for the protein, not the peptide length).
  • Verify Sequence Lengths: Use nchar() and substr() on the sequence columns to verify you are working with the expected string lengths.

Common Pitfalls

  • Misinterpreting Flattened Columns: Assuming the length column in a flattened data.frame refers to the peptide sequence length. Fix: Inspect the content using flatResults$length and verify it refers to the protein's nucleotide sequence length.
  • Parsing Errors on Custom Files: Encountering errors during parsing due to the multitude of different ways software writes mzIdentML files. Fix: Contact the package maintainer to get the specific file structure supported.

Alternatives

  • mzR: For fast, C++-based parsing of mzIdentML files using the ProteoWizard backend, as well as raw mzXML/mzML files.
  • MSnbase: For reading and managing both identification and quantitation data in unified, high-level containers.

Citations

  • Pedersen TL (2026). Parsing mzIdentML files using mzID. R package vignette.

References

  • Homepage: https://bioconductor.org/packages/mzID
  • Vignette: https://bioconductor.org/packages/release/bioc/vignettes/mzID/inst/doc/mzID.html

<!-- biomate-cta -->


Run this on BioMate

This skill is the knowledge layer — when, why, and how to use mzid. To run this analysis on your own data with managed compute, automated QC, and reproducible outputs, use [BioMate](https://www.biomate.ai?ref=kb&pkg=mzid) — free to start.

▶ [Open `mzid` on BioMate →](https://www.biomate.ai?ref=kb&pkg=mzid)

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
805
Repository forks
67
7-day trend score
33

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/biomate-ai/biomate-bioconductor-kb/mzid/badge)](https://verified-skill.com/skills/biomate-ai/biomate-bioconductor-kb/mzid)

Something wrong with this skill or its page? Tell us.