4.3. Annotate User Table

Functions for subcommand annotate

asari.annotate_user_table.annotate_user_featuretable(infile, parameters, rtime_tolerance=2)[source]

Annotate a user supplied feature table. Used by asari subcommand annotate.

Parameters:
  • infile (str) – input feature table filepath, tab delimited file with first row as header, first column m/z and 2nd column rtime.

  • parameters (dict) – parameter dictionary passed from main.py, which imports from default_parameters and updates the dict by user arguments.

  • rtime_tolerance (int, optional, default: 2) – retention time tolerance to group adducts etc.

Outputs

two files in current directory, Feature_annotation.tsv and Annotated_empricalCompounds.json