annotate ct_get_empirical_dist.xml @ 5:36eab91e0ff5 draft

"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4a2a09dd40519b17c68456e69a0a683296d6ee53"
author ebi-gxa
date Mon, 13 Jul 2020 07:24:39 -0400
parents 5bf2827cd314
children 14eb5128af69
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
36eab91e0ff5 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4a2a09dd40519b17c68456e69a0a683296d6ee53"
ebi-gxa
parents: 4
diff changeset
1 <tool id="ct_get_empirical_dist" name="Cell types - get empirical distribution" version="@TOOL_VERSION@+galaxy2" profile="@PROFILE@">
0
196cc72cebd1 "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 empirical distribution for tool performance table</description>
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
3 <macros>
196cc72cebd1 "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>
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
5 </macros>
196cc72cebd1 "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" />
196cc72cebd1 "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[
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
8
5
36eab91e0ff5 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4a2a09dd40519b17c68456e69a0a683296d6ee53"
ebi-gxa
parents: 4
diff changeset
9 get_empirical_dist.R --input-ref-file "${input_ref_file}" --label-column-ref "${label_col_ref}" --lab-cl-mapping "${lab_cl_mapping}" --num-iterations "${num_iter}" --num-cores \${GALAXY_SLOTS:-1} --output-path "${output_list_path}"
0
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
10
1
9d5e6a4ec5b5 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
11 #if $parallel
9d5e6a4ec5b5 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
12 --parallel "${parallel}"
9d5e6a4ec5b5 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
13 #end if
5
36eab91e0ff5 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4a2a09dd40519b17c68456e69a0a683296d6ee53"
ebi-gxa
parents: 4
diff changeset
14 #if $ontology_graph
36eab91e0ff5 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4a2a09dd40519b17c68456e69a0a683296d6ee53"
ebi-gxa
parents: 4
diff changeset
15 --ontology-graph "${ontology_graph}"
36eab91e0ff5 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4a2a09dd40519b17c68456e69a0a683296d6ee53"
ebi-gxa
parents: 4
diff changeset
16 #end if
36eab91e0ff5 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4a2a09dd40519b17c68456e69a0a683296d6ee53"
ebi-gxa
parents: 4
diff changeset
17 #if $tmpdir
36eab91e0ff5 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4a2a09dd40519b17c68456e69a0a683296d6ee53"
ebi-gxa
parents: 4
diff changeset
18 --tmpdir "${tmpdir}"
36eab91e0ff5 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4a2a09dd40519b17c68456e69a0a683296d6ee53"
ebi-gxa
parents: 4
diff changeset
19 #end if
4
5bf2827cd314 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8c1bd2ab8a3f988e205677a3bb1ffda1e5694fe1"
ebi-gxa
parents: 3
diff changeset
20 #if $sample_labs
5bf2827cd314 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8c1bd2ab8a3f988e205677a3bb1ffda1e5694fe1"
ebi-gxa
parents: 3
diff changeset
21 --sample-labs "${sample_labs}"
5bf2827cd314 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8c1bd2ab8a3f988e205677a3bb1ffda1e5694fe1"
ebi-gxa
parents: 3
diff changeset
22 #end if
1
9d5e6a4ec5b5 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
23 #if $exclusions
9d5e6a4ec5b5 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
24 --exclusions "${exclusions}"
9d5e6a4ec5b5 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
25 #end if
5
36eab91e0ff5 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4a2a09dd40519b17c68456e69a0a683296d6ee53"
ebi-gxa
parents: 4
diff changeset
26 #if $sem_siml_metric
36eab91e0ff5 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4a2a09dd40519b17c68456e69a0a683296d6ee53"
ebi-gxa
parents: 4
diff changeset
27 --semantic-sim-metric "${sem_siml_metric}"
1
9d5e6a4ec5b5 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
28 #end if
5
36eab91e0ff5 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4a2a09dd40519b17c68456e69a0a683296d6ee53"
ebi-gxa
parents: 4
diff changeset
29
1
9d5e6a4ec5b5 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 241c850301f8094f6aa0016e2335a8b550c29aed"
ebi-gxa
parents: 0
diff changeset
30 ]]></command>
0
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
31 <inputs>
2
25bb7e49e10d "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit c6a3af3aa798c106d1a8f3e2bf1aef5251d0bb7e"
ebi-gxa
parents: 1
diff changeset
32 <param type="data" name="input_ref_file" label="Input reference file" format="txt" help="Text file with reference cell labels" />
5
36eab91e0ff5 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 4a2a09dd40519b17c68456e69a0a683296d6ee53"
ebi-gxa
parents: 4
diff changeset
33 <param type="data" name="exclusions" format="yml" label="Exclusions file" optional="true" help="YML file with excluded/unlabelled terms" />
0
196cc72cebd1 "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="text" name="label_col_ref" label="Reference label column" value="cell_type" help="Label column in reference file" />
4
5bf2827cd314 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8c1bd2ab8a3f988e205677a3bb1ffda1e5694fe1"
ebi-gxa
parents: 3
diff changeset
35 <param type="text" name="tmpdir" label="Tmpdir for caching" optional="true" help="Temporary directory for caching" />
0
196cc72cebd1 "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="data" name="lab_cl_mapping" label="Label - CL term mapping" format="rdata" help="Mapping between cell labels and ontology terms" />
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
37 <param type="boolean" name="parallel" label="Parallel execution" checked="false" help="Should the table values be computed in parallel?" />
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
38 <param type="integer" name="num_iter" value='5' label="Number of iterations" help="Number of simulations to generate empirical CDF" />
4
5bf2827cd314 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8c1bd2ab8a3f988e205677a3bb1ffda1e5694fe1"
ebi-gxa
parents: 3
diff changeset
39 <param type="integer" name="sample_labs" value='50' label="Number of labels to sample" help="Numbre of labels to sample for each permutation" />
5bf2827cd314 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8c1bd2ab8a3f988e205677a3bb1ffda1e5694fe1"
ebi-gxa
parents: 3
diff changeset
40 <param type="data" name="ontology_graph" label="Ontology graph" format="obo" optional="true" help="Ontology graph to run semantis similarity computations" />
5bf2827cd314 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 8c1bd2ab8a3f988e205677a3bb1ffda1e5694fe1"
ebi-gxa
parents: 3
diff changeset
41 <expand macro="sem_siml_options" />
0
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
42 </inputs>
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
43 <outputs>
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
44 <data name="output_list_path" format="rdata" />
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
45 </outputs>
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
46 <tests>
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
47 <test>
196cc72cebd1 "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="input_ref_file" value="reference_sdrf.tsv" />
196cc72cebd1 "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="label_col_ref" value="Sample.Characteristic.cell.type." />
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
50 <param name="ontology_graph" value="cl-basic.obo" />
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
51 <param name="exclusions" value="exclusions.yml" />
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
52 <param name="parallel" value="TRUE" />
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
53 <param name="lab_cl_mapping" value="label_cl_dict.rds" />
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
54 <output name="output_list_path" file="empirical_dist_list.rds" compare="sim_size" />
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
55 </test>
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
56 </tests>
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
57 <help><![CDATA[
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
58 @HELP@
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
59
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
60 @VERSION_HISTORY@
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
61 ]]></help>
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
62 <expand macro="citations" />
196cc72cebd1 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
63 </tool>