Mercurial > repos > jjohnson > qiime
annotate make_otu_heatmap_html.xml @ 0:e5c3175506b7 default tip
Initial tool configs for qiime, most need work.
author | Jim Johnson <jj@umn.edu> |
---|---|
date | Sun, 17 Jul 2011 10:30:11 -0500 |
parents | |
children |
rev | line source |
---|---|
0
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
1 <tool id="make_otu_heatmap_html" name="make_otu_heatmap_html" version="1.2.1"> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
2 <description>Make heatmap of OTU table</description> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
3 <requirements> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
4 <requirement type="binary">make_otu_heatmap_html.py</requirement> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
5 </requirements> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
6 <command interpreter="python"> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
7 qiime_wrapper.py |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
8 --galaxy_outputdir='$otu_heatmp.extra_files_path' |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
9 --galaxy_datasets='^\S+\.html$:'$otu_heatmp |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
10 make_otu_heatmap_html.py |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
11 --otu_table_fp=$otu_table_fp |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
12 --output_dir='$otu_heatmp.extra_files_path' |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
13 --num_otu_hits=$num_otu_hits |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
14 #if $tree != None and $tree.__str__ != 'None': |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
15 --tree=$tree |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
16 #end if |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
17 #if $map_fname != None and $map_fname.__str__ != 'None' > 0: |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
18 --map_fname=$map_fname |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
19 #end if |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
20 #if $sample_tree != None and $sample_tree.__str__ != 'None': |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
21 --sample_tree=$sample_tree |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
22 #end if |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
23 $log_transform |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
24 --log_eps=$log_eps |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
25 </command> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
26 <inputs> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
27 <param name="otu_table_fp" type="data" format="txt" label="otu_table_fp" |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
28 help="path to the input OTU table (i.e., the output from make_otu_table.py) [REQUIRED]"/> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
29 <param name="num_otu_hits" type="integer" value="5" label="num_otu_hits" |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
30 help="This is the minimum number of Samples that an OTU is present in, for an OTU to be kept in the OTU table [default: 5]"/> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
31 <param name="tree" type="data" format="tre" optional="true" label="tree" |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
32 help="Tree file to be used for sorting OTUs in the heatmap"/> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
33 <param name="map_fname" type="data" format="qiimemapping" optional="true" label="map_fname" |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
34 help="Metadata mapping file to be used for sorting Samples in the heatmap"/> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
35 <param name="sample_tree" type="data" format="tre" optional="true" label="sample_tree" |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
36 help="Tree file to be used for sorting samples (e.g, output from upgma_cluster.py). If both this and the sample mapping file are provided, the mapping file is ignored."/> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
37 <param name="log_transform" type="boolean" truevalue="--log_transform" falsevalue="" checked="false" label="log_transform" |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
38 help="Data will be log-transformed. All zeros will be set to a small value (default is 1/2 the smallest non-zero entry). Data will be translated to be non-negative after log transform, and num_otu_hits will be set to 0."/> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
39 <param name="log_eps" type="float" value="0.0" label="log_eps" |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
40 help="Small value to replace zeros for log transform. [default: 1/2 the smallest non-zero entry]."/> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
41 </inputs> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
42 <outputs> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
43 <!-- TODO |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
44 the html output has a js sub dir: |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
45 move the js/* to the html .extra_files_path/ |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
46 filter the html to remove 'js/' sub dir |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
47 --> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
48 <data name="otu_heatmp" format="html" label="${tool.name} on ${on_string}: otu_heatmp"/> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
49 </outputs> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
50 <tests> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
51 </tests> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
52 <help> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
53 |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
54 |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
55 </help> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
56 </tool> |
e5c3175506b7
Initial tool configs for qiime, most need work.
Jim Johnson <jj@umn.edu>
parents:
diff
changeset
|
57 |