annotate callvariants.xml @ 10:7e041c120b96 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit cd59ba2c349865259b92302a1d70e103b8a5e3cb
author iuc
date Tue, 27 Aug 2024 10:14:45 +0000
parents 66b138a2e74c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
8eace8923202 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit aca07f4e7d683d1b7d06abb63e05d4ff1b28771f
iuc
parents: 0
diff changeset
1 <tool id="bbtools_callvariants" name="BBTools: call variants" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
0
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>
9
66b138a2e74c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit e6a741fc2fe38e91a310e9c29467c814a2d34cac
iuc
parents: 4
diff changeset
6 <expand macro="bio.tools"/>
0
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
8 <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
9 #import os
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
10
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
11 #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
12 #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
13 #else:
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
14 #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
15 #end if
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
16
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
17 ## 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
18 #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
19 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
20
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
21 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
22 #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
23 shist='$output_scorehist'
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
24 #end if
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
25 #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
26 zhist='$output_zygosityhist'
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
27 #end if
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
28 #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
29 qhist='$output_qualityhist'
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
30 #end if
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
31 #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
32 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
33 #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
34 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
35 #else:
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
36 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
37 #end if
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
38 ]]></command>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
39 <inputs>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
40 <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
41 <expand macro="reference_source_cond"/>
10
7e041c120b96 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit cd59ba2c349865259b92302a1d70e103b8a5e3cb
iuc
parents: 9
diff changeset
42 <param name="ploidy" type="integer" min="1" value="1" label="Ploidy" help="See help section below"/>
0
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
43 <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
44 <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
45 <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
46 <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
47 </param>
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_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
49 <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
50 <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
51 </inputs>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
52 <outputs>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
53 <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
54 <change_format>
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="gff" format="gff"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
56 <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
57 </change_format>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
58 </data>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
59 <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
60 <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
61 </data>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
62 <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
63 <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
64 </data>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
65 <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
66 <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
67 </data>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
68 </outputs>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
69 <tests>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
70 <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
71 <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
72 <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
73 <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
74 <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
75 <param name="output_quality_hist" value="yes"/>
10
7e041c120b96 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit cd59ba2c349865259b92302a1d70e103b8a5e3cb
iuc
parents: 9
diff changeset
76 <output name="output" file="cv_output.vcf" ftype="vcf" compare="diff" lines_diff="4"/>
0
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_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
78 <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
79 <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
80 </test>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
81 <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
82 <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
83 <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
84 <param name="output_format" value="gff"/>
10
7e041c120b96 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit cd59ba2c349865259b92302a1d70e103b8a5e3cb
iuc
parents: 9
diff changeset
85 <output name="output" file="cv_output.gff" ftype="gff" compare="contains" lines_diff="2"/>
0
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
86 </test>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
87 <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
88 <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
89 <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
90 <param name="output_format" value="txt"/>
10
7e041c120b96 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit cd59ba2c349865259b92302a1d70e103b8a5e3cb
iuc
parents: 9
diff changeset
91 <output name="output" file="cv_output.txt" ftype="txt" compare="contains" lines_diff="2"/>
0
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
92 </test>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
93 </tests>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
94 <help>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
95 **What it does**
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
96
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
97 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
98 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
99
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
100 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
101 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
102 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
103
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
104 **Options**
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
105
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
106 * **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
107
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
108 </help>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
109 <expand macro="citations"/>
18b91d72794b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 56300a95740ee11e84a7d0bda07a71fbaf4952e4"
iuc
parents:
diff changeset
110 </tool>