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

[WIP] ProteoRE 'filter kw and values' tool - Version 2021.06.01 #590

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

combesf
Copy link
Collaborator

@combesf combesf commented May 10, 2021

From ProteoRE team : as agreed after the Valentin's PR (see here)
#535

We now make the PR tool by tool.
This is the first one, there are 17 more to come ...

Thanks in advance for the review !

@bgruening
Copy link
Member

@combesf awesome! We will try to review asap! Keep them coming!

@yvandenb yvandenb self-assigned this May 10, 2021
@vloux vloux self-assigned this May 10, 2021
tools/proteore_filter_keywords_values/.shed.yml Outdated Show resolved Hide resolved
tools/proteore_filter_keywords_values/filter_kw_val.xml Outdated Show resolved Hide resolved
tools/proteore_filter_keywords_values/filter_kw_val.xml Outdated Show resolved Hide resolved
<param name="inclusive" type="boolean" label="inclusive range ?" checked="false" truevalue="true" falsevalue="false" />
</repeat>
<conditional name="sort">
<param name="sort_bool" type="boolean" label="Sort by column ?" checked="false" truevalue="true" falsevalue="false" />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be a select by best practices.

</conditional>
</inputs>
<outputs>
<data name="discarded_lines" format="tsv" label="Filtered_${input1.name} - discarded_lines" />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer more standard labels: ${tool.name} on ${on_string}: discarded_lines

</inputs>
<outputs>
<data name="discarded_lines" format="tsv" label="Filtered_${input1.name} - discarded_lines" />
<data name="kept_lines" format="tsv" label="Filtered_${input1.name}" />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

${tool.name} on ${on_string}

<conditional name="k" >
<param name="kw" type="select" label="Enter keywords" >
<option value="text" selected="true">copy/paste</option>
<option value="file">File containing keywords</option>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a test for keyword file

<inputs>
<param type="data" name="input1" format="txt,tabular" label="Input file" />
<param name="header" type="boolean" checked="true" truevalue="true" falsevalue="false" label="Does file contain header?" />
<param name="operation" type="select" label="Operation" help="keep or discard word(s) or value(s) that match filters ?">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tool would become even more powerful if the keep/discard could be selected for each filter, or? Maybe leaving this parameter as default.

</param>
<param name="value" type="float" value="" label="Value"></param>
</repeat>
<repeat name="values_range" title="Filter by range of numerical values">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add this to the test?

Copy link
Collaborator

@bernt-matthias bernt-matthias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the version in the PR title refering to? Version 2021.04.19.1?

Do you intend to keep this https://github.com/vloux/ProteoRE/tree/master/tools/proteore_filter_keywords_values? Then I would prefer to make the proteore repo a proper python package released on pypi and bioconda which we could then use as requirement.

@vloux
Copy link
Contributor

vloux commented May 12, 2021

What is the version in the PR title refering to? Version 2021.04.19.1?

Do you intend to keep this https://github.com/vloux/ProteoRE/tree/master/tools/proteore_filter_keywords_values? Then I would prefer to make the proteore repo a proper python package released on pypi and bioconda which we could then use as requirement.

Hello Matthias,
the version in the PR is the version of the Galaxy wrapper.
We intend to "close" the repos for the Proteore tools as soon as they have been transferred in Galaxy-P.

@combesf combesf changed the title [WIP] Adding ProteoRE 'filter kw and values' tool - Version 2021.04.19.1 [WIP] Adding ProteoRE 'filter kw and values' tool - Version 2021.06.01 Jun 1, 2021
@yvandenb yvandenb changed the title [WIP] Adding ProteoRE 'filter kw and values' tool - Version 2021.06.01 [WIP] ProteoRE 'filter kw and values' tool - Version 2021.06.01 Jun 2, 2021
@yvandenb yvandenb added the wip label Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants