comparison sccaf_asses.xml @ 0:95670267a5b6 draft

planemo upload for repository https://github.com/ebi-gene-expression-group/container-galaxy-sc-tertiary/tree/develop/tools/tertiary-analysis/sccaf commit 68be7a6fdb93e8b59e80e5f16e7fecdaa16f288c
author ebi-gxa
date Mon, 14 Oct 2019 08:10:33 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:95670267a5b6
1 <?xml version="1.0" encoding="utf-8"?>
2 <tool id="sccaf_asses" name="SCCAF Assesment" version="@TOOL_VERSION@+galaxy0">
3 <description>runs an assesment of an SCCAF optimisation result or an existing clustering.</description>
4 <macros>
5 <import>sccaf_macros.xml</import>
6 </macros>
7 <expand macro="requirements"/>
8 <command detect_errors="exit_code"><![CDATA[
9 ln -s ${input_obj_file} input.h5 &&
10
11 sccaf-assess -i input.h5 --iterations $iterations --cores \${GALAXY_SLOTS:-1}
12 -o sccaf_assess.txt
13 #if $rounds_file
14 --slot-for-existing-clustering \$( cat $rounds_file )
15 #else
16 --slot-for-existing-clustering $existing_slot
17 #end if
18
19
20 ]]></command>
21
22 <inputs>
23 <expand macro="input_object_params"/>
24
25 <conditional name="slot_source">
26 <param type="select" name="source" label="Choose the source of the slot for existing clustering" help="either a round file or an explicit name of a round.">
27 <option value="explicit" selected="True">Input the desired round directly</option>
28 <option value="file">Input the desired round through a file</option>
29 </param>
30 <when value="explicit">
31 <param type="text" value="" name="existing_slot" label="Specific round to asses" help="Write the slot of the AnnData object that you want assessed."/>
32 </when>
33 <when value="file">
34 <param name="rounds_file" argument="--slot-for-existing-clustering" type="data" format="txt,tsv" label="A file containing a single round to asses in the AnnData file." help="For use with sccaf_distribute_assesment" optional="true"/>
35 </when>
36 </conditional>
37 <param type="integer" value="5" name="iterations" label="Iterations for assesment" help="The number of times that the assesment is internally repeated to achieve a result."/>
38
39 </inputs>
40
41 <outputs>
42 <data name="output_table" format="txt" from_work_dir="sccaf_assess.txt" label="${tool.name} on ${on_string} assesment accuracy and cross validation."/>
43 <data name="output_png" format="png" from_work_dir="roc-curve.png" label="${tool.name} on ${on_string} ROC-Curve">
44 <filter>iterations == 1</filter>
45 </data>
46 </outputs>
47
48 <tests>
49 <test>
50 <param name="input_obj_file" value="find_cluster.h5"/>
51 <param name="use_tsv" value="true"/>
52 <param name="input_tsv" value="find_cluster.tsv"/>
53 <output name="output_png" file="run_sccaf.png" ftype="png"/>
54 </test>
55 </tests>
56
57 <help><![CDATA[
58 @SCCAF_INTRO@
59
60 SCCAF Assesment
61 ===============
62
63 This module is used to independently asses either SCCAF Optimisation rounds
64 results or just any clustering contained in an AnnData object that contains also
65 UMAP embeddings (necessary for the plots shown). The main purpose of this
66 independent assesment module is to distribute assesment runs after an optimisation.
67
68
69 ]]></help>
70 <!-- <expand macro="citations"/> -->
71 </tool>