annotate samtools_depth.xml @ 0:11649ca077f8 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
author iuc
date Sun, 14 Oct 2018 19:14:37 -0400
parents
children b0cebea6e9df
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
1 <tool id="samtools_depth" name="Samtools depth" version="1.8">
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
2 <description>compute the depth at each position or region</description>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
3 <macros>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
4 <import>macros.xml</import>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
5 </macros>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
7 <expand macro="stdio"/>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
8 <expand macro="version_command"/>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
9 <command><![CDATA[
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
10 ## create symlinks to bams and index files (0,..., n-1 + 0.[bai|crai],...,n-1.[bai|crai] )
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
11 @PREPARE_IDX_MULTIPLE@
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
12
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
13 samtools depth
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
14 $all
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
15 #if $cond_region.select_region == 'bed':
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
16 -b '$cond_region.input_bed'
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
17 #else if $cond_region.select_region == 'text':
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
18 -r $cond_region.region
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
19 #end if
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
20 #if str($minlength) != '':
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
21 -l $minlength
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
22 #end if
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
23 #if str($maxdepth) != '':
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
24 -m $maxdepth
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
25 #end if
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
26 #if str($basequality) != '':
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
27 -q $basequality
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
28 #end if
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
29 #if str($mapquality) != '':
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
30 -Q $mapquality
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
31 #end if
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
32 #for $i in range(len( $input_bams )):
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
33 ${i}
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
34 #end for
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
35 > '${output}'
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
36 ]]></command>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
37 <inputs>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
38 <param name="input_bams" type="data" format="bam" multiple="true" label="BAM file(s)" />
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
39 <conditional name="cond_region">
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
40 <param name="select_region" type="select" label="Filter by regions">
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
41 <option value="no" selected="True">No</option>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
42 <option value="text">Manualy specify a region</option>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
43 <option value="bed">Regions from BED file</option>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
44 </param>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
45 <when value="no"/>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
46 <when value="text">
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
47 <param name="region" type="text" optional="false" argument="-r" label="Only report depth in a specified region" help="Format is CHROMOSOME:FROM-TO"/>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
48 </when>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
49 <when value="bed">
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
50 <param name="input_bed" type="data" format="bed" argument="-b" label="Genomic intervals (in BED format)" help="Compute depth at list of positions or regions in specified BED FILE." />
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
51 </when>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
52 </conditional>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
53
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
54 <param name="all" type="select" argument="-a/-aa" label="Output all positions" help="Note that if the all option (-a) is used in conjunction with a BED file it may sometimes operate as if -aa was specified if the reference sequence has coverage outside of the region specified in the BED file.">
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
55 <option value="" selected="True">Default</option>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
56 <option value="-a">Output all positions (including those with zero depth) (-a)</option>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
57 <option value="-aa">Output absolutely all positions, including unused reference sequences. (-aa)</option>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
58 </param>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
59 <param name="minlength" type="integer" argument="-l" min="0" optional="true" label="Ignore reads shorter than" />
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
60 <param name="maxdepth" type="integer" argument="-m" min="0" optional="true" label="Limits the maximum number of considered alignments starting at any sequence position to INT. Note that, the reported depths values might be larger than INT. If 0, depth is set to the maximum integer value, effectively removing any depth limit. (default = 8000)" />
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
61
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
62 <param name="basequality" type="integer" argument="-q" min="0" optional="true" label="Only count reads with base quality greater than" />
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
63 <param name="mapquality" type="integer" argument="-Q" min="0" optional="true" label="Only count reads with mapping quality greater than" />
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
64 </inputs>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
65 <outputs>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
66 <data name="output" format="tabular" label="${tool.name} on ${on_string}" />
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
67 </outputs>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
68 <tests>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
69 <test>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
70 <conditional name="cond_region">
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
71 <param name="select_region" value="bed"/>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
72 <param name="input_bed" value="eboVir3.1.bed" ftype="bed" />
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
73 </conditional>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
74 <param name="input_bams" value="eboVir3.bam" ftype="bam" />
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
75 <output name="output" file="samtools_depth_out1.tab" />
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
76 </test>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
77 <test>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
78 <conditional name="cond_region">
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
79 <param name="select_region" value="text"/>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
80 <param name="region" value="eboVir3:500-1500" />
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
81 </conditional>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
82 <param name="input_bams" value="eboVir3.bam" ftype="bam" />
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
83 <output name="output" file="samtools_depth_out2.tab" />
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
84 </test>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
85 <test>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
86 <param name="input_bams" value="eboVir3.bam,eboVir3.2.bam" ftype="bam" />
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
87 <param name="all" value="-a"/>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
88 <output name="output" file="samtools_depth_out3.tab" />
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
89 </test>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
90 <test>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
91 <param name="input_bams" value="eboVir3.bam,eboVir3.2.bam" ftype="bam" />
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
92 <param name="minlength" value="10" />
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
93 <!-- Odd thing: I did not expect values > 4 in the output, but there are ... ?
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
94 see https://github.com/samtools/samtools/issues/889 -->
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
95 <param name="maxdepth" value="4" />
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
96 <param name="basequality" value="11" />
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
97 <param name="mapquality" value="12" />
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
98 <output name="output" file="samtools_depth_out4.tab" />
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
99 </test>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
100 </tests>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
101 <help>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
102 **What it does**
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
103
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
104 Computes the depth at each position or region using the ``samtools depth`` command.
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
105
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
106 The output is a tabular file, with one line for each base of each reference
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
107 with any coverage (bases with no coverage may not appear).
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
108
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
109 The first column is the reference name, the second column is the reference
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
110 position, and then there is one column for each SAM/BAM file giving the
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
111 coverage depth at that position.
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
112 </help>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
113 <expand macro="citations"/>
11649ca077f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_depth commit b75040a9832972a60a964bc5a35da029d2bcf86c
iuc
parents:
diff changeset
114 </tool>