annotate ct_get_empirical_dist.xml @ 0:db3efb377894 draft

"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
author ebi-gxa
date Wed, 08 Apr 2020 15:32:09 +0000
parents
children 1758678269cb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
db3efb377894 "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_empirical_dist" name="Cell types - get empirical distribution" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@">
db3efb377894 "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>
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
3 <macros>
db3efb377894 "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>
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
5 </macros>
db3efb377894 "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" />
db3efb377894 "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[
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
8
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
9 ln -s $'${ontology_graph}' cl-basic.obo;
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
10
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
11 get_empirical_dist.R --input-ref-file "${input_ref_file}" --parallel "${parallel}" --exclusions "${exclusions}" --label-column-ref "${label_col_ref}" --lab-cl-mapping "${lab_cl_mapping}" --num-iterations "${num_iter}" --num-cores "${num_cores}" --ontology-graph cl-basic.obo --semantic-sim-metric "${sem_sim_metric}" --output-path "${output_list_path}" ]]></command>
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
12 <inputs>
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
13 <param type="data" name="input_ref_file" label="Input reference file" format="tsv" help="Text file with reference cell labels" />
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
14 <param type="data" name="exclusions" format="yml" label="Exclusions file" help="YML file with excluded/unlabelled terms" />
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
15 <param type="text" name="label_col_ref" label="Reference label column" value="cell_type" help="Label column in reference file" />
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
16 <param type="data" name="lab_cl_mapping" label="Label - CL term mapping" format="rdata" help="Mapping between cell labels and ontology terms" />
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
17 <param type="boolean" name="parallel" label="Parallel execution" checked="false" help="Should the table values be computed in parallel?" />
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
18 <param type="integer" name="num_iter" value='5' label="Number of iterations" help="Number of simulations to generate empirical CDF" />
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
19 <param type="integer" name="num_cores" value='4' label="Number of cores" help="Number of cores to run the process" />
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
20 <param type="data" name="ontology_graph" label="Ontology graph" format="obo" help="Ontology graph to run semantis similarity computations" />
db3efb377894 "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="text" name="sem_sim_metric" label="Semantic similarity metric" value="edge_resnik" help="Type of semantic similarity metric used" />
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
22 </inputs>
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
23 <outputs>
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
24 <data name="output_list_path" format="rdata" />
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
25 </outputs>
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
26 <tests>
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
27 <test>
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
28 <param name="input_ref_file" value="reference_sdrf.tsv" />
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
29 <param name="label_col_ref" value="Sample.Characteristic.cell.type." />
db3efb377894 "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="ontology_graph" value="cl-basic.obo" />
db3efb377894 "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="exclusions" value="exclusions.yml" />
db3efb377894 "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="parallel" value="TRUE" />
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
33 <param name="lab_cl_mapping" value="label_cl_dict.rds" />
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
34 <output name="output_list_path" file="empirical_dist_list.rds" compare="sim_size" />
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
35 </test>
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
36 </tests>
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
37 <help><![CDATA[
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
38 @HELP@
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
39
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
40 @VERSION_HISTORY@
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
41 ]]></help>
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
42 <expand macro="citations" />
db3efb377894 "planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit 941a94360593f8dfb7804834f29fb2642ddd53a2"
ebi-gxa
parents:
diff changeset
43 </tool>