-
Notifications
You must be signed in to change notification settings - Fork 219
Added sortUsingSamples and clusterUsingSamples to the galaxy wrapper #977
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
Conversation
bgruening
left a comment
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.
Small review added.
galaxy/wrapper/plotHeatmap.xml
Outdated
| <when value="yes"> | ||
| <expand macro="sortRegions" /> | ||
| <expand macro="sortUsing" /> | ||
| <param argument="--sortUsingSamples" type="text" size="30" |
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.
size can be removed it is not used anymore
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.
then I remove it from other options too
galaxy/wrapper/plotHeatmap.xml
Outdated
| <param argument="--sortUsingSamples" type="text" size="30" | ||
| label="List of samples to be used for sorting" | ||
| help="List of sample numbers (order as in matrix), which are used by --sortUsing for sorting. | ||
| If no value is set, it uses all samples. Example: 1 3 (space separated!)"> |
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 you please add:
<sanitizer invalid_char="">
<valid initial="string.digits">
<add value=" "/>
</valid>
</sanitizer>
This will make sure only digits and space and be entered.
galaxy/wrapper/plotHeatmap.xml
Outdated
| help="The default is to make one plot per bigWig file, i.e., all samples next to each other. Choosing this option will make one plot per group of regions."/> | ||
|
|
||
| <expand macro="kmeans_clustering" /> | ||
| <param argument="--clusterUsingSamples" type="text" size="30" |
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.
size can be removed
galaxy/wrapper/plotHeatmap.xml
Outdated
| <param argument="--clusterUsingSamples" type="text" size="30" | ||
| label="List of samples to be used for clustering" | ||
| help="List of sample numbers (order as in matrix), which are used by --kmeans or --hclust for clustering. | ||
| If no value is set, it uses all samples. Example: 1 3 (space separated!)"> |
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.
sanitizer should be added
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.
@bgruening I have already changed them. Is it good now? If so, I am gonna merge it.
… anitizer for the 2 new params.
|
Yes, that looks great. Thanks @LeilyR! |
Welcome to deepTools GitHub repository! Please check the following regarding
your pull request :
Added sortUsingSamples and clusterUsingSamples to galaxy wrapper as has been asked in #976