Mercurial > repos > devteam > ccat
annotate ccat_wrapper.xml @ 2:1a6979fbd544 draft default tip
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
author | devteam |
---|---|
date | Fri, 03 Dec 2021 16:27:57 +0000 |
parents | 201d8e7dfc43 |
children |
rev | line source |
---|---|
2
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
1 <tool id="peakcalling_ccat" name="CCAT" version="0.0.2" profile="20.01"> |
0 | 2 <description>Control-based ChIP-seq Analysis Tool</description> |
3 <requirements> | |
2
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
4 <requirement type="package" version="3.0">ccat</requirement> |
0 | 5 </requirements> |
2
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
6 <stdio> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
7 <regex match="Usage: <library 1 tag file name> <library 2 tag file name> <chromosome length file name> <config file name> <project name>" |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
8 source="both" |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
9 level="fatal" |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
10 description="CLI error" /> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
11 <regex match="tag file error" source="both" level="fatal" description="tag file error" /> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
12 </stdio> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
13 <command detect_errors="aggressive"><![CDATA[ |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
14 echo $in_test_mode && CCAT '$input_tag_file' |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
15 '$input_control_file' |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
16 #if str($in_test_mode) == "no": |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
17 '$chromInfo' |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
18 #else: |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
19 '$__tool_directory__/test-data/genome_length_mm8_chr19.txt' |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
20 #end if |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
21 #if str($options_type['options_type_selector']) == 'advanced': |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
22 '$input_advanced_config_file' |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
23 #else: |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
24 '${options_type.input_config_file.fields.path}' |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
25 #end if |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
26 CCAT |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
27 | tee '$output_log_file' |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
28 ]]></command> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
29 <configfiles> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
30 <configfile name="input_advanced_config_file"><![CDATA[ |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
31 #if str($options_type['options_type_selector']) == 'advanced': |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
32 fragmentSize ${options_type['fragment_size']} |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
33 slidingWinSize ${options_type['sliding_window_size']} |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
34 movingStep ${options_type['moving_step']} |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
35 isStrandSensitiveMode ${options_type['is_strand_sensitive_mode']} |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
36 minCount ${options_type['min_count']} |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
37 outputNum ${options_type['output_num']} |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
38 randomSeed ${options_type['random_seed']} |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
39 minScore ${options_type['min_score']} |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
40 bootstrapPass ${options_type['bootstrap_pass']} |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
41 #end if |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
42 ]]></configfile> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
43 </configfiles> |
0 | 44 <inputs> |
2
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
45 <param name="input_tag_file" type="data" format="bed" label="ChIP-Seq Tag File"/> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
46 <param name="input_control_file" type="data" format="bed" label="ChIP-Seq Control File"/> |
0 | 47 <conditional name="options_type"> |
48 <param name="options_type_selector" type="select" label="Advanced Options"> | |
49 <option value="basic" selected="True">Hide Advanced Options</option> | |
50 <option value="advanced">Show Advanced Options</option> | |
51 </param> | |
52 <when value="basic"> | |
53 <param name="input_config_file" type="select" label="Select a pre-defined configuration file"> | |
54 <options from_data_table="ccat_configurations"> | |
55 <validator type="no_options" message="No configurations are available"/> | |
56 </options> | |
57 </param> | |
58 </when> | |
59 <when value="advanced"> | |
60 <param name="fragment_size" type="integer" label="Length of DNA fragment" value="200"/> | |
61 <param name="sliding_window_size" type="integer" label="Sliding window size" value="500" help="transcription factor binding default: 300; histone modifications default: 500"/> | |
62 <param name="moving_step" type="integer" label="Step of sliding window" value="50" help="transcription factor binding default: 10; histone modifications default: 50"/> | |
63 <param name="is_strand_sensitive_mode" type="select" label="isStrandSensitiveMode" > | |
64 <option value="1">Transition from sense strand to anti-sense strand</option> | |
65 <option value="0" selected="True">Local maximum of read-enrichment profile</option> | |
66 </param> | |
67 <param name="min_count" type="integer" label="Minimum number of read counts at the peak" value="4"/> | |
68 <param name="output_num" type="integer" label="Number of peaks reported in top peak file" value="100000"/> | |
69 <param name="random_seed" type="integer" label="Random Seed" value="123456"/> | |
70 <param name="min_score" type="float" label="Minimum score of normalized difference" value="3.0"/> | |
71 <param name="bootstrap_pass" type="integer" label="Number of passes in the bootstrapping process" value="50"/> | |
72 </when> | |
73 </conditional> | |
2
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
74 <param name="in_test_mode" type="hidden" value="no" /> |
0 | 75 </inputs> |
76 <outputs> | |
2
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
77 <data name="output_peak_file" format="interval" label="${tool.name} on ${on_string} (peaks)" from_work_dir="CCAT.significant.peak"> |
0 | 78 <actions> |
79 <action type="metadata" name="chromCol" default="1"/> | |
80 <action type="metadata" name="startCol" default="3"/> | |
81 <action type="metadata" name="endCol" default="4"/> | |
82 </actions> | |
83 </data> | |
2
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
84 <data name="output_region_file" format="interval" label="${tool.name} on ${on_string} (regions)" from_work_dir="CCAT.significant.region"> |
0 | 85 <actions> |
86 <action type="metadata" name="chromCol" default="1"/> | |
87 <action type="metadata" name="startCol" default="3"/> | |
88 <action type="metadata" name="endCol" default="4"/> | |
89 </actions> | |
90 </data> | |
2
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
91 <data name="output_top_file" format="interval" label="${tool.name} on ${on_string} (top peaks)" from_work_dir="CCAT.top100000.peak"> |
0 | 92 <actions> |
93 <action type="metadata" name="chromCol" default="1"/> | |
94 <action type="metadata" name="startCol" default="3"/> | |
95 <action type="metadata" name="endCol" default="4"/> | |
96 </actions> | |
97 </data> | |
98 <data name="output_log_file" format="txt" label="${tool.name} on ${on_string} (log)"/> | |
99 </outputs> | |
100 <tests> | |
101 <test> | |
2
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
102 <param name="input_tag_file" value="ES_CTCF_chr19.bed" ftype="bed" dbkey="hg18" /> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
103 <param name="input_control_file" value="ES_GFP_chr19.bed" ftype="bed" dbkey="hg18" /> |
0 | 104 <param name="options_type_selector" value="advanced" /> |
105 <param name="fragment_size" value="200" /> | |
2
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
106 <param name="sliding_window_size" value="300" /> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
107 <param name="moving_step" value="10" /> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
108 <param name="is_strand_sensitive_mode" value="1" /> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
109 <param name="min_count" value="3" /> |
0 | 110 <param name="output_num" value="100000" /> |
111 <param name="random_seed" value="123456" /> | |
112 <param name="min_score" value="5.0" /> | |
113 <param name="bootstrap_pass" value="50" /> | |
2
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
114 <param name="in_test_mode" value="yes" /> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
115 <output name="output_peak_file" file="ES_CTCF_chr19.significant.peak"/> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
116 <output name="output_region_file" file="ES_CTCF_chr19.significant.region" /> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
117 <output name="output_top_file" file="ES_CTCF_chr19.top100000.peak" /> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
118 <output name="output_log_file" file="ES_CTCF_chr19.log" /> |
0 | 119 </test> |
120 <test> | |
2
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
121 <param name="input_tag_file" value="ES_CTCF_chr19.bed" ftype="bed" dbkey="hg18" /> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
122 <param name="input_control_file" value="ES_GFP_chr19.bed" ftype="bed" dbkey="hg18" /> |
0 | 123 <param name="options_type_selector" value="basic" /> |
2
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
124 <param name="input_config_file" value="config_TF" /> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
125 <param name="in_test_mode" value="yes" /> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
126 <output name="output_peak_file" file="ES_CTCF_chr19.significant.peak" /> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
127 <output name="output_region_file" file="ES_CTCF_chr19.significant.region" /> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
128 <output name="output_top_file" file="ES_CTCF_chr19.top100000.peak" /> |
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
129 <output name="output_log_file" file="ES_CTCF_chr19.log" /> |
0 | 130 </test> |
131 </tests> | |
132 <help> | |
133 **What it does** | |
134 | |
135 This tool allows ChIP-seq peak/region calling using CCAT. | |
136 | |
2
1a6979fbd544
"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/ccat commit 1370bb21ee5712a13a26d289065406c5d489b8cc"
devteam
parents:
1
diff
changeset
|
137 View the original CCAT documentation: https://www.comp.nus.edu.sg/~bioinfo/CCAT3.0/ |
0 | 138 </help> |
1
201d8e7dfc43
planemo upload commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents:
0
diff
changeset
|
139 <citations> |
201d8e7dfc43
planemo upload commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents:
0
diff
changeset
|
140 <citation type="doi">10.1093/bioinformatics/btq128</citation> |
201d8e7dfc43
planemo upload commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents:
0
diff
changeset
|
141 </citations> |
0 | 142 </tool> |