Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msPurity.spectralMatching - sqllite db #49

Open
lecorguille opened this issue Apr 6, 2021 · 4 comments
Open

msPurity.spectralMatching - sqllite db #49

lecorguille opened this issue Apr 6, 2021 · 4 comments

Comments

@lecorguille
Copy link

Hi,

As admin of an instance, how can I provide the full sqllite database to my users ?

https://github.com/computational-metabolomics/mspurity-galaxy/blob/master/tools/msPurity/macros.xml#L119

Is there a data table mecanism?

@Tomnl
Copy link
Member

Tomnl commented Apr 12, 2021

Hi, sorry for the delay in reply - I have been away for a couple of weeks.

This can be set here

https://github.com/computational-metabolomics/mspurity-galaxy/blob/master/tools/msPurity/dbconfig.R

So you have to manually update the toolshed code on the server.

e.g. on our Bham servers this is located as follows (where fecfe8c80e25 changes based on each version of the tool)

shed_tools/toolshed.g2.bx.psu.edu/repos/computational-metabolomics/mspurity_spectralmatching/fecfe8c80e25/mspurity_spectralmatching/dbconfig.R

If you plan on using a local SQLite database just set the l_dbPth value:

l_dbPth <- '/path/2/library_spectra.sqlite'

Also note:

Here is an example database derived from MoNA https://github.com/computational-metabolomics/msp2db/releases/tag/0.0.5

See the basic library schema here https://github.com/computational-metabolomics/msp2db/blob/master/msp2db/db.py#L21-L96 (but can include XCMS information as well)

@lecorguille
Copy link
Author

Hi, @Tomnl
Not really practical to modify the line within the wrapper :/
Can you considering to implement Data tables:

Ping @yguitton
Which database do you need?

Cheers

@yguitton
Copy link
Contributor

Hi @lecorguille , Hi @Tomnl

I was thinking of including the mona_nov_parsed_20181120122122.db made by Tom that is available here https://github.com/computational-metabolomics/msp2db/releases

Would be really cool if the include database can be regularly updated with https://github.com/computational-metabolomics/msp2db

Many thanks for your help and time
Yann

@Tomnl
Copy link
Member

Tomnl commented Apr 23, 2021

@lecorguille I wasn't aware that I could use sqlite files for the "Data table" implementation. I thought it was only .loc files (i.e. text files?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants