annotate bcftools_call.xml @ 21:1001172b5089 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bfc4ff4956b94885638ae07a2560bac5f84fcca8
author iuc
date Tue, 16 Jul 2024 17:07:11 +0000
parents 22637b1a55bf
children bf06b66ab5c2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a531317a3527 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bbfd77c34b609b86ef3a24525dae1127d8b3d99b
iuc
parents:
diff changeset
1 <?xml version='1.0' encoding='utf-8'?>
17
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
2 <tool name="bcftools @EXECUTABLE@" id="bcftools_@EXECUTABLE@" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
3 <description>SNP/indel variant calling from VCF/BCF</description>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
4 <macros>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
5 <token name="@EXECUTABLE@">call</token>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
6 <import>macros.xml</import>
4
6d2a5f0859cf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 3
diff changeset
7 <xml name="macro_novel_rate">
8
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
8 <param name="novel_rate_snp" type="float" value="" optional="true" label="Novel rate for SNPs"
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
9 help="Likelihood of novel mutation for constrained trio calling, see man page for details" />
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
10 <param name="novel_rate_del" type="float" value="" optional="true" label="Novel rate for deletions"
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
11 help="Likelihood of novel mutation for constrained trio calling, see man page for details" />
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
12 <param name="novel_rate_ins" type="float" value="" optional="true" label="Novel rate for insertions"
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
13 help="Likelihood of novel mutation for constrained trio calling, see man page for details" />
4
6d2a5f0859cf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 3
diff changeset
14 </xml>
6d2a5f0859cf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 3
diff changeset
15 <token name="@NOVEL_RATE@">
6d2a5f0859cf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 3
diff changeset
16 #set $novel_rate = []
6d2a5f0859cf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 3
diff changeset
17 #if str($section.genotypes.novel_rate_snp):
6d2a5f0859cf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 3
diff changeset
18 #silent $novel_rate.append(str($section.genotypes.novel_rate_snp))
6d2a5f0859cf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 3
diff changeset
19 #end if
6d2a5f0859cf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 3
diff changeset
20 #if str($section.genotypes.novel_rate_del):
6d2a5f0859cf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 3
diff changeset
21 #silent $novel_rate.append(str($section.genotypes.novel_rate_del))
6d2a5f0859cf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 3
diff changeset
22 #end if
6d2a5f0859cf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 3
diff changeset
23 #if str($section.genotypes.novel_rate_ins):
6d2a5f0859cf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 3
diff changeset
24 #silent $novel_rate.append(str($section.genotypes.novel_rate_ins))
6d2a5f0859cf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 3
diff changeset
25 #end if
6d2a5f0859cf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 3
diff changeset
26 #if len($novel_rate) > 0:
6d2a5f0859cf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 3
diff changeset
27 --novel-rate '#echo ','.join($novel_rate)#'
6d2a5f0859cf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 3
diff changeset
28 #end if
6d2a5f0859cf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 3
diff changeset
29 </token>
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
30 </macros>
15
d267bcfdc8fe "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit af43d9cf6824f88726900857116f333ff4cdd336"
iuc
parents: 14
diff changeset
31 <expand macro="bio_tools" />
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
32 <expand macro="requirements" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
33 <expand macro="version_command" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
34 <command detect_errors="aggressive"><![CDATA[
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
35 @PREPARE_ENV@
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
36 @PREPARE_INPUT_FILE@
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
37 #set $section = $sec_consensus_variant_calling.variant_calling
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
38 #set $targets_path = None
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
39 #if $section.method == 'multiallelic':
8
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
40 #if $section.genotypes.constrain == 'alleles':
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
41 #set $section = $sec_consensus_variant_calling.variant_calling.genotypes
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
42 @PREPARE_TARGETS_FILE@
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
43 #end if
0
a531317a3527 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bbfd77c34b609b86ef3a24525dae1127d8b3d99b
iuc
parents:
diff changeset
44 #end if
6
3296c3680d96 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents: 5
diff changeset
45 #set $section = $sec_restrict
3296c3680d96 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents: 5
diff changeset
46 @PREPARE_REGIONS_FILE@
0
a531317a3527 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bbfd77c34b609b86ef3a24525dae1127d8b3d99b
iuc
parents:
diff changeset
47
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
48 bcftools @EXECUTABLE@
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
49
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
50 #set $section = $sec_consensus_variant_calling.variant_calling
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
51 #if $section.method == 'multiallelic':
8
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
52 -m
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
53 #if str($section.gvcf):
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
54 --gvcf $section.gvcf
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
55 #end if
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
56 #if str($section.prior_freqs):
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
57 --prior-freqs '$section.prior_freqs'
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
58 #end if
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
59 #if str($section.prior):
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
60 --prior $section.prior
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
61 #end if
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
62 #if $section.genotypes.constrain == 'alleles':
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
63 --constrain alleles $section.genotypes.insert_missed
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
64 #set $section = $sec_consensus_variant_calling.variant_calling.genotypes
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
65 @TARGETS_FILE@
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
66 #else
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
67 #if $section.genotypes.constrain == 'trio':
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
68 --constrain trio
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
69 @NOVEL_RATE@
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
70 #end if
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
71 #set $section = $sec_consensus_variant_calling.variant_calling.genotypes
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
72 @TARGETS@
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
73 #end if
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
74 #else
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
75 -c
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
76 #if str($section.pval_threshold):
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
77 --pval-threshold $section.pval_threshold
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
78 #end if
0
a531317a3527 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bbfd77c34b609b86ef3a24525dae1127d8b3d99b
iuc
parents:
diff changeset
79 #end if
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
80
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
81 #set $section = $sec_restrict
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
82 @REGIONS@
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
83 @SAMPLES@
0
a531317a3527 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bbfd77c34b609b86ef3a24525dae1127d8b3d99b
iuc
parents:
diff changeset
84
a531317a3527 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bbfd77c34b609b86ef3a24525dae1127d8b3d99b
iuc
parents:
diff changeset
85 ## File format section
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
86 #set $section = $sec_file_format
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
87 #if $section.ploidy:
8
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
88 --ploidy ${section.ploidy}
0
a531317a3527 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bbfd77c34b609b86ef3a24525dae1127d8b3d99b
iuc
parents:
diff changeset
89 #end if
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
90 #if $section.ploidy_file:
8
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
91 --ploidy-file '${section.ploidy_file}'
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
92 #end if
0
a531317a3527 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bbfd77c34b609b86ef3a24525dae1127d8b3d99b
iuc
parents:
diff changeset
93
a531317a3527 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bbfd77c34b609b86ef3a24525dae1127d8b3d99b
iuc
parents:
diff changeset
94 ## Input/output section
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
95 #set $section = $sec_input_output
17
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
96 ${section.group_samples}
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
97 ${section.keep_alts}
8
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
98 #if $section.format_fields:
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
99 --format-fields '${section.format_fields}'
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
100 #end if
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
101 ${section.keep_masked_ref}
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
102 #if $section.skip_variants:
8
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
103 --skip-variants ${section.skip_variants}
0
a531317a3527 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bbfd77c34b609b86ef3a24525dae1127d8b3d99b
iuc
parents:
diff changeset
104 #end if
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
105 ${section.variants_only}
0
a531317a3527 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bbfd77c34b609b86ef3a24525dae1127d8b3d99b
iuc
parents:
diff changeset
106
17
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
107 #if $section.output_tags
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
108 --annotate $section.output_tags
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
109 #end if
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
110
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
111 @OUTPUT_TYPE@
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
112 @THREADS@
0
a531317a3527 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bbfd77c34b609b86ef3a24525dae1127d8b3d99b
iuc
parents:
diff changeset
113
a531317a3527 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bbfd77c34b609b86ef3a24525dae1127d8b3d99b
iuc
parents:
diff changeset
114 ## Primary Input/Outputs
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
115 @INPUT_FILE@
6
3296c3680d96 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents: 5
diff changeset
116 > '$output_file'
8
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
117 ]]></command>
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
118 <inputs>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
119 <expand macro="macro_input" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
120 <section name="sec_restrict" expanded="false" title="Restrict to">
9
cb30a39055d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 8
diff changeset
121 <expand macro="macro_restrict" />
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
122 <expand macro="macro_samples" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
123 </section>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
124 <section name="sec_consensus_variant_calling" expanded="true" title="Consensus/variant calling Options">
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
125 <conditional name="variant_calling">
8
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
126 <param name="method" type="select" label="Calling method">
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
127 <option value="multiallelic">Multiallelic and rare-variant caller</option>
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
128 <option value="consensus">Consensus caller</option>
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
129 </param>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
130 <when value="multiallelic">
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
131 <conditional name="genotypes">
8
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
132 <param argument="--constrain" type="select" label="Constrain" help="One of: alleles, trio (see manual)">
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
133 <option value="none">Do not constrain</option>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
134 <option value="alleles">alleles - call genotypes given alleles</option>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
135 <option value="trio">trio - call genotypes given the father-mother-child constraint</option>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
136 </param>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
137 <when value="none">
9
cb30a39055d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 8
diff changeset
138 <expand macro="macro_restrict" type="target" label_type="Target" />
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
139 </when>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
140 <when value="alleles">
9
cb30a39055d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 8
diff changeset
141 <expand macro="macro_restrictions_file" type="target" label_type="Target" />
21
1001172b5089 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bfc4ff4956b94885638ae07a2560bac5f84fcca8
iuc
parents: 17
diff changeset
142 <param argument="--insert-missed" type="boolean" truevalue="--insert-missed" falsevalue="" label="Insert missed" help="Output also sites missed by mpileup but present in -T" />
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
143 </when>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
144 <when value="trio">
9
cb30a39055d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 8
diff changeset
145 <expand macro="macro_restrict" type="target" label_type="Target" />
4
6d2a5f0859cf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 3
diff changeset
146 <expand macro="macro_novel_rate" />
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
147 </when>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
148 </conditional>
21
1001172b5089 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bfc4ff4956b94885638ae07a2560bac5f84fcca8
iuc
parents: 17
diff changeset
149 <param argument="--prior-freqs" type="text" value="" optional="true" label="Use prior knowledge of population allele frequencies">
6
3296c3680d96 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents: 5
diff changeset
150 <help>
3296c3680d96 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents: 5
diff changeset
151 <![CDATA[
8
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
152 For example: --prior-freqs REF_AN,REF_AC
6
3296c3680d96 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents: 5
diff changeset
153 <br>if the input VCF has the following INFO tags:
3296c3680d96 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents: 5
diff changeset
154 <br>##INFO=&lt;ID=REF_AN,Number=1,Type=Integer,Description="Total number of alleles in reference genotypes"&gt;
3296c3680d96 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents: 5
diff changeset
155 <br>##INFO=&lt;ID=REF_AC,Number=A,Type=Integer,Description="Allele count in reference genotypes for each ALT allele"&gt;
3296c3680d96 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents: 5
diff changeset
156 ]]>
3296c3680d96 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents: 5
diff changeset
157 </help>
3296c3680d96 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents: 5
diff changeset
158 <validator type="regex" message="The INFO tags (separated by a comma), e.g. AN,AC">^(\w+,\w+)?$</validator>
3296c3680d96 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents: 5
diff changeset
159 </param>
8
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
160 <param argument="--prior" type="float" value="1.1e-3" optional="true" label="Prior" help="Expected substitution rate" />
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
161 <param argument="--gvcf" type="integer" optional="true" label="Output also gVCF blocks of homozygous REF calls" help="The parameter value is the minimum per-sample depth required to include a site in the non-variant block" />
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
162 </when>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
163 <when value="consensus">
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
164 <conditional name="genotypes">
8
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
165 <param argument="--constrain" type="select" label="Constrain" help="One of: alleles, trio (see manual)">
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
166 <option value="none">Do not constrain</option>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
167 <option value="trio">trio - call genotypes given the father-mother-child constraint</option>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
168 </param>
8
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
169 <when value="none" />
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
170 <when value="trio">
4
6d2a5f0859cf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 3
diff changeset
171 <expand macro="macro_novel_rate" />
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
172 </when>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
173 </conditional>
9
cb30a39055d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 8
diff changeset
174 <expand macro="macro_restrict" type="target" label_type="Target" />
21
1001172b5089 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bfc4ff4956b94885638ae07a2560bac5f84fcca8
iuc
parents: 17
diff changeset
175 <param argument="--pval-threshold" type="float" value="0.5" optional="true" label="Pval Threshold" help="Accept variant if P(ref|D)&lt;FLOAT" />
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
176 </when>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
177 </conditional>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
178 </section>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
179 <section name="sec_file_format" expanded="false" title="File format Options">
8
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
180 <param argument="--ploidy" type="select" optional="true" label="Select predefined ploidy">
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
181 <option value="GRCh37">GRCh37 - Human Genome reference assembly GRCh37 / hg19</option>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
182 <option value="GRCh38">GRCh37 - Human Genome reference assembly GRCh38 / hg38</option>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
183 <option value="X">X - Treat male samples as haploid and female as diploid regardless of the chromosome name</option>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
184 <option value="Y">Y - Treat male samples as haploid and female as no-copy, regardless of the chromosome name"</option>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
185 <option value="1">1 - Treat all samples as haploid</option>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
186 </param>
21
1001172b5089 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bfc4ff4956b94885638ae07a2560bac5f84fcca8
iuc
parents: 17
diff changeset
187 <param argument="--ploidy-file" type="data" format="tabular" optional="true" label="Ploidy file" help="Space/tab-delimited list of CHROM,FROM,TO,SEX,PLOIDY" />
9
cb30a39055d0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 8
diff changeset
188 <expand macro="macro_restrict" />
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
189 <expand macro="macro_samples" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
190 </section>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
191 <section name="sec_input_output" expanded="false" title="Input/output Options">
21
1001172b5089 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bfc4ff4956b94885638ae07a2560bac5f84fcca8
iuc
parents: 17
diff changeset
192 <param argument="--group-samples" type="boolean" truevalue="--group-samples -" falsevalue="" label="Single Sample Calling" help="Group samples by population for single-sample calling (-G - is the only option implemented so far)" />
1001172b5089 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bfc4ff4956b94885638ae07a2560bac5f84fcca8
iuc
parents: 17
diff changeset
193 <param argument="--keep-alts" type="boolean" truevalue="--keep-alts" falsevalue="" label="Keep alts" help="Output all alternate alleles present in the alignments even if they do not appear in any of the genotypes" />
1001172b5089 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bfc4ff4956b94885638ae07a2560bac5f84fcca8
iuc
parents: 17
diff changeset
194 <param argument="--format-fields" type="text" value="" optional="true" label="Comma-separated list of FORMAT fields to output for each sample"
8
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
195 help="Currently GQ and GP fields are supported" >
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
196 <validator type="regex" message="FORMAT terms separated by commas">^([A-Za-z]+(,[A-Za-z]+)*)?$</validator>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
197 </param>
21
1001172b5089 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bfc4ff4956b94885638ae07a2560bac5f84fcca8
iuc
parents: 17
diff changeset
198 <param argument="--keep-masked-ref" type="boolean" truevalue="--keep-masked-ref" falsevalue="" label="Keep masked reference alleles" help="Output sites where REF allele is N" />
1001172b5089 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bfc4ff4956b94885638ae07a2560bac5f84fcca8
iuc
parents: 17
diff changeset
199 <param argument="--skip-variants" type="select" optional="true" label="Skip variants" help="Skip indels/SNP sites">
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
200 <option value="indels">indels</option>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
201 <option value="snps">snps</option>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
202 </param>
21
1001172b5089 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bfc4ff4956b94885638ae07a2560bac5f84fcca8
iuc
parents: 17
diff changeset
203 <param argument="--variants-only" type="boolean" truevalue="--variants-only" falsevalue="" label="Output variant sites only" />
17
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
204 <expand macro="macro_output_tags">
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
205 <option value="INFO/PV4">INFO/PV4: P-values for strand bias, baseQ bias, mapQ bias and tail</option>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
206 <option value="FORMAT/GQ">FORMAT/GQ: Phred-scaled genotype quality</option>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
207 <option value="FORMAT/GP">FORMAT/GP: Phred-scaled genotype posterior probabilities</option>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
208 </expand>
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
209 </section>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
210 <expand macro="macro_select_output_type" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
211 </inputs>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
212 <outputs>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
213 <expand macro="macro_vcf_output"/>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
214 </outputs>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
215 <tests>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
216 <test>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
217 <param name="input_file" ftype="vcf" value="mpileup.vcf" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
218 <param name="method" value="multiallelic" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
219 <param name="variants_only" value="true" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
220 <param name="output_type" value="v" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
221 <output name="output_file">
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
222 <assert_contents>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
223 <has_text text="DP4=2,4,8,11;MQ=49" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
224 </assert_contents>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
225 </output>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
226 </test>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
227 <test>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
228 <param name="input_file" ftype="vcf" value="mpileup.vcf" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
229 <param name="method" value="multiallelic" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
230 <param name="gvcf" value="0" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
231 <param name="output_type" value="v" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
232 <output name="output_file">
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
233 <assert_contents>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
234 <has_text text="MinDP" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
235 <has_text text="DP4=2,4,8,11;MQ=49" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
236 </assert_contents>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
237 </output>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
238 </test>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
239 <test>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
240 <param name="input_file" ftype="vcf" value="mpileup.X.vcf" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
241 <param name="method" value="multiallelic" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
242 <param name="ploidy_file" value="mpileup.ploidy" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
243 <param name="samples_file" value="mpileup.samples" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
244 <param name="output_type" value="v" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
245 <output name="output_file">
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
246 <assert_contents>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
247 <has_text text="DP4=2,4,8,11;MQ=49" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
248 </assert_contents>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
249 </output>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
250 </test>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
251 <test>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
252 <param name="input_file" ftype="vcf" value="mpileup.X.vcf" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
253 <param name="method" value="consensus" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
254 <param name="output_type" value="v" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
255 <param name="ploidy_file" value="mpileup.ploidy" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
256 <output name="output_file">
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
257 <assert_contents>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
258 <has_text text="DP4=2,4,8,11" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
259 <has_text text="PV4=1,1,1,1" />
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
260 </assert_contents>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
261 </output>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
262 </test>
17
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
263 <!-- Test annotate -->
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
264 <test>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
265 <param name="input_file" ftype="vcf" value="mpileup.X.vcf" />
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
266 <param name="method" value="consensus" />
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
267 <param name="output_type" value="v" />
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
268 <param name="ploidy_file" value="mpileup.ploidy" />
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
269 <section name="sec_input_output">
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
270 <param name="output_tags" value="INFO/PV4"/>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
271 </section>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
272 <output name="output_file">
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
273 <assert_contents>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
274 <has_text text="DP4=2,4,8,11" />
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
275 <has_text text="PV4=1,1,1,1" />
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
276 </assert_contents>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
277 </output>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
278 <assert_command>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
279 <has_text text="--annotate" />
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
280 </assert_command>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
281 </test>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
282 <!-- Test region overlap-->
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
283 <test>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
284 <param name="input_file" ftype="vcf" value="mpileup.vcf" />
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
285 <param name="method" value="multiallelic" />
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
286 <param name="variants_only" value="true" />
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
287 <param name="output_type" value="v" />
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
288 <section name="sec_restrict">
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
289 <param name="regions_overlap" value="1"/>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
290 </section>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
291 <output name="output_file">
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
292 <assert_contents>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
293 <has_text text="DP4=2,4,8,11;MQ=49" />
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
294 </assert_contents>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
295 </output>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
296 <assert_command>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
297 <has_text text="--regions-overlap" />
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
298 </assert_command>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
299 </test>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
300 <!-- Test group samples option-->
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
301 <test>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
302 <param name="input_file" ftype="vcf" value="mpileup.AD.vcf" />
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
303 <param name="method" value="multiallelic" />
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
304 <param name="output_type" value="v" />
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
305 <section name="sec_input_output">
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
306 <param name="group_samples" value="true" />
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
307 </section>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
308 <output name="output_file">
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
309 <assert_contents>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
310 <has_text text="bcftools_callCommand=call -m --prior 0.0011 --group-samples - " />
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
311 <has_text text="DP=1;ADF=1;ADR=0;DPR=1;MQ0F=0;AN=2;DP4=1,0,0,0;MQ=37" />
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
312 </assert_contents>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
313 </output>
22637b1a55bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit db275932cbb485cb44ae91e0b421d6f57698db49
iuc
parents: 15
diff changeset
314 </test>
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
315 </tests>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
316 <help><![CDATA[
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
317 ==================================
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
318 bcftools @EXECUTABLE@
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
319 ==================================
0
a531317a3527 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bbfd77c34b609b86ef3a24525dae1127d8b3d99b
iuc
parents:
diff changeset
320
8
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
321 SNP/indel variant calling from VCF/BCF. To be used in conjunction with samtools mpileup.
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
322
8
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
323 - This command replaces the former "bcftools view" caller.
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
324 - Some of the original functionality has been temporarily lost in the process of transition to htslib, but will be added back on popular demand.
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
325 - The original calling model can be invoked with the -c option.
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
326
8
0fba2c15b40d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
327 The novel-rate option can be set to modify the likelihood of novel mutation for constrained -C trio calling. The trio genotype calling maximizes likelihood of a particular combination of genotypes for father, mother and the child P(F=i,M=j,C=k) = P(unconstrained) * Pn + P(constrained) * (1-Pn). By providing three values, the mutation rate Pn is set explicitly for SNPs, deletions and insertions, respectively. If two values are given, the first is interpreted as the mutation rate of SNPs and the second is used to calculate the mutation rate of indels according to their length as Pn=float*exp(-a-b*len), where a=22.8689, b=0.2994 for insertions and a=21.9313, b=0.2856 for deletions [pubmed:23975140]. If only one value is given, the same mutation rate Pn is used for SNPs and indels.
4
6d2a5f0859cf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9df9b52baf62b70fbcfc3fbe965d7197d4e8738e
iuc
parents: 3
diff changeset
328
6
3296c3680d96 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents: 5
diff changeset
329
1
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
330 @REGIONS_HELP@
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
331 @TARGETS_HELP@
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
332
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
333 @BCFTOOLS_MANPAGE@#@EXECUTABLE@
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
334
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
335 @BCFTOOLS_WIKI@
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
336 ]]>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
337 </help>
8959eda17fca planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents: 0
diff changeset
338 <expand macro="citations" />
0
a531317a3527 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit bbfd77c34b609b86ef3a24525dae1127d8b3d99b
iuc
parents:
diff changeset
339 </tool>