annotate tools/regVariation/categorize_elements_satisfying_criteria.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="categorize_elements_satisfying_criteria" name="Categorize Elements" version="1.0.0">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>satisfying criteria</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 <command interpreter="perl">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 categorize_elements_satisfying_criteria.pl $inputFile1 $inputFile2 $outputFile1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 </command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 <param format="tabular" name="inputFile1" type="data" label="Select file containing categories and their elements"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 <param format="tabular" name="inputFile2" type="data" label="Select file containing criteria and elements data"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 <data format="tabular" name="outputFile1"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 <param name="inputFile1" value="categories.tabular" ftype="tabular" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 <param name="inputFile2" value="criteria_elements_data.tabular" ftype="tabular" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 <output name="outputFile1" file="categorized_elements.tabular" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 .. class:: infomark
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 **What it does**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 The program takes as input a set of categories, such that each category contains many elements. It also takes a table relating elements with criteria, such that each element is assigned a number representing the number of times the element satisfies a certain criterion.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 - The first input is a TABULAR format file, such that the left column represents the names of categories and, all other columns represent the names of elements in each category.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 - The second input is a TABULAR format file relating elements with criteria, such that the first line represents the names of criteria and the left column represents the names of elements.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 - The output is a TABULAR format file relating catergories with criteria, such that each categoy is assigned a number representing the total number of times its elements satisfies a certain criterion.. Each category is assigned as many numbers as criteria.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 **Example**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 Let the first input file be a group of motif categories as follows::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 Deletion_Hotspots deletionHoptspot1 deletionHoptspot2 deletionHoptspot3
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 Dna_Pol_Pause_Frameshift dnaPolPauseFrameshift1 dnaPolPauseFrameshift2 dnaPolPauseFrameshift3 dnaPolPauseFrameshift4
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45 Indel_Hotspots indelHotspot1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46 Insertion_Hotspots insertionHotspot1 insertionHotspot2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47 Topoisomerase_Cleavage_Sites topoisomeraseCleavageSite1 topoisomeraseCleavageSite2 topoisomeraseCleavageSite3
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50 And let the second input file represent the number of times each motif occurs in a certain window size of indel flanking regions, as follows::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52 10bp 20bp 40bp
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53 deletionHoptspot1 1 1 2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54 deletionHoptspot2 1 1 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55 deletionHoptspot3 0 0 0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
56 dnaPolPauseFrameshift1 1 1 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
57 dnaPolPauseFrameshift2 0 2 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
58 dnaPolPauseFrameshift3 0 0 0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
59 dnaPolPauseFrameshift4 0 1 2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
60 indelHotspot1 0 0 0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
61 insertionHotspot1 0 0 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
62 insertionHotspot2 1 1 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
63 topoisomeraseCleavageSite1 1 1 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
64 topoisomeraseCleavageSite2 1 2 1
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
65 topoisomeraseCleavageSite3 0 0 2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
66
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
67 Running the program will give the total number of times the motifs of each category occur in every window size of indel flanking regions::
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
68
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
69 10bp 20bp 40bp
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
70 Deletion_Hotspots 2 2 3
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
71 Dna_Pol_Pause_Frameshift 1 4 4
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
72 Indel_Hotspots 0 0 0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
73 Insertion_Hotspots 1 1 2
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
74 Topoisomerase_Cleavage_Sites 2 3 4
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
75
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
76 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
77
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
78 </tool>