Closed felipe-mansoldo closed 9 months ago
Which version of Spectra
and MsBackendMgf
are you using?
I can read the file without problems using the current stable version (for R 4.3, Bioconductor release 3.18). According to the NEWS a version > 1.7.4 would be needed.
Dear @jorainer It's true, it's an old version problem. I updated and everything is working perfectly, thanks!
Dear all,
I'm not able to import the GNPS .mgf obtained from: https://gnps-external.ucsd.edu/gnpslibrary download link: https://gnps-external.ucsd.edu/gnpslibrary/GNPS-LIBRARY.mgf
However, it is possible to import using MSnbase::readMgfData:
I would like to import through Spectra to be able to use the package's functions. Is it possible to fix this? or convert MSnExp to Spectra?
Ideally it would be better to import through Spectra so we can keep the MGF information like SMILES, INCHI, NAME etc.
thanks