annotate ccat_wrapper.xml @ 1:201d8e7dfc43 draft

planemo upload commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
author devteam
date Tue, 21 Jul 2015 14:13:34 -0400
parents a0c8dc671a23
children 1a6979fbd544
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
1 <tool id="peakcalling_ccat" name="CCAT" version="0.0.1">
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
2 <description>Control-based ChIP-seq Analysis Tool</description>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
3 <requirements>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
4 <requirement type="package" version="3.0">CCAT</requirement>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
5 </requirements>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
6 <command interpreter="python">ccat_wrapper.py '$input_tag_file' '$input_control_file' '$chromInfo'
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
7 #if str( $options_type[ 'options_type_selector' ] ) == 'advanced':
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
8 '$input_advanced_config_file'
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
9 #else:
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
10 '${ options_type.input_config_file.fields.path }'
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
11 #end if
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
12 'CCAT in Galaxy'
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
13 '$output_peak_file' '$output_region_file' '$output_top_file' '$output_log_file'</command>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
14 <inputs>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
15 <param name="input_tag_file" type="data" format="bed" label="ChIP-Seq Tag File" >
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
16 <validator type="unspecified_build" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
17 </param>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
18 <param name="input_control_file" type="data" format="bed" label="ChIP-Seq Control File" >
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
19 <validator type="unspecified_build" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
20 </param>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
21 <conditional name="options_type">
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
22 <param name="options_type_selector" type="select" label="Advanced Options">
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
23 <option value="basic" selected="True">Hide Advanced Options</option>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
24 <option value="advanced">Show Advanced Options</option>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
25 </param>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
26 <when value="basic">
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
27 <param name="input_config_file" type="select" label="Select a pre-defined configuration file">
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
28 <options from_data_table="ccat_configurations">
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
29 <validator type="no_options" message="No configurations are available"/>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
30 </options>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
31 </param>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
32 </when>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
33 <when value="advanced">
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
34 <param name="fragment_size" type="integer" label="Length of DNA fragment" value="200"/>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
35 <param name="sliding_window_size" type="integer" label="Sliding window size" value="500" help="transcription factor binding default: 300; histone modifications default: 500"/>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
36 <param name="moving_step" type="integer" label="Step of sliding window" value="50" help="transcription factor binding default: 10; histone modifications default: 50"/>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
37 <param name="is_strand_sensitive_mode" type="select" label="isStrandSensitiveMode" >
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
38 <option value="1">Transition from sense strand to anti-sense strand</option>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
39 <option value="0" selected="True">Local maximum of read-enrichment profile</option>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
40 </param>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
41 <param name="min_count" type="integer" label="Minimum number of read counts at the peak" value="4"/>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
42 <param name="output_num" type="integer" label="Number of peaks reported in top peak file" value="100000"/>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
43 <param name="random_seed" type="integer" label="Random Seed" value="123456"/>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
44 <param name="min_score" type="float" label="Minimum score of normalized difference" value="3.0"/>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
45 <param name="bootstrap_pass" type="integer" label="Number of passes in the bootstrapping process" value="50"/>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
46 </when>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
47 </conditional>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
48 </inputs>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
49 <outputs>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
50 <data name="output_peak_file" format="interval" label="${tool.name} on ${on_string} (peaks)">
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
51 <actions>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
52 <action type="metadata" name="chromCol" default="1"/>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
53 <action type="metadata" name="startCol" default="3"/>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
54 <action type="metadata" name="endCol" default="4"/>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
55 </actions>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
56 </data>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
57 <data name="output_region_file" format="interval" label="${tool.name} on ${on_string} (regions)">
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
58 <actions>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
59 <action type="metadata" name="chromCol" default="1"/>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
60 <action type="metadata" name="startCol" default="3"/>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
61 <action type="metadata" name="endCol" default="4"/>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
62 </actions>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
63 </data>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
64 <data name="output_top_file" format="interval" label="${tool.name} on ${on_string} (top peaks)">
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
65 <actions>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
66 <action type="metadata" name="chromCol" default="1"/>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
67 <action type="metadata" name="startCol" default="3"/>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
68 <action type="metadata" name="endCol" default="4"/>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
69 </actions>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
70 </data>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
71 <data name="output_log_file" format="txt" label="${tool.name} on ${on_string} (log)"/>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
72 </outputs>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
73 <configfiles>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
74 <configfile name="input_advanced_config_file">#if str( $options_type['options_type_selector' ] ) == 'advanced':
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
75 fragmentSize ${options_type[ 'fragment_size' ]}
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
76 slidingWinSize ${options_type[ 'sliding_window_size' ]}
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
77 movingStep ${options_type[ 'moving_step' ]}
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
78 isStrandSensitiveMode ${options_type[ 'is_strand_sensitive_mode' ]}
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
79 minCount ${options_type[ 'min_count' ]}
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
80 outputNum ${options_type[ 'output_num' ]}
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
81 randomSeed ${options_type[ 'random_seed' ]}
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
82 minScore ${options_type[ 'min_score' ]}
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
83 bootstrapPass ${options_type[ 'bootstrap_pass' ]}
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
84 #end if</configfile>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
85 </configfiles>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
86 <tests>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
87 <test>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
88 <param name="input_tag_file" value="chipseq_enriched.bed.gz" ftype="bed" dbkey="hg18" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
89 <param name="input_control_file" value="chipseq_input.bed.gz" ftype="bed" dbkey="hg18" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
90 <param name="options_type_selector" value="advanced" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
91 <param name="fragment_size" value="200" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
92 <param name="sliding_window_size" value="500" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
93 <param name="moving_step" value="50" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
94 <param name="is_strand_sensitive_mode" value="0" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
95 <param name="min_count" value="4" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
96 <param name="output_num" value="100000" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
97 <param name="random_seed" value="123456" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
98 <param name="min_score" value="5.0" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
99 <param name="bootstrap_pass" value="50" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
100 <output name="output_peak_file" file="peakcalling_ccat/3.0/ccat_test_peak_out_1.interval.re_match" compare="re_match" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
101 <output name="output_region_file" file="peakcalling_ccat/3.0/ccat_test_region_out_1.interval.re_match" compare="re_match" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
102 <output name="output_top_file" file="peakcalling_ccat/3.0/ccat_test_top_out_1.interval.sorted.re_match" compare="re_match" sort="True" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
103 <output name="output_log_file" file="peakcalling_ccat/3.0/ccat_test_log_out_1.txt" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
104 </test>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
105 <test>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
106 <param name="input_tag_file" value="chipseq_enriched.bed.gz" ftype="bed" dbkey="hg18" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
107 <param name="input_control_file" value="chipseq_input.bed.gz" ftype="bed" dbkey="hg18" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
108 <param name="options_type_selector" value="basic" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
109 <param name="input_config_file" value="ccat_3.0_histone_config" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
110 <output name="output_peak_file" file="peakcalling_ccat/3.0/ccat_test_peak_out_1.interval.re_match" compare="re_match" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
111 <output name="output_region_file" file="peakcalling_ccat/3.0/ccat_test_region_out_1.interval.re_match" compare="re_match" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
112 <output name="output_top_file" file="peakcalling_ccat/3.0/ccat_test_top_out_1.interval.sorted.re_match" compare="re_match" sort="true" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
113 <output name="output_log_file" file="peakcalling_ccat/3.0/ccat_test_log_out_1.txt" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
114 </test>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
115 <!-- Test below gives different answers on different architectures,
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
116 e.g.: x86_64 GNU/Linux gave an extra line (additional peak called) when compared to the version running on 10.6.0 Darwin i386
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
117 slidingWinSize was fixed to be 1000, default as per readme.txt
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
118 -->
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
119 <!--
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
120 <test>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
121 <param name="input_tag_file" value="chipseq_enriched.bed.gz" ftype="bed" dbkey="hg18" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
122 <param name="input_control_file" value="chipseq_input.bed.gz" ftype="bed" dbkey="hg18" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
123 <param name="options_type_selector" value="basic" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
124 <param name="input_config_file" value="ccat_3.0_histone_config_readme" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
125 <output name="output_peak_file" file="peakcalling_ccat/3.0/ccat_test_peak_out_2.interval.re_match" compare="re_match" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
126 <output name="output_region_file" file="peakcalling_ccat/3.0/ccat_test_region_out_2.interval.re_match" compare="re_match" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
127 <output name="output_top_file" file="peakcalling_ccat/3.0/ccat_test_top_out_2.interval.sorted.re_match" compare="re_match" sort="true" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
128 <output name="output_log_file" file="peakcalling_ccat/3.0/ccat_test_log_out_2.txt" />
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
129 </test>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
130 -->
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
131 </tests>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
132 <help>
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
133 **What it does**
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
134
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
135 This tool allows ChIP-seq peak/region calling using CCAT.
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
136
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
137 View the original CCAT documentation: http://cmb.gis.a-star.edu.sg/ChIPSeq/paperCCAT.htm.
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
138
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
139 ------
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
140
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
141 **Citation**
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
142
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
143 If you use this tool in Galaxy, please cite Blankenberg D, et al. *In preparation.*
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
144
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
145 </help>
1
201d8e7dfc43 planemo upload commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents: 0
diff changeset
146 <citations>
201d8e7dfc43 planemo upload commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents: 0
diff changeset
147 <citation type="doi">10.1093/bioinformatics/btq128</citation>
201d8e7dfc43 planemo upload commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents: 0
diff changeset
148 </citations>
0
a0c8dc671a23 Imported from capsule None
devteam
parents:
diff changeset
149 </tool>