Prepare annotations GNPS

Description

This function prepares GNPS spectral library matching results by standardizing column names, integrating structure metadata, and formatting for downstream TIMA annotation workflows.

Usage

prepare_annotations_gnps(
  input = get_params(step =
    "prepare_annotations_gnps")\$files\$annotations\$raw\$spectral\$gnps,
  output = get_params(step =
    "prepare_annotations_gnps")\$files\$annotations\$prepared\$structural\$gnps,
  str_stereo = get_params(step =
    "prepare_annotations_gnps")\$files\$libraries\$sop\$merged\$structures\$stereo,
  str_met = get_params(step =
    "prepare_annotations_gnps")\$files\$libraries\$sop\$merged\$structures\$metadata,
  str_nam = get_params(step =
    "prepare_annotations_gnps")\$files\$libraries\$sop\$merged\$structures\$names,
  str_tax_cla = get_params(step =
    "prepare_annotations_gnps")\$files\$libraries\$sop\$merged\$structures\$taxonomies\$cla,
  str_tax_npc = get_params(step =
    "prepare_annotations_gnps")\$files\$libraries\$sop\$merged\$structures\$taxonomies\$npc
)

Arguments

input Character string or vector of paths to GNPS annotation files
output Character string path for prepared GNPS annotations output
str_stereo Character string path to structures stereochemistry file
str_met Character string path to structures metadata file
str_nam Character string path to structures names file
str_tax_cla Character string path to ClassyFire taxonomy file
str_tax_npc Character string path to NPClassifier taxonomy file

Value

Character string path to prepared GNPS annotations

Examples

library("tima")

copy_backbone()
go_to_cache()
prepare_annotations_gnps()
unlink("data", recursive = TRUE)