Skip to main content

    Metabolomics quickstart

    Step-by-step workflows for data preprocessing, metabolite annotation, differential analysis, and pathway enrichment.

    metabolomicsquickstart

    You want to take a raw LC-MS run through to the metabolites and pathways that change between conditions; this walks the four stages — preprocess, annotate, compare, enrich — each as a step you can run alone or chain end to end.

    Metabolomics quickstart

    This guide covers four common workflows: preprocessing a raw LC-MS run, annotating metabolites from a feature table, comparing metabolite levels between groups, and mapping results onto KEGG pathways.

    Workflow 1: Preprocess a raw LC-MS run

    Upload your raw data

    Upload an mzML or mzXML file through the chat interface or data panel to get a URI for it.

    Run preprocessing

    Ask Ivy in chat (or submit the job directly with POST /api/v1/jobs; see the API reference):

    Preprocess my LC-MS mzML file with XCMS at 10 ppm mass accuracy

    Ivy runs metabolomics preprocessing with the XCMS method and a 10 ppm mass tolerance.

    Review preprocessing results

    If you instead point the tool at an already-processed peak table (peak_table_key), it applies TIC normalization and a log2 transform and returns summary statistics:

    FieldExample Value
    Features detected4,521
    Samples processed48
    NormalizationTIC
    Transformationlog2
    TIC median1,204,500
    Missing value rate0.12
    Mean CV0.34

    Adjust parameters (optional)

    Re-run preprocessing with MZmine instead of XCMS

    This switches the preprocessing software via the method parameter.

    Workflow 2: Annotate metabolites

    Start from a feature table

    Annotation takes the feature table URI produced by metabolomics_preprocess.

    Run annotation

    Annotate my metabolomics features against HMDB with 5 ppm mass tolerance

    Or configure manually:

    ParameterValue
    Databases"hmdb"
    Mass tolerance5 ppm

    Review annotation results

    Each feature gets a putative match or "unknown" — there's no multi-level confidence scale:

    FeatureAnnotationHMDB IDConfidence
    mz_132.0773putative_matchHMDB00001910.5
    mz_146.0929putative_matchHMDB00001480.5
    mz_999.1234unknown--0.0

    Widen the database (optional)

    Annotate against all three databases: HMDB, LipidMaps, and KEGG

    This sets databases: "all".

    Workflow 3: Differential metabolite analysis

    Define sample groups

    Ensure your sample metadata CSV has a group column. Upload it to get a URI, or the tool falls back to splitting samples in half.

    Run differential analysis

    Find differentially abundant metabolites between treated and control groups

    Or configure:

    ParameterValue
    Contrasttreated_vs_control
    Methodlimma (default)
    FDR threshold0.05

    Review differential results

    Featurelog2 fold changep-valuep-adjusted
    mz_204.08991.231.2e-053.4e-04
    mz_192.0270-0.874.5e-040.008
    mz_146.09290.940.0020.021

    Only a single two-group contrast is supported per run — there is no built-in multi-group or paired-design option.

    Workflow 4: Pathway enrichment analysis

    Prepare a metabolite list

    Use the significant feature IDs from differential analysis, or your own list of HMDB, KEGG, or PubChem identifiers.

    Run pathway enrichment

    What KEGG pathways are enriched in my significantly upregulated metabolites?

    Or configure:

    ParameterValue
    Metabolite listHMDB or KEGG IDs
    Analysis typeenrichment (default) or topology
    Organismhsa (human) or mmu (mouse)

    Review enrichment results

    Enrichment is tested with Fisher's exact test against a curated set of KEGG metabolic pathways:

    PathwayMatchedPathway sizep-valuep-adjusted
    Tryptophan metabolism352.1e-040.006
    TCA cycle270.0030.041

    Next steps

    • See inputs for all parameters and defaults
    • See outputs for result field descriptions
    • Use KEGG for detailed pathway diagrams
    • Use ADMET-AI for pharmacokinetic predictions on identified metabolites

    Was this page helpful?

    Loading...