Workflow

Workflow

Overview

This takes in the intial arguments and runs everything from concise in the correct order.

Steps:

Reading tsv’s

  1. Converts whole percentages to decimal if needed.
  2. Imports the canopus match information (works for both tsv and csv)
  3. Renames the in silico columns as needed and captures both the most recent and previous versions of CANOPUS.

Get requests

  1. Gets the library (and analog) match datasets from GNPS
  2. Gets edge info from GNPS for edgeWeighting

merging annotations

  1. Merging annotations with subnetwork information

finding consensus annotations

  1. Weights nodes if requested
  2. Finds consensus annotations for every subnetwork at both library and in silico levels
  3. Merges consensus annotations together, giving priority to library consensus annotatins
  4. Reports success rates of consensus annotations