Mercurial > repos > ebi-gxa > ct_get_consensus_outputs
annotate ct_get_consensus_outputs.xml @ 1:a31bc9849f91 draft
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
author | ebi-gxa |
---|---|
date | Fri, 24 Apr 2020 11:19:28 -0400 |
parents | 66cdd8438ac6 |
children | 94927cc336ba |
rev | line source |
---|---|
0
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
1 <tool id="ct_get_consensus_outputs" name="Cell types - get consensus outputs" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@"> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
2 <description>Get consensus outputs across multiple tools</description> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
3 <macros> |
66cdd8438ac6
"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> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
5 </macros> |
66cdd8438ac6
"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" /> |
66cdd8438ac6
"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[ |
66cdd8438ac6
"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; |
66cdd8438ac6
"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: |
66cdd8438ac6
"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/; |
66cdd8438ac6
"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 |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
12 |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
13 ln -s $'${ontology_graph}' cl-basic.obo; |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
14 |
1
a31bc9849f91
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
15 get_consensus_output.R --input-dir input_dir --num-cores \${GALAXY_SLOTS:-1} --cl-dictionary "${lab_cl_mapping}" --ontology-graph cl-basic.obo --summary-table-output-path "${summary_table_output_path}" --raw-table-output-path "${raw_table_output_path}" |
a31bc9849f91
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
16 #if $tool_table |
a31bc9849f91
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
17 --tool-table "${tool_table}" |
a31bc9849f91
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
18 #end if |
a31bc9849f91
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
19 #if $parallel |
a31bc9849f91
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
20 --parallel "${parallel}" |
a31bc9849f91
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
21 #end if |
a31bc9849f91
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
22 #if $exclusions |
a31bc9849f91
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
23 --exclusions "${exclusions}" |
a31bc9849f91
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
24 #end if |
a31bc9849f91
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
25 #if $semantic_sim_metric |
a31bc9849f91
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
26 --semantic-sim-metric "${semantic_sim_metric}" |
a31bc9849f91
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
27 #end if |
a31bc9849f91
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents:
0
diff
changeset
|
28 ]]></command> |
0
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
29 <inputs> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
30 <param type="data" name="input_tables" label="Aggregated tables" format="tsv" multiple="true" help="Aggregated prediction tables from multiple tools" /> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
31 <param type="data" name="tool_table" format="tsv" label="Tools table" help="Table with tools performance metrics" /> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
32 <param type="boolean" name="parallel" label="Parallel execution" checked="false" help="Should the table values be computed in parallel?" /> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
33 <param type="data" name="exclusions" label="Exclusions file" format="yml" optional="true" help="Yaml file with trivial terms and unlabelled cells" /> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
34 <param type="data" name="lab_cl_mapping" format="rdata" label="cl terms mapping" help="Label - CL term mapping" /> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
35 <param type="data" name="ontology_graph" format="obo" label="Ontology graph" help="Ontology graph to run similairty calculations" /> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
36 <param type="text" name="semantic_sim_metric" label="Semantic similarity metric" value="edge_resnik" help="Type of semantic similarity metric used" /> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
37 </inputs> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
38 <outputs> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
39 <data name="summary_table_output_path" format="txt" /> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
40 <data name="raw_table_output_path" format="txt" /> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
41 </outputs> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
42 <tests> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
43 <test> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
44 <param name="input_tables" value="prod_combined_tools/scmap_combined.tsv,prod_combined_tools/scpred_combined.tsv" /> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
45 <param name="tool_table" value="tool_perf_pvals.tsv" /> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
46 <param name="exclusions" value="exclusions.yml" /> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
47 <param name="parallel" value="TRUE" /> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
48 <param name="lab_cl_mapping" value="label_cl_dict.rds" /> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
49 <param name="ontology_graph" value="cl-basic.obo" /> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
50 <output name="summary_table_output_path" file="summary_output_table.tsv" compare="sim_size" /> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
51 <output name="raw_table_output_path" file="raw_labels_table.tsv" compare="sim_size" /> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
52 </test> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
53 </tests> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
54 <help><![CDATA[ |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
55 @HELP@ |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
56 |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
57 @VERSION_HISTORY@ |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
58 ]]></help> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
59 <expand macro="citations" /> |
66cdd8438ac6
"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff
changeset
|
60 </tool> |