Mercurial > repos > bgruening > deeptools
comparison bigwigCompare.xml @ 10:a68a771625d2 draft
Uploaded
author | bgruening |
---|---|
date | Tue, 29 Oct 2013 17:26:28 -0400 |
parents | 73761f33f198 |
children | 351cd1f8791b |
comparison
equal
deleted
inserted
replaced
9:73761f33f198 | 10:a68a771625d2 |
---|---|
1 <tool id="deeptools_bigwigCompare" name="bigwigCompare" version="1.0"> | 1 <tool id="deeptools_bigwigCompare" name="bigwigCompare" version="1.0"> |
2 <description>normalizes and compares two bigWig files to obtain the ratio, log2ratio or difference</description> | 2 <description>normalizes and compares two bigWig files to obtain the ratio, log2ratio or difference</description> |
3 <requirements> | 3 <expand macro="requirements"/> |
4 <requirement type="package" version="1.5.1_3e13687c89e951476776b15afb4bbbc3b906f761">deepTools</requirement> | 4 <macros> |
5 <requirement type="package" version="0.1">ucsc_tools</requirement> | 5 <import>deepTools_macros.xml</import> |
6 <requirement type="package" version="1.7.1">numpy</requirement> | 6 </macros> |
7 <requirement type="package" >deepTools</requirement> | 7 <command> |
8 </requirements> | 8 bigwigCompare |
9 <command> | |
10 bigwigCompare | |
11 | 9 |
12 ##ToDo | 10 @THREADS@ |
13 --numberOfProcessors 4 | |
14 | 11 |
15 --bigwig1 '$bigwigFile1' | 12 --bigwig1 '$bigwigFile1' |
16 --bigwig2 '$bigwigFile2' | 13 --bigwig2 '$bigwigFile2' |
17 | 14 |
18 --outFileName '$outFileName' | 15 --outFileName '$outFileName' |
19 --outFileFormat '$outFileFormat' | 16 --outFileFormat '$outFileFormat' |
20 | 17 |
21 --ratio $comparison_type | 18 --ratio $comparison_type |
22 | 19 |
23 #if $advancedOpt.showAdvancedOpt == "yes": | 20 #if $advancedOpt.showAdvancedOpt == "yes": |
24 #if str($advancedOpt.region.value) != '': | 21 #if str($advancedOpt.region.value) != '': |
25 --region '$advancedOpt.region' | 22 --region '$advancedOpt.region' |
26 #end if | 23 #end if |
27 | 24 |
28 --missingDataAsZero $advancedOpt.missingDataAsZero | 25 --missingDataAsZero $advancedOpt.missingDataAsZero |
29 --scaleFactors '$advancedOpt.scaleFactor1:$advancedOpt.scaleFactor2' | 26 --scaleFactors '$advancedOpt.scaleFactor1:$advancedOpt.scaleFactor2' |
30 --pseudocount '$advancedOpt.pseudocount' | 27 --pseudocount '$advancedOpt.pseudocount' |
31 --binSize $advancedOpt.binSize | 28 --binSize $advancedOpt.binSize |
32 | 29 |
33 #end if | 30 #end if |
31 </command> | |
32 <inputs> | |
33 <param name="bigwigFile1" format="bigwig" type="data" label="Treatment bigwig file" /> | |
34 <param name="bigwigFile2" format="bigwig" type="data" label="Input bigwig file" /> | |
34 | 35 |
35 </command> | 36 <param name="comparison_type" type="select" |
36 <inputs> | 37 label="How to compare the two files" |
37 <param name="bigwigFile1" format="bigwig" type="data" label="Treatment bigwig file" /> | 38 help="The reciprocal ratio returns the negative of the inverse of the ratio if the ratio is less than 0. The resulting values are interpreted as negative fold changes." > |
38 <param name="bigwigFile2" format="bigwig" type="data" label="Input bigwig file" /> | 39 <option value="log2" selected="true">log2 ratio</option> |
40 <option value="ratio">simple ratio</option> | |
41 <option value="subtract">difference (subtract input from treatment)</option> | |
42 <option value="add">sum</option> | |
43 <option value="reciprocal_ratio">reciprocal ratio</option> | |
44 </param> | |
39 | 45 |
40 <param name="comparison_type" type="select" | 46 <param name="outFileFormat" type="select" label="Coverage file format"> |
41 label="How to compare the two files" | 47 <option value="bigwig" selected="true">bigwig</option> |
42 help="The reciprocal ratio returns the negative of the inverse of the ratio if the ratio is less than 0. The resulting values are interpreted as negative fold changes." > | 48 <option value="bedgraph">bedgraph</option> |
43 <option value="log2" selected="true">log2 ratio</option> | 49 </param> |
44 <option value="ratio">simple ratio</option> | |
45 <option value="subtract">difference (subtract input from treatment)</option> | |
46 <option value="add">sum</option> | |
47 <option value="reciprocal_ratio">reciprocal ratio</option> | |
48 </param> | |
49 | 50 |
50 <param name="outFileFormat" type="select" label="Coverage file format"> | 51 <conditional name="advancedOpt"> |
51 <option value="bigwig" selected="true">bigwig</option> | 52 <param name="showAdvancedOpt" type="select" label="Show advanced options" > |
52 <option value="bedgraph">bedgraph</option> | 53 <option value="no" selected="true">no</option> |
53 </param> | 54 <option value="yes">yes</option> |
55 </param> | |
56 <when value="no" /> | |
57 <when value="yes"> | |
58 <param name="binSize" type="integer" value="50" min="1" | |
59 label="Bin size in bp" | |
60 help="Size of the bins in bp for the ouput of the bigwig/bedgraph file "/> | |
54 | 61 |
55 <conditional name="advancedOpt"> | 62 <param name="region" type="text" value="" |
56 <param name="showAdvancedOpt" type="select" label="Show advanced options" > | 63 label="Region of the genome to limit the operation to" |
57 <option value="no" selected="true">no</option> | 64 help="This is useful when testing parameters to reduce the computing time. The format is chr:start:end, for example "chr10" or "chr10:456700:891000"" /> |
58 <option value="yes">yes</option> | |
59 </param> | |
60 <when value="no" /> | |
61 <when value="yes"> | |
62 <param name="binSize" type="integer" value="50" min="1" | |
63 label="Bin size in bp" | |
64 help="Size of the bins in bp for the ouput of the bigwig/bedgraph file "/> | |
65 | 65 |
66 <param name="region" type="text" value="" | 66 <param name="missingDataAsZero" type="boolean" truevalue="yes" falsevalue="no" checked="True" |
67 label="Region of the genome to limit the operation to" | 67 label ="Treat missing data as zero" |
68 help="This is useful when testing parameters to reduce the computing time. The format is chr:start:end, for example "chr10" or "chr10:456700:891000"" /> | 68 help ="This parameter determines if missing data should be replaced with a zero. If set to "no", missing data will be ignored and will not be included in the output file at all. Missing data is defined as those regions for which no value exists in *any* of the bigwig files. The decision to include or exclude missing data depends on the interpretation of the data. Missing data in a bigwig file may mean that there is no information available for certain regions, for example a repetitive region that is not being considered. In the same file regions with low coverage may get zero read counts. If missing data is replaced by zero, this would convert the excluded repetitive regions into regions of low coverage." /> |
69 | 69 |
70 <param name="missingDataAsZero" type="boolean" truevalue="yes" falsevalue="no" checked="True" | 70 <param name="scaleFactor1" type="float" value="1" label="Scale factor for treatment"/> |
71 label ="Treat missing data as zero" | 71 <param name="scaleFactor2" type="float" value="1" label="Scale factor for input"/> |
72 help ="This parameter determines if missing data should be replaced with a zero. If set to "no", missing data will be ignored and will not be included in the output file at all. Missing data is defined as those regions for which no value exists in *any* of the bigwig files. The decision to include or exclude missing data depends on the interpretation of the data. Missing data in a bigwig file may mean that there is no information available for certain regions, for example a repetitive region that is not being considered. In the same file regions with low coverage may get zero read counts. If missing data is replaced by zero, this would convert the excluded repetitive regions into regions of low coverage." /> | 72 <param name="pseudocount" type="float" value="1" label="Pseudocount" help="Small number to avoid dividing by zero."/> |
73 | 73 </when> |
74 <param name="scaleFactor1" type="float" value="1" label="Scale factor for treatment"/> | 74 </conditional> |
75 <param name="scaleFactor2" type="float" value="1" label="Scale factor for input"/> | 75 </inputs> |
76 <param name="pseudocount" type="float" value="1" label="Pseudocount" help="Small number to avoid dividing by zero."/> | 76 <outputs> |
77 </when> | 77 <data format="bigwig" name="outFileName"> |
78 </conditional> | 78 <change_format> |
79 </inputs> | 79 <when input="outFileFormat" value="bigwig" format="bigwig" /> |
80 <outputs> | 80 <when input="outFileFormat" value="bedgraph" format="bedgraph" /> |
81 <data format="bigwig" name="outFileName"> | 81 </change_format> |
82 <change_format> | 82 </data> |
83 <when input="outFileFormat" value="bigwig" format="bigwig" /> | 83 </outputs> |
84 <when input="outFileFormat" value="bedgraph" format="bedgraph" /> | |
85 </change_format> | |
86 </data> | |
87 </outputs> | |
88 | 84 |
89 <help> | 85 <help> |
90 | 86 |
91 **What it does** | 87 **What it does** |
92 | 88 |
98 | 94 |
99 ----- | 95 ----- |
100 | 96 |
101 .. class:: infomark | 97 .. class:: infomark |
102 | 98 |
103 If you would like to give us feedback or you run into any trouble, please send an email to deeptools@googlegroups.com | 99 @REFERENCES@ |
104 | 100 |
105 This tool is developed by the `Bioinformatics and Deep-Sequencing Unit`_ at the `Max Planck Institute for Immunobiology and Epigenetics`_. | 101 </help> |
106 | |
107 | |
108 .. _Bioinformatics and Deep-Sequencing Unit: http://www3.ie-freiburg.mpg.de/facilities/research-facilities/bioinformatics-and-deep-sequencing-unit/ | |
109 .. _Max Planck Institute for Immunobiology and Epigenetics: http://www3.ie-freiburg.mpg.de | |
110 | |
111 </help> | |
112 | |
113 </tool> | 102 </tool> |