Mercurial > repos > iuc > raceid_clustering
comparison raceid_clustering.xml @ 4:ee0bbc160cb1 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/raceid3 commit 5d7c4cd914295a81d42bf8baaad4981c23a83059"
author | iuc |
---|---|
date | Mon, 12 Aug 2019 13:00:12 -0400 |
parents | 4ea021bd7513 |
children | 7e014059a88d |
comparison
equal
deleted
inserted
replaced
3:d4646ce659b4 | 4:ee0bbc160cb1 |
---|---|
1 <tool id="raceid_clustering" name="Clustering using RaceID" version="@VERSION_RACEID@.@VERSION_PACKAGE@.1" > | 1 <tool id="raceid_clustering" name="Clustering using RaceID" version="@VERSION_RACEID@.@VERSION_WRAPPER@" > |
2 <description>performs clustering, outlier detection, dimensional reduction</description> | 2 <description>performs clustering, outlier detection, dimensional reduction</description> |
3 <macros> | 3 <macros> |
4 <import>macros.xml</import> | 4 <import>macros.xml</import> |
5 <import>macros_cluster.xml</import> | 5 <import>macros_cheetah.xml</import> |
6 </macros> | 6 </macros> |
7 <expand macro="requirements" /> | 7 <expand macro="requirements" /> |
8 <version_command><![CDATA[ | 8 <expand macro="version_command_config" prog="cluster.R" cheetah="CLUSTER_CHEETAH" out="&> '$outlog'" /> |
9 Rscript '$__tool_directory__/scripts/cluster.R' @GET_VERSION@ | 9 |
10 ]]></version_command> | |
11 | |
12 <command detect_errors="exit_code"><![CDATA[ | |
13 #set bin = 'cluster.R' | |
14 Rscript '$__tool_directory__/scripts/$bin' '$userconf' 2>&1 > '$outlog' | |
15 ]]></command> | |
16 | |
17 <configfiles> | |
18 <configfile name="userconf" ><![CDATA[ | |
19 @STRING2VECTOR@ | |
20 | |
21 @CLUSTER_CHEETAH@ | |
22 | |
23 ]]></configfile> | |
24 </configfiles> | |
25 <inputs> | 10 <inputs> |
26 <param name="inputrds" type="data" format="rdata" label="Input RaceID RDS" help="Requires the RDS output from the normalisation stage" /> | 11 <param name="inputrds" type="data" format="rdata" label="Input RaceID RDS" help="Requires the RDS output from the normalisation stage" /> |
27 <section name="clust" title="Clustering" expanded="true" > | 12 <section name="clust" title="Clustering" expanded="true" > |
28 <!-- CompDist --> | 13 <!-- CompDist --> |
29 <param name="metric" type="select" label="Distance Metric" > | 14 <param name="metric" type="select" label="Distance Metric" > |
88 </section> | 73 </section> |
89 </inputs> | 74 </inputs> |
90 <outputs> | 75 <outputs> |
91 <data name="outpdf" format="pdf" label="${tool.name} on ${on_string}: PDF Report" /> | 76 <data name="outpdf" format="pdf" label="${tool.name} on ${on_string}: PDF Report" /> |
92 <data name="outrdat" format="rdata" label="${tool.name} on ${on_string}: RDS" /> | 77 <data name="outrdat" format="rdata" label="${tool.name} on ${on_string}: RDS" /> |
78 <data name="outassignments" format="tabular" label="${tool.name} on ${on_string}: Cell-to-Cluster assignments" /> | |
93 <data name="outgenelist" format="tabular" label="${tool.name} on ${on_string}: Cluster - Genes per Cluster" /> | 79 <data name="outgenelist" format="tabular" label="${tool.name} on ${on_string}: Cluster - Genes per Cluster" /> |
94 <data name="outlog" format="txt" label="${tool.name} on ${on_string}: Log" > | 80 <data name="outlog" format="txt" label="${tool.name} on ${on_string}: Log" > |
95 <filter>use_log</filter> | 81 <filter>use_log</filter> |
96 </data> | 82 </data> |
97 </outputs> | 83 </outputs> |
98 | |
99 <tests> | 84 <tests> |
100 <test> | 85 <test> |
101 <param name="inputrds" value="matrix.filter.rdat" /> | 86 <param name="inputrds" value="matrix.filter.rdat" /> |
102 <output name="outgenelist" value="matrix2.genelist" /> | 87 <output name="outgenelist" value="matrix2.genelist" /> |
103 <output name="outrdat" value="matrix2.rdat" compare="sim_size" delta="15" /> | 88 <output name="outrdat" value="matrix2.rdat" compare="sim_size" delta="15" /> |
104 <output name="outpdf" value="matrix2.pdf" compare="sim_size" delta="10" /> | 89 <output name="outpdf" value="matrix2.pdf" compare="sim_size" delta="10" /> |
90 <output name="outassignments" > | |
91 <assert_contents> | |
92 <has_line_matching expression="P1_B1_ATCCAC\s1\s1\sFALSE" /> | |
93 </assert_contents> | |
94 </output> | |
105 </test> | 95 </test> |
106 <test> | 96 <test> |
107 <!-- defaults, but manually specified. No opts, no CC. Generates identical to above --> | 97 <!-- defaults, but manually specified. No opts, no CC. Generates identical to above --> |
108 <param name="inputrds" value="matrix.filter.rdat" /> | 98 <param name="inputrds" value="matrix.filter.rdat" /> |
109 <section name="clust" > | 99 <section name="clust" > |