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

update proteinortho v6.2.3 and some changes to the xml #5184

Merged
merged 27 commits into from
Jun 16, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 28 additions & 3 deletions tools/proteinortho/proteinortho.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,34 @@
</conditional>
</inputs>
<outputs>
<data name="blastgraph" format="tabular" label="${tool.name} on ${on_string}: RBH graph" from_work_dir="result.blast-graph"/>
<data name="proteinortho" format="tabular" label="${tool.name} on ${on_string}: orthology-groups" from_work_dir="result.proteinortho.tsv"/>
<data name="proteinorthograph" format="tabular" label="${tool.name} on ${on_string}: orthology-pairs" from_work_dir="result.proteinortho-graph"/>
<data name="blastgraph"
format="tabular"
label="${tool.name} on ${on_string}: RBH graph"
from_work_dir="result.blast-graph">
<actions>
<action name="column_names" type="metadata"
default="seqidA,seqidB,evalue_ab,bitscore_ab,evalue_ba,bitscore_ba"/>
</actions>
</data>
<data name="proteinortho"
format="tabular"
label="${tool.name} on ${on_string}: orthology-groups"
from_work_dir="result.proteinortho.tsv">
<actions>
<action name="column_names" type="metadata"
default="species,genes,alg.-conn.,${','.join([ f.element_identifier for f in $input_files ])}"/>
Copy link
Contributor

Choose a reason for hiding this comment

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

Lets see if this works. You should certainly check with planemo serve if this works out as expected. Maybe also include it in the tests https://docs.galaxyproject.org/en/master/dev/schema.html#tool-tests-test-output-metadata

There are even more advanced techniques for setting output metadata. For instance you can deposit a file galaxy.json in the working directory. That describes all sorts of output properties. Unfortunately this is largely undocumented https://planemo.readthedocs.io/en/latest/writing_advanced.html?highlight=galaxy.json#tool-provided-metadata

</actions>
</data>
<data name="proteinorthograph"
format="tabular"
label="${tool.name} on ${on_string}: orthology-pairs"
from_work_dir="result.proteinortho-graph">
<actions>
<action name="column_names" type="metadata"
default="seqidA,seqidB,evalue_ab,bitscore_ab,evalue_ba,bitscore_ba"/>
</actions>
</data>
</data>
</outputs>
<tests>
<test expect_num_outputs="3"> <!-- test normal -->
Expand Down