annotate tools/peak_calling/ccat_2_wrapper.xml @ 1:cdcb0ce84a1b

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:45:15 -0500
parents 9071e359b9a3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 <tool id="peakcalling_ccat2" name="CCAT" version="0.0.1">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>Control-based ChIP-seq Analysis Tool</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <command interpreter="python">ccat_wrapper.py '$input_tag_file' '$input_control_file' '$chromInfo'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 #if str( $options_type[ 'options_type_selector' ] ) == 'advanced':
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 '$input_advanced_config_file'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 #else:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 '${ options_type.input_config_file.fields.path }'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 'CCAT in Galaxy'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 '$output_peak_file' '$output_region_file' '$output_top_file' '$output_log_file'</command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 <requirements>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 <requirement type="binary">CCAT</requirement>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 </requirements>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 <param name="input_tag_file" type="data" format="bed" label="ChIP-Seq Tag File" >
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 <validator type="unspecified_build" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 <param name="input_control_file" type="data" format="bed" label="ChIP-Seq Control File" >
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 <validator type="unspecified_build" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 <conditional name="options_type">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 <param name="options_type_selector" type="select" label="Advanced Options">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 <option value="basic" selected="True">Hide Advanced Options</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 <option value="advanced">Show Advanced Options</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 <when value="basic">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 <param name="input_config_file" type="select" label="Select a pre-defined configuration file">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 <options from_data_table="ccat_configurations">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 <validator type="no_options" message="No configurations are available"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 </options>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33 <when value="advanced">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 <param name="fragment_size" type="integer" label="Length of DNA fragment" value="200"/>
9071e359b9a3 Uploaded
xuebing
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"/>
9071e359b9a3 Uploaded
xuebing
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"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 <param name="is_strand_sensitive_mode" type="select" label="isStrandSensitiveMode" >
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38 <option value="1">Transition from sense strand to anti-sense strand</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 <option value="0" selected="True">Local maximum of read-enrichment profile</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 <param name="min_count" type="integer" label="Minimum number of read counts at the peak" value="4"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42 <param name="output_num" type="integer" label="Number of peaks reported in top peak file" value="100000"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 <param name="random_seed" type="integer" label="Random Seed" value="123456"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 <param name="min_score" type="float" label="Minimum score of normalized difference" value="3.0"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45 <param name="bootstrap_pass" type="integer" label="Number of passes in the bootstrapping process" value="50"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50 <data name="output_peak_file" format="interval" label="${tool.name} on ${on_string} (peaks)">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51 <actions>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52 <action type="metadata" name="chromCol" default="1"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53 <action type="metadata" name="startCol" default="3"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54 <action type="metadata" name="endCol" default="4"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55 </actions>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
56 </data>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
57 <data name="output_region_file" format="interval" label="${tool.name} on ${on_string} (regions)">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
58 <actions>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
59 <action type="metadata" name="chromCol" default="1"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
60 <action type="metadata" name="startCol" default="3"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
61 <action type="metadata" name="endCol" default="4"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
62 </actions>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
63 </data>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
64 <data name="output_top_file" format="interval" label="${tool.name} on ${on_string} (top peaks)">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
65 <actions>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
66 <action type="metadata" name="chromCol" default="1"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
67 <action type="metadata" name="startCol" default="3"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
68 <action type="metadata" name="endCol" default="4"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
69 </actions>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
70 </data>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
71 <data name="output_log_file" format="txt" label="${tool.name} on ${on_string} (log)"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
72 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
73 <configfiles>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
74 <configfile name="input_advanced_config_file">#if str( $options_type['options_type_selector' ] ) == 'advanced':
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
75 fragmentSize ${options_type[ 'fragment_size' ]}
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
76 slidingWinSize ${options_type[ 'sliding_window_size' ]}
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
77 movingStep ${options_type[ 'moving_step' ]}
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
78 isStrandSensitiveMode ${options_type[ 'is_strand_sensitive_mode' ]}
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
79 minCount ${options_type[ 'min_count' ]}
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
80 outputNum ${options_type[ 'output_num' ]}
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
81 randomSeed ${options_type[ 'random_seed' ]}
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
82 minScore ${options_type[ 'min_score' ]}
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
83 bootstrapPass ${options_type[ 'bootstrap_pass' ]}
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
84 #end if</configfile>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
85 </configfiles>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
86 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
87 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
88 <param name="input_tag_file" value="chipseq_enriched.bed.gz" ftype="bed" dbkey="hg18" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
89 <param name="input_control_file" value="chipseq_input.bed.gz" ftype="bed" dbkey="hg18" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
90 <param name="options_type_selector" value="basic" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
91 <param name="input_config_file" value="ccat_2.0_histone_config" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
92 <output name="output_peak_file" file="peakcalling_ccat2/ccat2_test_peak_out_1.interval" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
93 <output name="output_region_file" file="peakcalling_ccat2/ccat2_test_region_out_1.interval" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
94 <output name="output_top_file" file="peakcalling_ccat2/ccat2_test_top_out_1.interval" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
95 <output name="output_log_file" file="peakcalling_ccat2/ccat2_test_log_out_1.interval" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
96 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
97 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
98 <param name="input_tag_file" value="chipseq_enriched.bed.gz" ftype="bed" dbkey="hg18" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
99 <param name="input_control_file" value="chipseq_input.bed.gz" ftype="bed" dbkey="hg18" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
100 <param name="options_type_selector" value="advanced" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
101 <param name="fragment_size" value="200" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
102 <param name="sliding_window_size" value="500" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
103 <param name="moving_step" value="50" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
104 <param name="is_strand_sensitive_mode" value="0" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
105 <param name="min_count" value="4" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
106 <param name="output_num" value="100000" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
107 <param name="random_seed" value="123456" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
108 <param name="min_score" value="3.0" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
109 <param name="bootstrap_pass" value="50" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
110 <output name="output_peak_file" file="peakcalling_ccat2/ccat2_test_peak_out_1.interval" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
111 <output name="output_region_file" file="peakcalling_ccat2/ccat2_test_region_out_1.interval" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
112 <output name="output_top_file" file="peakcalling_ccat2/ccat2_test_top_out_1.interval" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
113 <output name="output_log_file" file="peakcalling_ccat2/ccat2_test_log_out_1.interval" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
114 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
115 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
116 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
117 **What it does**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
118
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
119 This tool allows ChIP-seq peak/region calling using CCAT.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
120
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
121 View the original CCAT documentation: http://cmb.gis.a-star.edu.sg/ChIPSeq/paperCCAT.htm.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
122 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
123 </tool>