Giter Club home page Giter Club logo

cfm-galaxy's Introduction

CFM for Galaxy

Build Status (last commit) Build Status (weekly global test) Bioconda

Galaxy tools for applying Competitive Fragmentation Modeling (CFM) to spectrum prediction and metabolite identification tasks, as well as a tools for fragment generation and peak annotation.

The CFM-ID tool depends on a model. Trained models and invormation are available at https://sourceforge.net/p/cfm-id/code/HEAD/tree/supplementary_material/trained_models/esi_msms_models/.

Website: http://cfmid.wishartlab.com/

Source code: https://sourceforge.net/p/cfm-id/wiki/Home/

Galaxy

Galaxy is an open, web-based platform for data intensive biomedical research. Whether on the free public server or your own instance, you can perform, reproduce, and share complete analyses.

Developers & Contributors

License

Released under the GNU General Public License v3.0 (see LICENSE file)

cfm-galaxy's People

Contributors

bernt-matthias avatar jcapelladesto avatar rjmw avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

cfm-galaxy's Issues

Move Galaxy tools to a common tool repo

Hi @RJMW

To have the tools from https://github.com/computational-metabolomics deployed more easily it would be cool to have them all in one repository. This would simplify maintenance a bit:

If you create a new empty repo I would volunteer to make a start for some of the tools. Issues could also be moved.

Alternatively, we could also move the tools to one of the larger tool repos (e.g. IUC or W4M). There you only need to grant write access for the respective organization in the toolshed repos.

tool-data as data-table

Training data should go to tool-data (by using a tool data table). Then this is configurable by the admin. Maybe we could allow to select different ones or from history. Even if this might not be used at the Moment the would help for the future if model generation becomes easier, eg if the corresponding galaxy wrapper is available.

InChiKey

I was wondering if anybody knows if it is possible to output an InChiKey?

The example outputs at the moment include an InChi structure format but not an InChiKey. We could potentially do the conversions after but if it is already created somewhere it would be useful to include in the output

comments

It would be an option to have the data in a Galaxt data table (.loc file etc) directory. In particular if there are multiple possible models available. Then we could also remove the reference to __tool_data_directory__

#set $tool_directory = $getVar('__tool_directory__', '../../../../tools/cfm')

Also allow users to update their own models could be nice.

I think that a for details of the python script should be documented in the help section: eg

mz2 = mz-1.007276
or
if (t[0] > mz_ranges[0]) and (t[0] < mz_ranges[1]):

You should check the return code of this

os.system(cmd_command)

Does one call of the python script maybe generate multiple calls to cfm-id. I'm just guessing here. Could allow for some paralellization, eg on Galaxy side.

database format

The local database in cfm-id and metfrag seems very similar. But its csv in one and tsv in the other. Maybe it would be good to have this consistent. I would prefer tsv since InChI contains commas (question would be if this works anyway with csv if there are additional commas). Then the same input can easily be used in both files (ie the metfrag input can be used in cfm-id - since the first columns are the same)

Maybe we should allow omitting InChI or SMILES (in the python sources there is a TODO anyway). Due to the use of the python wrapper we are free to define the format as we wish. Possibilities:

  • Allow to keep one column empty (maybe this is possible anyway)
  • Make column 3 inchi/smiles .. let the python check for startswith("InChi")?
  • Detect by column header

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.