comparison bamCoverage.xml @ 6:c5847db0cb41 draft

Uploaded
author bgruening
date Wed, 14 Aug 2013 07:18:18 -0400
parents 1f312af2f8db
children 73761f33f198
comparison
equal deleted inserted replaced
5:1f312af2f8db 6:c5847db0cb41
1 <tool id="bamCoverage" name="bamCoverage" version="1.0"> 1 <tool id="deeptools_bamCoverage" name="bamCoverage" version="1.0">
2 <description>Given a BAM file, generates a coverage bigwig file. Multiple options available to count reads and normalize coverage.</description> 2 <description> generates a coverage bigWig file from a given BAM file. Multiple options are available to count reads and normalize coverage.</description>
3 <requirements> 3 <requirements>
4 <requirement type="package" version="1.5.1_59e067cce039cb93add04823c9f51cab202f8c2b">deepTools</requirement> 4 <requirement type="package" version="1.5.1_df852fa1ef13251a17274ee18fbf919fbc515079">deepTools</requirement>
5 <requirement type="package" version="0.1">ucsc_tools</requirement> 5 <requirement type="package" version="0.1">ucsc_tools</requirement>
6 <requirement type="package" version="1.7.1">numpy</requirement> 6 <requirement type="package" version="1.7.1">numpy</requirement>
7 <requirement type="package" >deepTools</requirement>
7 </requirements> 8 </requirements>
8 <command> 9 <command>
9 bamCoverage 10 bamCoverage
10 11
11 ##ToDo 12 ##ToDo
24 #elif $scaling.type=='1x': 25 #elif $scaling.type=='1x':
25 --normalizeTo1x $scaling.normalizeTo1x 26 --normalizeTo1x $scaling.normalizeTo1x
26 #elif $scaling.type=='own': 27 #elif $scaling.type=='own':
27 --scaleFactor $scaling.scaleFactor 28 --scaleFactor $scaling.scaleFactor
28 #end if 29 #end if
29 30
31 ##if str($ignoreForNormalization).strip() != '':
32 ## --ignoreForNormalization $ignoreForNormalization
33 ##end if
34
30 #if $advancedOpt.showAdvancedOpt == "yes": 35 #if $advancedOpt.showAdvancedOpt == "yes":
31 #if $advancedOpt.smoothLength: 36 #if $advancedOpt.smoothLength:
32 --smoothLength '$advancedOpt.smoothLength' 37 --smoothLength '$advancedOpt.smoothLength'
33 #end if 38 #end if
34 39
45 #end if 50 #end if
46 </command> 51 </command>
47 52
48 <inputs> 53 <inputs>
49 <param name="bamInput" format="bam" type="data" label="Input BAM file" 54 <param name="bamInput" format="bam" type="data" label="Input BAM file"
50 help="The BAM file must be sorted and indexed."/> 55 help="The BAM file must be sorted."/>
51 56
52 <param name="fragmentLength" type="integer" value="300" min="1" 57 <param name="fragmentLength" type="integer" value="300" min="1"
53 label="Length of the average fragment size" 58 label="Length of the average fragment size"
54 help ="Reads will be extended to match this length unless they are paired-end, in which case they will be extended to match the fragment length. If this value is set to the read length or smaller, the read will not be extended. *Warning* the fragment length affects the normalization to 1x (see &quot;normalize coverage to 1x&quot;). The formula to normalize using the sequencing depth is genomeSize/(number of mapped reads * fragment length). *NOTE*: If the BAM files contain mated and unmated paired-end reads, unmated reads will be extended to match the fragment length."/> 59 help ="Reads will be extended to match this length unless they are paired-end, in which case they will be extended to match the fragment length. If this value is set to the read length or smaller, the read will not be extended. *Warning* the fragment length affects the normalization to 1x (see &quot;normalize coverage to 1x&quot;). The formula to normalize using the sequencing depth is genomeSize/(number of mapped reads * fragment length). *NOTE*: If the BAM files contain mated and unmated paired-end reads, unmated reads will be extended to match the fragment length."/>
55 60
74 <when value="own"> 79 <when value="own">
75 <param name="scaleFactor" type="float" value="1" size="3" 80 <param name="scaleFactor" type="float" value="1" size="3"
76 label="Scale factor to multiply all values" /> 81 label="Scale factor to multiply all values" />
77 </when> 82 </when>
78 </conditional> 83 </conditional>
84
85 <!--
86 Not yet supported.
87 <param name="ignoreForNormalization" type="text" value="" size="50"
88 label="regions that should be excluded for calculating the scaling factor"
89 help="Sometimes it makes sense to exclude certain regions when calculating the scaling factor. For example, if you know some regions that you suspect to be present more often in your sample's genome than in the reference genome that will therefore accumulate reads (CNV). Another typical example is the single X chromosome in male samples that should be scaled separately from the diploid autosomes. For example chrX,chrY,chr3. or chr10:12220-128932" />
90 -->
79 91
80 <param name="outFileFormat" type="select" label="Coverage file format"> 92 <param name="outFileFormat" type="select" label="Coverage file format">
81 <option value="bigwig" selected="true">bigwig</option> 93 <option value="bigwig" selected="true">bigwig</option>
82 <option value="bedgraph">bedgraph</option> 94 <option value="bedgraph">bedgraph</option>
83 </param> 95 </param>
105 label="Ignore duplicates" 117 label="Ignore duplicates"
106 help="If set, reads that have the same orientation and start position will be considered only once. If reads are paired, the mate position also has to coincide to ignore a read." /> 118 help="If set, reads that have the same orientation and start position will be considered only once. If reads are paired, the mate position also has to coincide to ignore a read." />
107 119
108 <param name="minMappingQuality" type="integer" optional="true" value="1" min="1" 120 <param name="minMappingQuality" type="integer" optional="true" value="1" min="1"
109 label="Minimum mapping quality" 121 label="Minimum mapping quality"
110 help= "If set, only reads that have a mapping quality score higher than the given value are considered"/> 122 help= "If set, only reads that have a mapping quality score higher than the given value are considered. *Note* Bowtie's Mapping quality is related to uniqueness: the higher the score, the more unique is a read. A mapping quality defined by Bowtie of 10 or less indicates that there is at least a 1 in 10 chance that the read truly originated elsewhere."/>
111 </when> 123 </when>
112 </conditional> 124 </conditional>
113 </inputs> 125 </inputs>
114 <outputs> 126 <outputs>
115 <data format="bigwig" name="outFileName"> 127 <data format="bigwig" name="outFileName">
127 139
128 ----- 140 -----
129 141
130 .. class:: infomark 142 .. class:: infomark
131 143
132 If you would like to give us feedback or you run into any trouble, please sent an email to deeptools@googlegroups.com 144 If you would like to give us feedback or you run into any trouble, please send an email to deeptools@googlegroups.com
133 145
134 This tool is developed by the `Bioinformatics and Deep-Sequencing Unit`_ at the `Max Planck Institute for Immunobiology and Epigenetics`_. 146 This tool is developed by the `Bioinformatics and Deep-Sequencing Unit`_ at the `Max Planck Institute for Immunobiology and Epigenetics`_.
135 147
136 148
137 .. _Bioinformatics and Deep-Sequencing Unit: http://www3.ie-freiburg.mpg.de/facilities/research-facilities/bioinformatics-and-deep-sequencing-unit/ 149 .. _Bioinformatics and Deep-Sequencing Unit: http://www3.ie-freiburg.mpg.de/facilities/research-facilities/bioinformatics-and-deep-sequencing-unit/
138 .. _Max Planck Institute for Immunobiology and Epigenetics: http://www3.ie-freiburg.mpg.de 150 .. _Max Planck Institute for Immunobiology and Epigenetics: http://www3.ie-freiburg.mpg.de
139 .. _Fidel Ramirez: ramirez@ie-freiburg.mpg.de
140 151
141 </help> 152 </help>
142 </tool> 153 </tool>