annotate callvariants.xml @ 0:18b91d72794b draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
author iuc
date Tue, 05 Oct 2021 20:05:50 +0000
parents
children 8eace8923202
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
1 <tool id="bbtools_callvariants" name="BBTools: call variants" version="@WRAPPER_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
2 <description>in aligned Bam files</description>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
3 <macros>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
5 </macros>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
8 #import os
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
9
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
10 #if str($ref_source_cond.ref_source) == 'cached'
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
11 #set ref = str($ref_source_cond.reference.fields.path)
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
12 #else:
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
13 #set ref = $ref_source_cond.reference
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
14 #end if
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
15
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
16 ## callvariants uses the file extension to determine the input format.
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
17 #set input_name = str($os.path.basename($input.file_name)) + '.bam'
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
18 ln -s '${input}' '${input_name}' &&
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
19
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
20 callvariants.sh in='${input_name}' threads=\${GALAXY_SLOTS:-4} ref='${ref}' ploidy=$ploidy
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
21 #if $output_variant_score_hist:
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
22 shist='$output_scorehist'
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
23 #end if
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
24 #if $output_zygosity_hist:
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
25 zhist='$output_zygosityhist'
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
26 #end if
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
27 #if $output_quality_hist:
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
28 qhist='$output_qualityhist'
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
29 #end if
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
30 #if str($output_format) == 'vcf':
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
31 vcf='out.vcf' && mv 'out.vcf' '$output'
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
32 #elif str($output_format) == 'gff':
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
33 outgff='out.gff' && mv 'out.gff' '$output'
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
34 #else:
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
35 out='output.txt' && mv 'output.txt' '$output'
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
36 #end if
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
37 ]]></command>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
38 <inputs>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
39 <param name="input" type="data" format="bam" label="Bam file" help="Bam files produced by BBMap are recommended"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
40 <expand macro="reference_source_cond"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
41 <param name="ploidy" type="integer" value="1" min="1" label="Ploidy" help="See help section below"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
42 <param name="output_format" type="select" label="Select output format">
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
43 <option value="vcf" selected="true">vcf</option>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
44 <option value="gff">gff</option>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
45 <option value="txt">txt</option>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
46 </param>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
47 <param name="output_variant_score_hist" type="boolean" truevalue="yes" falsevalue="no" checked="false" label="Output variant score histogram?"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
48 <param name="output_zygosity_hist" type="boolean" truevalue="yes" falsevalue="no" checked="false" label="Output zygosity histogram?"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
49 <param name="output_quality_hist" type="boolean" truevalue="yes" falsevalue="no" checked="false" label="Output quality histogram?"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
50 </inputs>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
51 <outputs>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
52 <data name="output" format="vcf">
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
53 <change_format>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
54 <when input="output_format" value="gff" format="gff"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
55 <when input="output_format" value="txt" format="txt"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
56 </change_format>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
57 </data>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
58 <data name="output_scorehist" format="tabular" label="${tool.name} on ${on_string} (scorehist)">
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
59 <filter>output_variant_score_hist</filter>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
60 </data>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
61 <data name="output_zygosityhist" format="tabular" label="${tool.name} on ${on_string} (zygosityhist)">
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
62 <filter>output_zygosity_hist</filter>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
63 </data>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
64 <data name="output_qualityhist" format="tabular" label="${tool.name} on ${on_string} (qualityhist)">
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
65 <filter>output_quality_hist</filter>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
66 </data>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
67 </outputs>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
68 <tests>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
69 <test expect_num_outputs="4">
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
70 <param name="input" value="cv_input.bam" ftype="bam"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
71 <param name="ploidy" value="2"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
72 <param name="output_variant_score_hist" value="yes"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
73 <param name="output_zygosity_hist" value="yes"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
74 <param name="output_quality_hist" value="yes"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
75 <output name="output" file="cv_output.vcf" ftype="vcf" compare="contains"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
76 <output name="output_scorehist" file="cv_scorehist_output.tabular" ftype="tabular" compare="contains"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
77 <output name="output_zygosityhist" file="cv_zygosityhist_output.tabular" ftype="tabular" compare="contains"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
78 <output name="output_qualityhist" file="cv_qualityhist_output.tabular" ftype="tabular" compare="contains"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
79 </test>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
80 <test expect_num_outputs="1">
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
81 <param name="input" value="cv_input.bam" ftype="bam"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
82 <param name="ploidy" value="2"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
83 <param name="output_format" value="gff"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
84 <output name="output" file="cv_output.gff" ftype="gff" compare="contains"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
85 </test>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
86 <test expect_num_outputs="1">
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
87 <param name="input" value="cv_input.bam" ftype="bam"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
88 <param name="ploidy" value="2"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
89 <param name="output_format" value="txt"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
90 <output name="output" file="cv_output.txt" ftype="txt" compare="contains"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
91 </test>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
92 </tests>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
93 <help>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
94 **What it does**
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
95
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
96 CallVariants is a high-speed, multithreaded variant caller that accepts bam files, and output VCF files. It is capable
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
97 of indel realignment, multi-sample variant-calling, and processing samples with arbitrary ploidy.
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
98
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
99 BBMap is the recommended mapping program for CallVariants, but output from any aligner is acceptable. Reads can be
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
100 realigned with the "realign" flag. This is slower, but is highly recommended if the input is from any mapping tool
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
101 other than BBMap. Output from BBMap should not be realigned.
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
102
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
103 **Options**
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
104
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
105 * **Ploidy** - Arbitrary ploidy is supported - the default is 1 which works for haploid organisms. Allele fractions lower than those expected for the ploidy (for example, anything below 0.5 for a diploid, or 0.25 for a tetraploid) will incur a score penalty. When calling variants on non-haploid organisms, it is crucial to set the ploidy.
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
106
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
107 </help>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
108 <expand macro="citations"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
109 </tool>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
110