{
  "_id": "6b00a9fba41fd91eece4d810",
  "Package": "SpectraToQueries",
  "Title": "Spectra to queries",
  "Version": "0.0.0.9002",
  "Authors@R": "c(\nperson(\ngiven = \"Adriano\",\nfamily = \"Rutz\",\nemail = \"adafede@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-0443-9902\")\n),\nperson(\ngiven = \"Sarah\",\nfamily = \"Szwarc\",\nemail = \"sarah.szwarc@universite-paris-saclay.fr\",\nrole = \"ctb\",\ncomment = c(ORCID = \"0000-0001-6369-5522\")\n))",
  "Maintainer": "Adriano Rutz <adafede@gmail.com>",
  "Description": "Translates tandem mass spectrometry (MS/MS) spectral\nlibraries into diagnostic fragment and neutral-loss ion queries\nfor chemical structure and skeleton classification, ranked by\nMatthews Correlation Coefficient (MCC).",
  "License": "AGPL (>= 3)",
  "URL": "https://github.com/spectra-to-knowledge/SpectraToQueries,\nhttps://spectra-to-knowledge.github.io/SpectraToQueries/",
  "BugReports": "https://github.com/spectra-to-knowledge/SpectraToQueries/issues",
  "ByteCompile": "TRUE",
  "Collate": "'SpectraToQueries-package.R' 'combine_ions_minimal.R'\n'create_dir.R' 'create_matrix.R' 'data.R' 'filter_matrix.R'\n'fix_binned_mzs.R' 'harmonize_mzs.R' 'normalize_peaks.R'\n'perform_list_of_queries.R' 'spectra_to_queries.R'\n'spectra_utils.R'",
  "Config/roxygen2/markdown": "TRUE",
  "Config/roxygen2/version": "8.1.1",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "TRUE",
  "LazyDataCompression": "bzip2",
  "biocViews": "MassSpectrometry, Metabolomics, Cheminformatics",
  "X-EDAM-Topic": "http://edamontology.org/topic_3172 (Metabolomics),\nhttp://edamontology.org/topic_0154 (Small molecules),\nhttp://edamontology.org/topic_3370 (Analytical chemistry),\nhttp://edamontology.org/topic_2258 (Cheminformatics),\nhttp://edamontology.org/topic_0780 (Plant biology)",
  "X-EDAM-Operation": "http://edamontology.org/operation_3214 (Spectral\nanalysis), http://edamontology.org/operation_3803 (Natural\nproduct identification), http://edamontology.org/operation_4074\n(Compound identification),\nhttp://edamontology.org/operation_3629 (Deisotoping),\nhttp://edamontology.org/operation_3695 (Data filtering),\nhttp://edamontology.org/operation_2990 (Classification),\nhttp://edamontology.org/operation_0224 (Query and retrieval)",
  "X-EDAM-Data": "http://edamontology.org/data_2536 (Mass spectrometry\ndata), http://edamontology.org/data_0943 (Mass spectrum),\nhttp://edamontology.org/data_0962 (Small molecule report),\nhttp://edamontology.org/data_2048 (Report)",
  "X-EDAM-Format": "http://edamontology.org/format_3651 (MGF),\nhttp://edamontology.org/format_3475 (TSV)",
  "Config/pak/sysreqs": "cmake make libuv1-dev",
  "Repository": "https://spectra-to-knowledge.r-universe.dev",
  "Date/Publication": "2026-11-20 17:47:13 UTC",
  "RemoteUrl": "https://github.com/spectra-to-knowledge/SpectraToQueries",
  "RemoteRef": "main",
  "RemoteSha": "41ebe6285eb30391bf8d39aaac6e81577cd53250",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-20 20:10:35 UTC",
    "User": "root"
  },
  "Author": "Adriano Rutz [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-0443-9902>),\nSarah Szwarc [ctb] (ORCID: <https://orcid.org/0000-0001-6369-5522>)",
  "_user": "spectra-to-knowledge",
  "_type": "src",
  "_file": "SpectraToQueries_0.0.0.9002.tar.gz",
  "_fileid": "https://r2.ropensci.org/1592421aec67d52f97191f0ed6a30c360e179c39d3231574e32dfb405fe10d14",
  "_filesize": 1195340,
  "_sha256": "1592421aec67d52f97191f0ed6a30c360e179c39d3231574e32dfb405fe10d14",
  "_expires": "2027-02-28T20:13:44.000Z",
  "_created": "2026-11-20T20:10:35.000Z",
  "_published": "2026-11-20T20:13:46.835Z",
  "_upstream": "https://github.com/spectra-to-knowledge/SpectraToQueries",
  "_status": "success",
  "_maintainer": {
    "name": "Adriano Rutz",
    "email": "adafede@gmail.com",
    "login": "adafede",
    "mastodon": "@adafede@mastodon.online",
    "linkedin": "in/adrianorutz",
    "orcid": "0000-0003-0443-9902",
    "description": "Pharmaceutical Scientist | Computational Metabolomics",
    "uuid": 44283913
  },
  "_jobs": [
    {
      "job": 136540396617,
      "time": 157,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14664662783"
    },
    {
      "job": 136540396433,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14665056145"
    },
    {
      "job": 136540396503,
      "time": 131,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14665020788"
    },
    {
      "job": 136540396375,
      "time": 112,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14662838840"
    },
    {
      "job": 136538541832,
      "time": 209,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14663134749"
    },
    {
      "job": 136540396298,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14664008862"
    },
    {
      "job": 136540396455,
      "time": 110,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14664990880"
    },
    {
      "job": 136540396414,
      "time": 106,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14663178676"
    },
    {
      "job": 136540396411,
      "time": 103,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14664053581"
    }
  ],
  "_buildurl": "https://github.com/r-universe/spectra-to-knowledge/actions/runs/44808416288",
  "_commit": {
    "id": "41ebe6285eb30391bf8d39aaac6e81577cd53250",
    "author": "Adriano Rutz <adriano.rutz@hotmail.com>",
    "committer": "Adriano Rutz <adriano.rutz@hotmail.com>",
    "message": "docs: remove empty @examples NULL tags on internal helpers\n",
    "time": 1795196833
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.5.0",
      "role": "Depends"
    },
    {
      "package": "MsBackendMgf",
      "version": ">= 1.18.0",
      "role": "Imports"
    },
    {
      "package": "Spectra",
      "version": ">= 1.20.1",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.3.2",
      "role": "Suggests"
    },
    {
      "package": "tools",
      "role": "Suggests"
    }
  ],
  "_owner": "spectra-to-knowledge",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2025-51",
      "n": 1
    },
    {
      "week": "2026-01",
      "n": 2
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-14",
      "n": 1
    },
    {
      "week": "2026-16",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 7
    },
    {
      "week": "2026-19",
      "n": 3
    },
    {
      "week": "2026-21",
      "n": 3
    },
    {
      "week": "2026-22",
      "n": 3
    },
    {
      "week": "2026-24",
      "n": 3
    },
    {
      "week": "2026-25",
      "n": 2
    },
    {
      "week": "2026-26",
      "n": 1
    },
    {
      "week": "2026-27",
      "n": 1
    },
    {
      "week": "2026-29",
      "n": 1
    },
    {
      "week": "2026-30",
      "n": 15
    },
    {
      "week": "2026-31",
      "n": 18
    },
    {
      "week": "2026-32",
      "n": 7
    },
    {
      "week": "2026-33",
      "n": 2
    },
    {
      "week": "2026-34",
      "n": 2
    },
    {
      "week": "2026-37",
      "n": 2
    },
    {
      "week": "2026-38",
      "n": 1
    },
    {
      "week": "2026-40",
      "n": 2
    },
    {
      "week": "2026-42",
      "n": 1
    },
    {
      "week": "2026-43",
      "n": 2
    },
    {
      "week": "2026-44",
      "n": 3
    },
    {
      "week": "2026-45",
      "n": 18
    },
    {
      "week": "2026-46",
      "n": 15
    },
    {
      "week": "2026-47",
      "n": 8
    }
  ],
  "_tags": [],
  "_topics": [
    "mass-spectrometry",
    "metabolomics",
    "cheminformatics",
    "natural-products",
    "spectral-analysis",
    "diagnostic-ions",
    "query-generation",
    "edam:topic_3172",
    "edam:topic_0154",
    "edam:topic_3370",
    "edam:topic_2258",
    "edam:topic_0780",
    "edam:operation_3214",
    "edam:operation_3803",
    "edam:operation_4074",
    "edam:operation_3629",
    "edam:operation_3695",
    "edam:operation_2990",
    "edam:operation_0224",
    "edam:data_2536",
    "edam:data_0943",
    "edam:data_0962",
    "edam:data_2048",
    "edam:format_3651",
    "edam:format_3475",
    "knowledge-extraction",
    "monoterpene-indole-alkaloids",
    "querying-system",
    "spectral-information",
    "spectral-library",
    "tandem-ms"
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "adafede",
      "count": 280,
      "uuid": 44283913
    },
    {
      "user": "sarahszwarc",
      "count": 5,
      "uuid": 135852972
    }
  ],
  "_userbio": {
    "uuid": 153684591,
    "type": "organization",
    "name": "spectra-to-knowledge",
    "followers": 3
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SpectraToQueries"
  },
  "_devurl": "https://github.com/spectra-to-knowledge/spectratoqueries",
  "_pkgdown": "https://spectra-to-knowledge.github.io/SpectraToQueries/",
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/SpectraToQueries.html"
  ],
  "_cranurl": false,
  "_authors": [
    {
      "name": "Adriano Rutz",
      "email": "adafede@gmail.com",
      "orcid": "0000-0003-0443-9902",
      "role": [
        "aut",
        "cre"
      ]
    },
    {
      "name": "Sarah Szwarc",
      "email": "sarah.szwarc@universite-paris-saclay.fr",
      "orcid": "0000-0001-6369-5522",
      "role": [
        "ctb"
      ]
    }
  ],
  "_exports": [
    "spectra_to_queries",
    "to_massql"
  ],
  "_datasets": [
    {
      "name": "mia_spectra_df",
      "title": "Example mass spectrometry spectra from MIADB (as portable data.frame)",
      "object": "mia_spectra_df",
      "class": [
        "data.frame"
      ],
      "fields": [
        "msLevel",
        "rtime",
        "acquisitionNum",
        "scanIndex",
        "dataStorage",
        "dataOrigin",
        "centroided",
        "smoothed",
        "polarity",
        "precScanNum",
        "precursorMz",
        "precursorIntensity",
        "precursorCharge",
        "collisionEnergy",
        "isolationWindowLowerMz",
        "isolationWindowTargetMz",
        "isolationWindowUpperMz",
        "TITLE",
        "RETENTION_TIME",
        "PRECURSOR_MZ",
        "SMILES",
        "INCHI",
        "COMPOUND_NAME",
        "IONMODE",
        "SKELETON",
        "ADDUCT",
        "SPECTRUM_ID",
        "MS_LEVEL",
        "INSTRUMENT_TYPE",
        "PEPTIDE_SEQUENCE",
        "ORGANISM_NAME",
        "PRINCIPAL_INVESTIGATOR",
        "DATA_COLLECTOR",
        "SUBMIT_USER",
        "CONFIDENCE",
        "mz",
        "intensity"
      ],
      "rows": 321,
      "table": true,
      "tojson": true
    },
    {
      "name": "mia_spectra_grouped_df",
      "title": "Grouped mass spectrometry spectra from MIADB (as portable data.frame)",
      "object": "mia_spectra_grouped_df",
      "class": [
        "data.frame"
      ],
      "fields": [
        "msLevel",
        "rtime",
        "acquisitionNum",
        "scanIndex",
        "dataStorage",
        "dataOrigin",
        "centroided",
        "smoothed",
        "polarity",
        "precScanNum",
        "precursorMz",
        "precursorIntensity",
        "precursorCharge",
        "collisionEnergy",
        "isolationWindowLowerMz",
        "isolationWindowTargetMz",
        "isolationWindowUpperMz",
        "TITLE",
        "RETENTION_TIME",
        "PRECURSOR_MZ",
        "SMILES",
        "INCHI",
        "COMPOUND_NAME",
        "IONMODE",
        "SKELETON",
        "SPECTRUM_ID",
        "MS_LEVEL",
        "INSTRUMENT_TYPE",
        "PEPTIDE_SEQUENCE",
        "ORGANISM_NAME",
        "PRINCIPAL_INVESTIGATOR",
        "DATA_COLLECTOR",
        "SUBMIT_USER",
        "CONFIDENCE",
        "mz",
        "intensity"
      ],
      "rows": 321,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "mia_spectra_df",
      "title": "Example mass spectrometry spectra from MIADB (as portable data.frame)",
      "topics": [
        "mia_spectra_df"
      ]
    },
    {
      "page": "mia_spectra_grouped_df",
      "title": "Grouped mass spectrometry spectra from MIADB (as portable data.frame)",
      "topics": [
        "mia_spectra_grouped_df"
      ]
    },
    {
      "page": "spectra_to_queries",
      "title": "Spectra to queries",
      "topics": [
        "spectra_to_queries"
      ]
    },
    {
      "page": "to_massql",
      "title": "Convert ion queries to MassQL syntax",
      "topics": [
        "to_massql"
      ]
    }
  ],
  "_pkglogo": "https://github.com/spectra-to-knowledge/SpectraToQueries/raw/main/man/figures/logo.svg",
  "_readme": "https://github.com/spectra-to-knowledge/SpectraToQueries/raw/main/README.md",
  "_rundeps": [
    "BH",
    "BiocGenerics",
    "BiocParallel",
    "clue",
    "cluster",
    "codetools",
    "cpp11",
    "data.table",
    "formatR",
    "fs",
    "futile.logger",
    "futile.options",
    "generics",
    "IRanges",
    "lambda.r",
    "MASS",
    "MetaboCoreUtils",
    "MsBackendMgf",
    "MsCoreUtils",
    "ProtGenerics",
    "Rcpp",
    "S4Vectors",
    "snow",
    "Spectra"
  ],
  "_score": 3.4913616938342726,
  "_indexed": true,
  "_nocasepkg": "spectratoqueries",
  "_universes": [
    "spectra-to-knowledge",
    "adafede"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.0.9002",
      "date": "2026-11-20T20:12:48.000Z",
      "distro": "resolute",
      "commit": "41ebe6285eb30391bf8d39aaac6e81577cd53250",
      "fileid": "https://r2.ropensci.org/8f684564db8ef2c697928cd4af3e2ee78e20563fde891135669f8c779bc0d1ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spectra-to-knowledge/actions/runs/44808416288"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.0.0.9002",
      "date": "2026-11-20T20:12:43.000Z",
      "distro": "resolute",
      "commit": "41ebe6285eb30391bf8d39aaac6e81577cd53250",
      "fileid": "https://r2.ropensci.org/c466c45b9391ade712b17c3ec06cbcf53096232588a436d6a7f6a8b5eb8b4408",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spectra-to-knowledge/actions/runs/44808416288"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.0.9002",
      "date": "2026-11-20T20:12:24.000Z",
      "commit": "41ebe6285eb30391bf8d39aaac6e81577cd53250",
      "fileid": "https://r2.ropensci.org/ef2d085982032bf40580e28ba814aba57c1def117f344383374514c36604b41b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spectra-to-knowledge/actions/runs/44808416288"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.0.0.9002",
      "date": "2026-11-20T20:12:11.000Z",
      "commit": "41ebe6285eb30391bf8d39aaac6e81577cd53250",
      "fileid": "https://r2.ropensci.org/12c8d03542378e00059da84dbc8013aaecf68414679eb41ac4bd7bbea7be700a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spectra-to-knowledge/actions/runs/44808416288"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.0.9002",
      "date": "2026-11-20T20:12:32.000Z",
      "commit": "41ebe6285eb30391bf8d39aaac6e81577cd53250",
      "fileid": "https://r2.ropensci.org/32f9c4c7a0bc9b344856e95363b48a31d962aef24153f7ac7c1314601ededfb3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/spectra-to-knowledge/actions/runs/44808416288"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.0.9002",
      "date": "2026-11-20T20:11:59.000Z",
      "commit": "41ebe6285eb30391bf8d39aaac6e81577cd53250",
      "fileid": "https://r2.ropensci.org/90ba73f55c7c92616282262cfaf213a23967da91cf0081b7386d82898db4f210",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spectra-to-knowledge/actions/runs/44808416288"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.0.9002",
      "date": "2026-11-20T20:11:51.000Z",
      "commit": "41ebe6285eb30391bf8d39aaac6e81577cd53250",
      "fileid": "https://r2.ropensci.org/495e9814a82fcc0baa26fa24fd6a44a895fa966357c863e1070fc4ff6876c2b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spectra-to-knowledge/actions/runs/44808416288"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.0.0.9002",
      "date": "2026-11-20T20:11:52.000Z",
      "commit": "41ebe6285eb30391bf8d39aaac6e81577cd53250",
      "fileid": "https://r2.ropensci.org/9479fa01108cece91e3657c8cd23074b1726fe3f99b3cf69c2330aa519c4bbaf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/spectra-to-knowledge/actions/runs/44808416288"
    }
  ]
}