API examples
Find a study, list its analyses, and load a Pfam result into a data frame. Choose an example to get started:
Python with requests and pandas — edit and run in your browser.
R with jsonlite — edit and run in your browser.
Observable JS with D3 — plot Antismash cluster counts for an analysis.
Python with MGnipy — a quick introduction and an interactive demo.
MGnify Proteins API in Python — look up proteins, search by biome or Pfam, and build a FASTA file.
Download analyses as CSV — save a study’s analyses to your computer.
Map AtlantECO samples — explore sample locations in Python.
Pathways Explorer in R — explore module completeness and detected functions.
The introductory Python and R examples start with an Antarctic soil assembly study, but can be used with any public MGnify study.