Giter VIP home page Giter VIP logo

metaboannotator's Introduction

MetaboAnnotatoR

Description

This R package is designed to perform metabolite annotation of features from LC-MS All-ion fragmentation (AIF) datasets, using ion fragment databases. It requires raw LC-MS AIF chromatograms acquired/transformed in centroid mode or processed data outputs obtained using RAMClustR.

For more details on how the software works, further testing and performance please read the full publication in Analytical Chemistry journal: https://pubs.acs.org/doi/10.1021/acs.analchem.1c03032

Installation instructions

To install via Github, run the following code in R console:

install.packages("devtools", repos = "http://cran.us.r-project.org", dependencies = TRUE)

library(devtools)

install_github("gggraca/MetaboAnnotatoR", dependencies = TRUE)

Installation issues

In some environments, some errors might occur durring installation due to some of the package dependencies, being the most common "mzR has been built against a different Rcpp version". This issue can be easily fixed as suggested here. The following environment variable can be changed before installing using install_github:

Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS="true")

Vignettes

An example of usage using one LC-MS AIF chromatogram is provided in the introductory vignette. An illustration of the generation of Metabolite database records for MetaboAnnotatoR from text files is given here. MS/MS spectra can also be imported from .msp files as exemplified here.

metaboannotator's People

Contributors

gggraca avatar

Stargazers

 avatar Johon Li Tuobang 李拓邦 avatar Riccardo Romoli avatar  avatar  avatar  avatar Zhimin Zhang avatar Kozo Nishida avatar hiroyuki yamamoto avatar  avatar Helge Hecht avatar

Watchers

Kozo Nishida avatar Tobias Schulze avatar  avatar Carolin Huber avatar

metaboannotator's Issues

Upload pakcage to CRAN

It would be great if the package would be made available on CRAN so that it is easy to install and to add to other package management systems like bioconda.

Also, since the package has almost no dependencies, this shouldn't be a big effort.

ERROR: loading failed for 'i386'

For installation error of "ERROR: loading failed for 'i386' ", use the -- no-multiarch , --no- lock statements like these:
install_github("gggraca/MetaboAnnotatoR", dependencies = TRUE, INSTALL_opts = c('--no-multiarch', '--no-lock'))

MS1 only spectrum

Hi,

Can the code be run with MS1 only spectrum? I've tried to run it with my data and it returns an error
replacement has 1 row, data has 0

I think it is due to the line

xcmsF2 <- MSnbase::readMSData(data.path, msLevel. = 2, mode = "onDisk") xcmsF2@featureData@data$msLevel <- 1
in line 131 and 138 of annotateAIF.R, possibly due to my mzML does not contains MS2 spectra.

Is the script only runnable for MS/MS data, or could the MS2 search be skipped?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.