-
Notifications
You must be signed in to change notification settings - Fork 441
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
Feature/add met frag #2098
Feature/add met frag #2098
Conversation
metFrag: added missing output file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @sneumann!
I added a few comments. Please also consider to use tab-separated-files as Galaxy has a bunch of tools to process them without converting them in between.
@@ -0,0 +1,149 @@ | |||
<?xml version='1.0' encoding='UTF-8'?> | |||
<!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/).--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we remove these comments?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gone.
<?xml version='1.0' encoding='UTF-8'?> | ||
<!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/).--> | ||
<!--Proposed Tool Section: [PhenoMeNal]--> | ||
<tool id="metfrag-cli-batch" name="metfrag-cli-batch" version="0.4"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use _
instead of -
for the id?
I would also use Run MetFrag
as name and the rest as a description.
<command detect_errors="aggressive"><![CDATA[ | ||
metfrag ParameterFile='$metfrag_cli_batch_input_1' ResultsFile='$metfrag_cli_batch_output_1' | ||
#if $metfrag_cli_batch_database_file != "None" | ||
LocalDatabasePath="$metfrag_cli_batch_database_file" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentation and single quotes :)
</command> | ||
<inputs> | ||
<param name="metfrag_cli_batch_input_1" type="data" format="txt" optional="False" label="File with MetFrag parameters" help="File containing MetFrag parameters which is generated by msms2metfrag" /> | ||
<param name="additionalparameters" type="text" value="" optional="True" label="Additional Parameters" help="Additional parameters that can be passed to MetFrag. This can include e.g. access information for a local MetChem database instance" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be very dangerous, as a user can pass everything to the command line. Are there too many parameters to explicitly list them here?
<param name="metfrag_cli_batch_input_1" type="data" format="txt" optional="False" label="File with MetFrag parameters" help="File containing MetFrag parameters which is generated by msms2metfrag" /> | ||
<param name="additionalparameters" type="text" value="" optional="True" label="Additional Parameters" help="Additional parameters that can be passed to MetFrag. This can include e.g. access information for a local MetChem database instance" /> | ||
<param name="metfrag_cli_batch_database_file" type="data" format="csv" optional="True" label="Database File" help="File containing candidates used as database" /> | ||
<param name="additional_metfrag_scores" type="select" display="checkboxes" multiple="true" label="Additional MetFrag scores" help="Add additional MetFrag scores used to score candidates"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a select with only one option looks wired, do you want to use a boolean here?
| A csv output file with scored candidates and properties | ||
| | ||
|
||
--------------------------------------------------- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do not list news or changes in a tool. This can be done in an additional readme file if you like.
| 2) Database File (optional) | csv | | ||
+------------------------------+------------+ | ||
|
||
---------- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These parameter description does not add more information as the above help text. It would be nice if we can add additional information here.
@sneumann still needed in IUC? Seems that there are new recent plans: computational-metabolomics/metfrag-galaxy#9 |
I think we can close this now since metfrag is now in Galaxy https://github.com/computational-metabolomics/metfrag-galaxy. Or? |
Yes, happy to see it maintained as Galaxy tool. Thanks Ralf et al ! Yours, Steffen |
FOR CONTRIBUTOR:
FOR REVIEWER:
iuc
has access to associated toolshed repo(s)<command/>
'single quoted'
<![CDATA[ ... ]]>
tagstext
or havingoptional="true"
attribute are checked withif str($param)
before being usedformat
attribute containing datatypes recognised by Galaxy<![CDATA[ ... ]]>
tags