annotate samtools_coverage.xml @ 2:8a477224dfee draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 3a5a4ad75547c6c27430d85e6ddf3c2ff1ece0ba
author iuc
date Wed, 31 May 2023 17:15:17 +0000
parents ae36fab06bc2
children c4ff13d2aab3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
8a477224dfee planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 3a5a4ad75547c6c27430d85e6ddf3c2ff1ece0ba
iuc
parents: 1
diff changeset
1 <tool id="samtools_coverage" name="Samtools coverage" version="@TOOL_VERSION@+galaxy1" profile="@PROFILE@">
0
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
2 <description>computes the depth at each position or region</description>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
3 <macros>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
5 </macros>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
7 <expand macro="stdio"/>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
8 <expand macro="version_command"/>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
9 <command><![CDATA[
2
8a477224dfee planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 3a5a4ad75547c6c27430d85e6ddf3c2ff1ece0ba
iuc
parents: 1
diff changeset
10 #if $condition_input.input_pooling == "No":
8a477224dfee planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 3a5a4ad75547c6c27430d85e6ddf3c2ff1ece0ba
iuc
parents: 1
diff changeset
11 @PREPARE_IDX@
8a477224dfee planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 3a5a4ad75547c6c27430d85e6ddf3c2ff1ece0ba
iuc
parents: 1
diff changeset
12 #else:
8a477224dfee planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 3a5a4ad75547c6c27430d85e6ddf3c2ff1ece0ba
iuc
parents: 1
diff changeset
13 @PREPARE_IDX_MULTIPLE@
8a477224dfee planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 3a5a4ad75547c6c27430d85e6ddf3c2ff1ece0ba
iuc
parents: 1
diff changeset
14 #end if
0
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
15 samtools coverage
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
16
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
17 #if $condition_input.input_pooling == "Yes":
2
8a477224dfee planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 3a5a4ad75547c6c27430d85e6ddf3c2ff1ece0ba
iuc
parents: 1
diff changeset
18 ${ ' '.join( [ "'%s'" % $x for $x in $condition_input.input_bams] ) }
0
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
19 #else
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
20 '$condition_input.input'
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
21 #end if
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
22
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
23 -l $additional_options.min_read_length
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
24 -q $additional_options.min_mq
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
25 -Q $additional_options.min_bq
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
26
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
27 #set $filter = $additional_options.required_flags
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
28 @FLAGS@
2
8a477224dfee planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 3a5a4ad75547c6c27430d85e6ddf3c2ff1ece0ba
iuc
parents: 1
diff changeset
29 --rf $flags
0
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
30
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
31 #set $filter = $additional_options.skipped_flags
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
32 @FLAGS@
2
8a477224dfee planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 3a5a4ad75547c6c27430d85e6ddf3c2ff1ece0ba
iuc
parents: 1
diff changeset
33 --ff $flags
0
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
34
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
35 #if $condition_histogram.histogram_select == "yes"
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
36 -m
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
37 -w $condition_histogram.n_bins
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
38 #if $condition_histogram.region != "":
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
39 -r '$condition_histogram.region'
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
40 #end if
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
41 #end if
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
42
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
43 -o '$output'
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
44 ]]></command>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
45 <inputs>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
46 <conditional name="condition_input">
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
47 <param name="input_pooling" type="select" label="Are you pooling bam files?" help="Calculate the coverage for multiple bam files" >
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
48 <option value="No" selected="True">No</option>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
49 <option value="Yes">Yes</option>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
50 </param>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
51 <when value="No" >
2
8a477224dfee planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 3a5a4ad75547c6c27430d85e6ddf3c2ff1ece0ba
iuc
parents: 1
diff changeset
52 <param name="input" type="data" format="bam" label="BAM file"/>
0
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
53 </when>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
54 <when value="Yes">
2
8a477224dfee planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 3a5a4ad75547c6c27430d85e6ddf3c2ff1ece0ba
iuc
parents: 1
diff changeset
55 <param name="input_bams" type="data" format="bam" multiple="true" label="BAM files to be pooled"/>
0
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
56 </when>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
57 </conditional>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
58
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
59 <section name="additional_options" title="Additional Options" expanded="true">
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
60 <param name="min_read_length" argument="-l" type="integer" min="0" value="0" label="Minimum read length" help="Ignore reads shorter than INT base pairs (Default = 0)" />
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
61 <param name="min_mq" argument="-q" type="integer" min="0" value="0" label="Minimum mapping quality" help="Minimum mapping quality for an alignment to be used (Default = 0)" />
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
62 <param name="min_bq" argument="-Q" type="integer" min="0" value="0" label="Minimum base quality" help="Minimum base quality for a base to be considered (Default = 0)" />
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
63
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
64 <param name="required_flags" argument="--rf" type="select" multiple="True" label="Require that these flags are set">
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
65 <expand macro="flag_options" />
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
66 </param>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
67
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
68 <param name="skipped_flags" argument="--ff" type="select" multiple="True" label="Exclude reads with any of the following flags set">
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
69 <expand macro="flag_options" s4="true" s256="true" s512="true" s1024="true"/>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
70 </param>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
71 </section>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
72
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
73 <conditional name="condition_histogram">
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
74 <param name="histogram_select" argument="-m" type="select" label="Histogram" help="Show histogram instead of tabular output">
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
75 <option value="no" selected="true">No</option>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
76 <option value="yes">Yes</option>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
77 </param>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
78 <when value="yes">
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
79 <param name="n_bins" argument="-w" type="integer" min="1" value="100" label="Number of bins in histogram" help="Number of bins in histogram" />
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
80 <param name="region" argument="-r" type="text" value="" label="Show specified region" help="Show specified region. Format: chr:start-end." />
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
81 </when>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
82 <when value="no" />
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
83 </conditional>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
84 </inputs>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
85
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
86 <outputs>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
87 <data name="output" format="tabular" from_work_dir="outfile" label="${tool.name} on ${on_string}" />
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
88 </outputs>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
89
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
90 <tests>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
91 <test>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
92 <param name="input" value="test_1.bam" ftype="bam" />
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
93 <output name="output" file="results_1.tabular" ftype="tabular" />
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
94 </test>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
95 <test>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
96 <param name="input" value="test_1.bam" ftype="bam" />
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
97 <param name="histogram_select" value="yes" />
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
98 <param name="n_bins" value="50" />
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
99 <output name="output" file="results_2.txt" ftype="tabular" />
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
100 </test>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
101 <test>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
102 <param name="input_pooling" value="Yes" />
2
8a477224dfee planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 3a5a4ad75547c6c27430d85e6ddf3c2ff1ece0ba
iuc
parents: 1
diff changeset
103 <param name="input_bams" value="test_1.bam,test_2.bam" ftype="bam" />
0
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
104 <param name="histogram_select" value="yes" />
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
105 <param name="n_bins" value="100" />
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
106 <output name="output" file="results_3.txt" ftype="tabular" />
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
107 </test>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
108 </tests>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
109 <help><![CDATA[
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
110 **What it does**
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
111
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
112 This tool runs the ``samtools coverage`` command.
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
113
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
114 Computes the depth at each position or region and draws an ASCII-art histogram or tabulated text. If you select to pool the bam files, then it calculates coverage for the combined files.
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
115
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
116 The tabulated form uses the following headings:
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
117
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
118 - rname Reference name / chromosome
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
119 - startpos Start position
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
120 - endpos End position (or sequence length)
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
121 - numreads Number reads aligned to the region (after filtering)
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
122 - covbases Number of covered bases with depth >= 1
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
123 - coverage Proportion of covered bases [0..1]
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
124 - meandepth Mean depth of coverage
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
125 - meanbaseq Mean baseQ in covered region
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
126 - meanmapq Mean mapQ of selected reads
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
127
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
128 ]]></help>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
129 <expand macro="citations"/>
90f2dd176d80 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 4d0362c336f67d05086298ab4980c1d922d71c6e"
iuc
parents:
diff changeset
130 </tool>