annotate ct_combine_tool_outputs.xml @ 5:f2e01e023137 draft

"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit dda3554de219b904e9bef7bbc0ca78fc9622a691"
author ebi-gxa
date Thu, 23 Jul 2020 11:59:15 -0400
parents 44b6219cba2d
children 844689a7f66e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
f2e01e023137 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit dda3554de219b904e9bef7bbc0ca78fc9622a691"
ebi-gxa
parents: 3
diff changeset
1 <tool id="ct_combine_tool_outputs" name="Cell types - combine tools outputs" version="@TOOL_VERSION@+galaxy2" profile="@PROFILE@">
0
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
2 <description>Combine predictions for single tool from multiple datasets</description>
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
3 <macros>
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
4 <import>ct_macros.xml</import>
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
5 </macros>
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
6 <expand macro="requirements" />
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
8 mkdir -p input_dir;
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
9 #for $table in $input_tables:
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
10 cp '$table' input_dir/;
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
11 #end for
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
12
2
a565cf41330b "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit c6a3af3aa798c106d1a8f3e2bf1aef5251d0bb7e"
ebi-gxa
parents: 0
diff changeset
13 combine_tool_outputs.R --input-dir input_dir --top-labels-num "${top_labels_num}" --scores "${scores}" --output-table "${output_table}"
a565cf41330b "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit c6a3af3aa798c106d1a8f3e2bf1aef5251d0bb7e"
ebi-gxa
parents: 0
diff changeset
14
a565cf41330b "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit c6a3af3aa798c106d1a8f3e2bf1aef5251d0bb7e"
ebi-gxa
parents: 0
diff changeset
15 #if $exclusions
a565cf41330b "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit c6a3af3aa798c106d1a8f3e2bf1aef5251d0bb7e"
ebi-gxa
parents: 0
diff changeset
16 --exclusions "${exclusions}"
a565cf41330b "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit c6a3af3aa798c106d1a8f3e2bf1aef5251d0bb7e"
ebi-gxa
parents: 0
diff changeset
17 #end if
a565cf41330b "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit c6a3af3aa798c106d1a8f3e2bf1aef5251d0bb7e"
ebi-gxa
parents: 0
diff changeset
18 ]]></command>
0
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
19 <inputs>
2
a565cf41330b "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit c6a3af3aa798c106d1a8f3e2bf1aef5251d0bb7e"
ebi-gxa
parents: 0
diff changeset
20 <param type="data" name="input_tables" label="Tables with predicted labels" multiple="true" format="txt" help="Standardised tables obtained from multiple classifiers" />
0
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
21 <param type="integer" name="top_labels_num" label="Number of top labels" value='3' help="Number of top labels to select" />
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
22 <param type="data" name="exclusions" label="Exclusions file" format="yml" optional="true" help="Yaml file with trivial terms and unlabelled cells" />
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
23 <param type="boolean" name="scores" label="scores" checked="false" help="Are scores included into the tool outpus?" />
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
24 </inputs>
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
25 <outputs>
2
a565cf41330b "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit c6a3af3aa798c106d1a8f3e2bf1aef5251d0bb7e"
ebi-gxa
parents: 0
diff changeset
26 <data name="output_table" format="txt" />
0
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
27 </outputs>
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
28 <tests>
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
29 <test>
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
30 <param name="input_tables" value="prod_outputs_scpred/E-MTAB-6386_scpred_final-labs.tsv,prod_outputs_scpred/OTHER-DATASET_scpred_final-labs.tsv" />
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
31 <param name="scores" value="TRUE" />
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
32 <param name="exclusions" value="exclusions.yml" />
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
33 <output name="output_table" file="combined_results.tsv" compare="sim_size" />
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
34 </test>
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
35 </tests>
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
36 <help><![CDATA[
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
37 @HELP@
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
38
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
39 @VERSION_HISTORY@
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
40 ]]></help>
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
41 <expand macro="citations" />
7c7d1ef36bf6 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
42 </tool>