Mercurial > repos > iuc > samtools_coverage
annotate samtools_coverage.xml @ 2:8883a04ba181 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:08 +0000 |
| parents | c25ce26fb975 |
| children | f052a4f6e358 |
| rev | line source |
|---|---|
|
2
8883a04ba181
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
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
2 <description>computes the depth at each position or region</description> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
3 <macros> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
5 </macros> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
7 <expand macro="stdio"/> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
8 <expand macro="version_command"/> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
9 <command><![CDATA[ |
|
2
8883a04ba181
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": |
|
8883a04ba181
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@ |
|
8883a04ba181
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: |
|
8883a04ba181
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@ |
|
8883a04ba181
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
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
15 samtools coverage |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
16 |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
17 #if $condition_input.input_pooling == "Yes": |
|
2
8883a04ba181
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
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
19 #else |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
20 '$condition_input.input' |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
21 #end if |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
22 |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
23 -l $additional_options.min_read_length |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
24 -q $additional_options.min_mq |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
25 -Q $additional_options.min_bq |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
26 |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
27 #set $filter = $additional_options.required_flags |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
28 @FLAGS@ |
|
2
8883a04ba181
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
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
30 |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
31 #set $filter = $additional_options.skipped_flags |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
32 @FLAGS@ |
|
2
8883a04ba181
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
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
34 |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
35 #if $condition_histogram.histogram_select == "yes" |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
36 -m |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
37 -w $condition_histogram.n_bins |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
38 #if $condition_histogram.region != "": |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
39 -r '$condition_histogram.region' |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
40 #end if |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
41 #end if |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
42 |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
43 -o '$output' |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
44 ]]></command> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
45 <inputs> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
46 <conditional name="condition_input"> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
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" > |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
48 <option value="No" selected="True">No</option> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
49 <option value="Yes">Yes</option> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
50 </param> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
51 <when value="No" > |
|
2
8883a04ba181
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
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
53 </when> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
54 <when value="Yes"> |
|
2
8883a04ba181
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
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
56 </when> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
57 </conditional> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
58 |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
59 <section name="additional_options" title="Additional Options" expanded="true"> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
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)" /> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
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)" /> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
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)" /> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
63 |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
64 <param name="required_flags" argument="--rf" type="select" multiple="True" label="Require that these flags are set"> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
65 <expand macro="flag_options" /> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
66 </param> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
67 |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
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"> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
69 <expand macro="flag_options" s4="true" s256="true" s512="true" s1024="true"/> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
70 </param> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
71 </section> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
72 |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
73 <conditional name="condition_histogram"> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
74 <param name="histogram_select" argument="-m" type="select" label="Histogram" help="Show histogram instead of tabular output"> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
75 <option value="no" selected="true">No</option> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
76 <option value="yes">Yes</option> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
77 </param> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
78 <when value="yes"> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
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" /> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
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." /> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
81 </when> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
82 <when value="no" /> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
83 </conditional> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
84 </inputs> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
85 |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
86 <outputs> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
87 <data name="output" format="tabular" from_work_dir="outfile" label="${tool.name} on ${on_string}" /> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
88 </outputs> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
89 |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
90 <tests> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
91 <test> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
92 <param name="input" value="test_1.bam" ftype="bam" /> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
93 <output name="output" file="results_1.tabular" ftype="tabular" /> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
94 </test> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
95 <test> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
96 <param name="input" value="test_1.bam" ftype="bam" /> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
97 <param name="histogram_select" value="yes" /> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
98 <param name="n_bins" value="50" /> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
99 <output name="output" file="results_2.txt" ftype="tabular" /> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
100 </test> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
101 <test> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
102 <param name="input_pooling" value="Yes" /> |
|
2
8883a04ba181
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
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
104 <param name="histogram_select" value="yes" /> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
105 <param name="n_bins" value="100" /> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
106 <output name="output" file="results_3.txt" ftype="tabular" /> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
107 </test> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
108 </tests> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
109 <help><![CDATA[ |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
110 **What it does** |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
111 |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
112 This tool runs the ``samtools coverage`` command. |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
113 |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
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. |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
115 |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
116 The tabulated form uses the following headings: |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
117 |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
118 - rname Reference name / chromosome |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
119 - startpos Start position |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
120 - endpos End position (or sequence length) |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
121 - numreads Number reads aligned to the region (after filtering) |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
122 - covbases Number of covered bases with depth >= 1 |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
123 - coverage Proportion of covered bases [0..1] |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
124 - meandepth Mean depth of coverage |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
125 - meanbaseq Mean baseQ in covered region |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
126 - meanmapq Mean mapQ of selected reads |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
127 |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
128 ]]></help> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
129 <expand macro="citations"/> |
|
d5ae3ea25b8f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
diff
changeset
|
130 </tool> |
