Mercurial > repos > iuc > samtools_coverage
annotate samtools_coverage.xml @ 3:c4ff13d2aab3 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
author | iuc |
---|---|
date | Thu, 29 Jun 2023 10:40:07 +0000 |
parents | 8a477224dfee |
children |
rev | line source |
---|---|
3
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
1 <tool id="samtools_coverage" name="Samtools coverage" version="@TOOL_VERSION@+galaxy2" 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": |
3
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
11 #set $input = $condition_input.input |
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
|
12 @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
|
13 #else: |
3
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
14 #set $input_bams = $condition_input.input_bams |
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
|
15 @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
|
16 #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
|
17 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
|
18 |
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 #if $condition_input.input_pooling == "Yes": |
3
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
20 ${ ' '.join( [ "'%s'" % $i for $i, $x in enumerate($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
|
21 #else |
3
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
22 infile |
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
|
23 #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
|
24 |
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 -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
|
26 -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
|
27 -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
|
28 |
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
|
29 #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
|
30 @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
|
31 --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
|
32 |
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
|
33 #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
|
34 @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
|
35 --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
|
36 |
3
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
37 #if $additional_options.region != "": |
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
38 -r '$additional_options.region' |
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
39 #end if |
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
40 |
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
|
41 #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
|
42 -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
|
43 -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
|
44 #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
|
45 |
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 -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
|
47 ]]></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
|
48 <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
|
49 <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
|
50 <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
|
51 <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
|
52 <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
|
53 </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
|
54 <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
|
55 <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
|
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 <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
|
58 <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
|
59 </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
|
60 </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
|
61 |
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 <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
|
63 <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
|
64 <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
|
65 <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
|
66 |
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 <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
|
68 <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
|
69 </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
|
70 |
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 <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
|
72 <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
|
73 </param> |
3
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
74 <param name="region" argument="-r" type="text" value="" label="Show specified region" help="Show specified region. Format: chr:start-end." > |
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
75 <sanitizer invalid_char=""> |
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
76 <valid initial="string.ascii_letters,string.digits"> |
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
77 <add value=":" /> |
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
78 <add value="-" /> |
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
79 <add value="_" /> |
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
80 </valid> |
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
81 </sanitizer> |
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
82 </param> |
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
|
83 </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
|
84 |
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 <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
|
86 <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
|
87 <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
|
88 <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
|
89 </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
|
90 <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
|
91 <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
|
92 </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
|
93 <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
|
94 </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
|
95 </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
|
96 |
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 <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
|
98 <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
|
99 </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
|
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
|
101 <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
|
102 <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
|
103 <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
|
104 <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
|
105 </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
|
106 <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
|
107 <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
|
108 <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
|
109 <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
|
110 <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
|
111 </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
|
112 <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
|
113 <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
|
114 <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
|
115 <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
|
116 <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
|
117 <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
|
118 </test> |
3
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
119 <test><!-- test with a region (requires index) --> |
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
120 <param name="input" value="test_1.bam" ftype="bam" /> |
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
121 <param name="region" value="ref1" /> |
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
122 <output name="output" file="results_4.tabular" ftype="tabular" /> |
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
123 </test> |
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
124 <test><!-- test with pooled BAMs and a region --> |
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
125 <param name="input_pooling" value="Yes" /> |
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
126 <param name="input_bams" value="test_1.bam,test_2.bam" ftype="bam" /> |
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
127 <param name="region" value="ref2" /> |
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
128 <output name="output" file="results_5.tabular" ftype="tabular" /> |
c4ff13d2aab3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 69ce9eb437322f15750e532c6e9586e4e17fe424
iuc
parents:
2
diff
changeset
|
129 </test> |
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
|
130 </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
|
131 <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
|
132 **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
|
133 |
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
|
134 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
|
135 |
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
|
136 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
|
137 |
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
|
138 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
|
139 |
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
|
140 - 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
|
141 - 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
|
142 - 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
|
143 - 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
|
144 - 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
|
145 - 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
|
146 - 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
|
147 - 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
|
148 - 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
|
149 |
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
|
150 ]]></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
|
151 <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
|
152 </tool> |