Giter VIP home page Giter VIP logo

Comments (7)

Tomnl avatar Tomnl commented on July 18, 2024 1

@RJMW we can set this local database system up on one of the Birmingham virtual machines

from metfrag-galaxy.

korseby avatar korseby commented on July 18, 2024

For that you need a local db running. We should have a Dockerfile floating around somewhere here https://github.com/ipb-halle/MetFragRelaunched/tree/containerize

I think we should implement this in the rewrite of the tool

from metfrag-galaxy.

korseby avatar korseby commented on July 18, 2024

The Dockerfile and instructions to build the local pubchem mirror database can be found here: https://github.com/c-ruttkies/container-metchemdata

@sneumann also has recent kubernetes deployment yamls.

from metfrag-galaxy.

bernt-matthias avatar bernt-matthias commented on July 18, 2024

Currently in the tool the "local data base" is just a csv file.

Most frequently the Galaxy tool-data loc files specify files, but its definitely possible to specify a connection string.

For my curiosity: the DB you are referring to is some SQL DB? In the docker it seems to be postgres in the backend, but could be any DB (sqlite)?

from metfrag-galaxy.

Tomnl avatar Tomnl commented on July 18, 2024

hi @bernt-matthias,

We should still keep the option to have a "local database" that is just a csv file, and it should be realised as a conditional - like you mentioned in the original issue message.

The database @korseby is referring to is a local PubChem database (With a few modifications - called MetChem) and can be used in replace of doing the API calls to the public PubChem instance. See xml and script.

So, I will update Galaxy tool and script here for the following database options:

  • PubChem
  • KEGG
  • ChemSpider - if still working
  • MetChem
    • (and provide option for user to choose IP address of local instance)
  • LocalCSV
    • (and provide option for user to choose an uploaded CSV file)

@RJMW

from metfrag-galaxy.

RJMW avatar RJMW commented on July 18, 2024

I agree @Tomnl.

Examples for "LocalCSV" are available from here:
https://msbi.ipb-halle.de/~cruttkie/databases/
https://msbi.ipb-halle.de/~cruttkie/metfrag/example_local_inchi_file.txt

@korseby are there any more up-to-date csv files available?

from metfrag-galaxy.

Tomnl avatar Tomnl commented on July 18, 2024

This is now implemented following #8

from metfrag-galaxy.

Related Issues (9)

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.