GithubHelp home page GithubHelp logo

emsl-computing / corems Goto Github PK

View Code? Open in Web Editor NEW
49.0 8.0 25.0 286.44 MB

CoreMS is a comprehensive mass spectrometry software framework

License: BSD 2-Clause "Simplified" License

Dockerfile 0.07% Makefile 0.09% Python 99.84%
molecular-formulae-assignment molecular-database data-analysis molecular-search metabolomics metabolomics-pipeline complex-mixture natural-organic-matter soil-organic-matter dissolved-organic-matter

corems's People

Contributors

allison-thompson avatar brynnz22 avatar corilo avatar csclendi avatar dependabot[bot] avatar deweycw avatar georgiosdolias avatar gitbytes avatar jamescarrpnnl avatar jmrd98 avatar kheal avatar kzra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

corems's Issues

export all candidate formulas for mz peak

It would be great to have the option to export all candidate formulas for an m/z peak. This would help with gap-filling formulas across multiple samples within a dataset.

neutral molecular formula

Hi Yuri,

 I hope you are doing well.  πŸ™‚
 I just wonder whether the elemental formula, one of CoreMS's outcomes, is a neutral molecular formula. Could you let me know?

Thank you,
Manhoi

Clarification on molecular formula search settings isProtonated

Looking in the Molecular Formula Search Settings I am slightly confused about these options:

    # depending on the polarity mode it looks for [M].+ , [M].-
    # query and automatically compile add entry if it doesn't exist
    isRadical: bool = False

    # depending on the polarity mode it looks for [M + H]+ , [M - H]+
    # query and automatically compile and push options if it doesn't exist
    isProtonated: bool = True

    isAdduct: bool = False

If I understand correctly, order to search for a formula match to a deprotonated analyte (M-H)- you would set:

 isProtonated = True 
 isRadical = True 
 isAdduct = False

When isProtonated = True, coreMS reads the polarity of the raw spectra and automatically knows to search for [M-H] if the spectra was obtained in negative mode.

I initially thought the isProtonated boolean refers to [M + H] and thus I was setting this to False to search for deprotonated analytes. Only after checking my formula assignments did I realize this wasn’t giving me the expected results.

Maybe extra clarification could be provided in the comments about the isProtonated behaviour?
Specifically if True looks for [M + H]+ , [M - H]+ depending on the polarity mode

Any clarification would be great.

SQLite unable to open database file

Running this code in corems 1.18:
from corems.transient.input.brukerSolarix import ReadBrukerSolarix
from corems.molecular_id.search.molecularFormulaSearch import SearchMolecularFormulas
file_path= 'Ezra MS 060532_000005.d srfa iii/'
bruker_reader = ReadBrukerSolarix(file_path)
bruker_transient_obj = bruker_reader.get_transient()
mass_spectrum_obj = bruker_transient_obj.get_mass_spectrum(plot_result=False, auto_process=True)
SearchMolecularFormulas(mass_spectrum_obj, first_hit=True).run_worker_mass_spectrum()

Gives the following error:
image

I checked the url for the SQL database using
from corems.encapsulation.factory.parameters import MSParameters
MSParameters.molecular_search.url_database

the database is given as

'sqlite:///db/molformula.db'

this looks like a relative path to the db folder of CoreMS. However when I checked the path there is no molformula.db present. Is this a mistake or am I missing a step?

[Feature Request] 13C constraints in molecular formula assignment

It would be good if you could declare constraints on 13C atoms during formula assignment.

For example I would like to use the following constraints:
C4–50,H4–100, O2–40, N0–2, S0–1, 13C0–1

I don’t see a way of declaring 13C limits in the MSParameters class.

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.