-
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
interaction:fixed effects and corrections modified #5928
Merged
Merged
Changes from 1 commit
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
3918739
interaction:fixed effects and corrections modified
renu-pal 8fa089e
fixed effects, random effects , corrections methods modified and vers…
renu-pal bfc500c
maaslin2: test cases added
renu-pal 02ab4b6
maaslin2 : updated fixed and random effects to include just numbers i…
renu-pal 18bb723
Update tools/maaslin2/maaslin2.xml
bgruening 621439a
maaslin2: update correction help
renu-pal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,7 +55,7 @@ cd outputFolder && mkdir -p figures/ && cp *.pdf figures | |
<inputs> | ||
<param name="input_data" type="data" format="tabular" label="Data (or features) file"/> | ||
<param name="input_metadata" type="data" format="tabular" label="Metadata file"/> | ||
<param argument="--fixed_effects" type="select" multiple="true" optional="true" label="Interactions: Fixed effects" help="The fixed effects for the model, comma-delimited for multiple effects"> | ||
<param argument="--fixed_effects" type="text" multiple="true" optional="true" label="Interactions: Fixed effects" help="The fixed effects for the model, comma-delimited for multiple effects"> | ||
<option value="diagnosis" selected="true">diagnosis</option> | ||
<option value="dysbiosisnonIBD" selected="true">dysbiosisnonIBD</option> | ||
<option value="dysbiosisUC" selected="true">dysbiosisUC</option> | ||
|
@@ -87,7 +87,14 @@ cd outputFolder && mkdir -p figures/ && cp *.pdf figures | |
<option value="NEGBIN">NEGBIN</option> | ||
<option value="ZINB">ZINB</option> | ||
</param> | ||
<param argument="--correction" type="text" value="BH" optional="true" label="Correction" help="The correction method for computing the q-value"/> | ||
<param argument="--correction" type="select" value="BH" multiple="true" optional="true" label="Correction" help="The correction method for computing the q-value"> | ||
<option value="holm">holm</option> | ||
<option value="hochberg">hochberg</option> | ||
<option value="hommel">hommel</option> | ||
<option value="bonferroni">bonferroni</option> | ||
<option value="BH">BH</option> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you add the full names for BH and BY as well, maybe also add a link to the explanation to the help and check if they all work, maybe add a test or two as well |
||
<option value="BY">BY</option> | ||
</param> | ||
renu-pal marked this conversation as resolved.
Show resolved
Hide resolved
|
||
<param argument="--standardize" type="boolean" truevalue="--standardize TRUE" falsevalue="--standardize FALSE" checked="true" label="Apply z-score so continuous metadata are on the same scale"/> | ||
</section> | ||
<section name="output" title="Set Plotting Output" expanded="true"> | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why should this be a text paraeter? We should probably fix the help instead?
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 can do that now but if more association factors get added in the future, we might have to make changes again as we are doing now. So instead take it as a text parameter.
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.
In fact, the
fixed_effects
as well as therandom_effects
should be of type:data_column
(see:tools-iuc/tools/bedtools/overlapBed.xml
Line 17 in 4e3719a
Since for both multiple columns from the input can be chosen. The original optional values are nonsense, since they hard-coded the column names of the test data.
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.
I am getting column numbers instead of names after using type="data_column" . Do we have any other type where we can get names of columns directly instead of numbers?
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.
Have you tried setting numerical=false? https://docs.galaxyproject.org/en/latest/dev/schema.html#id51
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.
setting numerical="false" did not work instead setting use_header_names="true" worked and UI shows column names now but the test cases are failing. Do not understand why it is still accepting numerical values as valid options for tests. So working on that now.
tool_test_output.json
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.
I could be wrong, but the use_header_names="true" option is really just cosmetic and for the UI, you still need to give numbers in the tests.
Very good idea to use use_header_names="true"!!!
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.
hi @renu-pal it was a surprise for me, that there is not easy way to get the column_names available for the command line from Galaxy, however after some fideling I found a way to get them from the input file:
Maybe let the user know in the help, that the column names must be in the first line of the table or modify the code to skip comments when parsing the header
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.
forget about that, we need to get the column names in the command line not the cheetah code...
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.
So update, this way, using awk the file is only parsed on script execution