comparison ct_get_empirical_dist.xml @ 6:14eb5128af69 draft default tip

"planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/ commit a1ad1ddd9b8e4db5bb82c3accae8311e0e488b19"
author ebi-gxa
date Fri, 27 Nov 2020 13:38:33 +0000
parents 36eab91e0ff5
children
comparison
equal deleted inserted replaced
5:36eab91e0ff5 6:14eb5128af69
1 <tool id="ct_get_empirical_dist" name="Cell types - get empirical distribution" version="@TOOL_VERSION@+galaxy2" profile="@PROFILE@"> 1 <tool id="ct_get_empirical_dist" name="Cell types - get empirical distribution" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@">
2 <description>Get empirical distribution for tool performance table</description> 2 <description>for tool performance table</description>
3 <macros> 3 <macros>
4 <import>ct_macros.xml</import> 4 <import>ct_macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro="requirements" /> 6 <expand macro="requirements" />
7 <command detect_errors="exit_code"><![CDATA[ 7 <command detect_errors="exit_code"><![CDATA[
8 8
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}" 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}" --parallel "TRUE" --num-cores \${GALAXY_SLOTS:-1} --tmpdir ./ --output-path "${output_list_path}"
10 10
11 #if $parallel
12 --parallel "${parallel}"
13 #end if
14 #if $ontology_graph 11 #if $ontology_graph
15 --ontology-graph "${ontology_graph}" 12 --ontology-graph "${ontology_graph}"
16 #end if 13 #end if
17 #if $tmpdir
18 --tmpdir "${tmpdir}"
19 #end if
20 #if $sample_labs 14 #if $sample_labs
21 --sample-labs "${sample_labs}" 15 --sample-labs "${sample_labs}"
22 #end if 16 #end if
23 #if $exclusions 17 #if $exclusions
24 --exclusions "${exclusions}" 18 --exclusions "${exclusions}"
29 23
30 ]]></command> 24 ]]></command>
31 <inputs> 25 <inputs>
32 <param type="data" name="input_ref_file" label="Input reference file" format="txt" help="Text file with reference cell labels" /> 26 <param type="data" name="input_ref_file" label="Input reference file" format="txt" help="Text file with reference cell labels" />
33 <param type="data" name="exclusions" format="yml" label="Exclusions file" optional="true" help="YML file with excluded/unlabelled terms" /> 27 <param type="data" name="exclusions" format="yml" label="Exclusions file" optional="true" help="YML file with excluded/unlabelled terms" />
34 <param type="text" name="label_col_ref" label="Reference label column" value="cell_type" help="Label column in reference file" /> 28 <param type="text" name="label_col_ref" label="Reference label column" value="cell_type" help="Label column in reference file">
35 <param type="text" name="tmpdir" label="Tmpdir for caching" optional="true" help="Temporary directory for caching" /> 29 <expand macro="sanitize_strings" />
30 </param>
36 <param type="data" name="lab_cl_mapping" label="Label - CL term mapping" format="rdata" help="Mapping between cell labels and ontology terms" /> 31 <param type="data" name="lab_cl_mapping" label="Label - CL term mapping" format="rdata" help="Mapping between cell labels and ontology terms" />
37 <param type="boolean" name="parallel" label="Parallel execution" checked="false" help="Should the table values be computed in parallel?" />
38 <param type="integer" name="num_iter" value='5' label="Number of iterations" help="Number of simulations to generate empirical CDF" /> 32 <param type="integer" name="num_iter" value='5' label="Number of iterations" help="Number of simulations to generate empirical CDF" />
39 <param type="integer" name="sample_labs" value='50' label="Number of labels to sample" help="Numbre of labels to sample for each permutation" /> 33 <param type="integer" name="sample_labs" value='50' label="Number of labels to sample" help="Number of labels to sample for each permutation" />
40 <param type="data" name="ontology_graph" label="Ontology graph" format="obo" optional="true" help="Ontology graph to run semantis similarity computations" /> 34 <param type="data" name="ontology_graph" label="Ontology graph" format="obo" optional="true" help="Ontology graph to run semantis similarity computations" />
41 <expand macro="sem_siml_options" /> 35 <expand macro="sem_siml_options" />
42 </inputs> 36 </inputs>
43 <outputs> 37 <outputs>
44 <data name="output_list_path" format="rdata" /> 38 <data name="output_list_path" format="rdata" />
45 </outputs> 39 </outputs>
46 <tests> 40 <tests>
47 <test> 41 <test>
48 <param name="input_ref_file" value="reference_sdrf.tsv" /> 42 <param name="input_ref_file" value="reference_sdrf.tsv" />
49 <param name="label_col_ref" value="Sample.Characteristic.cell.type." /> 43
50 <param name="ontology_graph" value="cl-basic.obo" /> 44 <param name="label_col_ref" value='Sample Characteristic[cell type]' />
51 <param name="exclusions" value="exclusions.yml" /> 45 <param name="exclusions" value="exclusions.yml" />
52 <param name="parallel" value="TRUE" />
53 <param name="lab_cl_mapping" value="label_cl_dict.rds" /> 46 <param name="lab_cl_mapping" value="label_cl_dict.rds" />
54 <output name="output_list_path" file="empirical_dist_list.rds" compare="sim_size" /> 47 <output name="output_list_path" file="empirical_dist_list.rds" compare="sim_size" />
55 </test> 48 </test>
56 </tests> 49 </tests>
57 <help><![CDATA[ 50 <help><![CDATA[