Mercurial > repos > jjohnson > bcftools_plugin_fixploidy
annotate macros.xml @ 0:f0520447da4d draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
| author | jjohnson | 
|---|---|
| date | Sat, 25 Jun 2016 20:50:10 -0400 | 
| parents | |
| children | 
| rev | line source | 
|---|---|
| 
0
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
1 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
2 <macros> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
3 <token name="@VERSION@">1.3</token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
4 <xml name="stdio"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
5 <stdio> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
6 <exit_code range="1:" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
7 <exit_code range=":-1" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
8 <regex match="Error:" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
9 <regex match="Exception:" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
10 </stdio> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
11 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
12 <xml name="requirements"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
13 <requirements> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
14 <requirement type="package" version="1.3">bcftools</requirement> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
15 <!-- conda dependency --> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
16 <requirement type="package" version="1.3">htslib</requirement> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
17 <requirement type="package" version="0.2.6">tabix</requirement> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
18 <requirement type="package" version="1.2">samtools</requirement> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
19 </requirements> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
20 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
21 <xml name="version_command"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
22 <version_command>bcftools 2>&1 | grep 'Version:'</version_command> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
23 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
24 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
25 <xml name="citations"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
26 <citations> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
27 <citation type="doi">10.1093/bioinformatics/btp352</citation> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
28 <yield /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
29 </citations> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
30 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
31 <token name="@BCFTOOLS_WIKI@">https://github.com/samtools/bcftools/wiki</token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
32 <token name="@BCFTOOLS_MANPAGE@">http://samtools.github.io/bcftools/bcftools.html</token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
33 <token name="@THREADS@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
34 --threads \${GALAXY_SLOTS:-4} | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
35 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
36 <token name="@PREPARE_ENV@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
37 <![CDATA[ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
38 export BCFTOOLS_PLUGINS=`which bcftools | sed 's,bin/bcftools,libexec/bcftools,'`; | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
39 ]]> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
40 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
41 <xml name="macro_input"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
42 <param name="input_file" type="data" format="vcf,vcf_bgzip,bcf,bcf_bgzip" label="VCF/BCF Data" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
43 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
44 <token name="@PREPARE_INPUT_FILE@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
45 <![CDATA[ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
46 ## May need to symlink input if there is an associated | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
47 #set $input_vcf = 'input.vcf.gz' | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
48 #if $input_file.datatype.file_ext == 'vcf' | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
49 bgzip -c "$input_file" > $input_vcf && | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
50 bcftools index $input_vcf && | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
51 #elif $input_file.datatype.file_ext == 'vcf_bgzip' | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
52 ln -s "$input_file" $input_vcf | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
53 #elif $input_file.datatype.file_ext == 'bcf' | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
54 #set $input_vcf = 'input.bcf' | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
55 ln -s "$input_file" $input_vcf && | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
56 #if $input_file.metadata.bcf_index: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
57 ln -s $input_file.metadata.bcf_index ${input_vcf}.csi && | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
58 #else | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
59 bcftools index $input_vcf && | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
60 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
61 #elif $input_file.datatype.file_ext == 'bcf_bgzip' | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
62 ln -s "$input_file" $input_vcf | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
63 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
64 ]]> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
65 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
66 <token name="@INPUT_FILE@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
67 $input_vcf | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
68 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
69 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
70 <xml name="macro_inputs"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
71 <param name="input_files" type="data" format="vcf,bcf" label="Other VCF/BCF Datasets" multiple="True" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
72 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
73 <token name="@PREPARE_INPUT_FILES@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
74 <![CDATA[ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
75 ## May need to symlink input if there is an associated | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
76 #set $input_vcfs = [] | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
77 #set $vcfs_list_file = 'vcfs_list' | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
78 #for (i,input_file) in enumerate($input_files): | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
79 #set $input_vcf = 'input' + str($i) + '.vcf.gz' | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
80 echo '$input_vcf' >> $vcfs_list_file && | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
81 #if $input_file.datatype.file_ext == 'vcf' | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
82 bgzip -c "$input_file" > $input_vcf && | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
83 bcftools index $input_vcf && | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
84 #elif $input_file.datatype.file_ext == 'vcf_bgz' | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
85 ln -s "$input_file" $input_vcf | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
86 #elif $input_file.datatype.file_ext == 'bcf' | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
87 #set $input_vcf = 'input' + str($i) + '.bcf.gz' | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
88 ## bgzip -c "$input_file" > $input_vcf && | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
89 ln -s "$input_file" $input_vcf && | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
90 #if $input_file.metadata.bcf_index: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
91 ln -s $input_file.metadata.bcf_index ${input_vcf}.csi && | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
92 #else | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
93 bcftools index $input_vcf && | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
94 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
95 #elif $input_file.datatype.file_ext == 'bcfvcf_bgz' | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
96 ln -s "$input_file" $input_vcf && | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
97 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
98 $input_vcfs.append($input_vcf) | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
99 #end for | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
100 ]]> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
101 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
102 <token name="@INPUT_FILES@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
103 #echo ' '.join($input_vcfs)# | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
104 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
105 <token name="@INPUT_LIST_FILE@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
106 $vcfs_list_file | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
107 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
108 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
109 <xml name="macro_fasta_ref"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
110 <param name="fasta_ref" type="data" format="data" label="Fasta Ref" optional="True" help="reference sequence in fasta format" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
111 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
112 <token name="@PREPARE_FASTA_REF@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
113 <![CDATA[ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
114 #set $input_fa_ref = None | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
115 #if 'fasta_ref' in $section and $section.fasta_ref: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
116 #set $input_fa_ref = 'ref.fa' | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
117 ln -s $section.fasta_ref $input_fa_ref && | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
118 samtools faidx $input_fa_ref && | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
119 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
120 ]]> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
121 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
122 <token name="@FASTA_REF@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
123 #if $input_fa_ref is not None: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
124 --fasta-ref "$input_fa_ref" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
125 #elif 'fasta_ref' in $section and $section.fasta_ref: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
126 --fasta-ref "${section.fasta_ref}" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
127 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
128 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
129 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
130 <xml name="macro_ref_fasta"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
131 <conditional name="reference_source"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
132 <param name="reference_source_selector" type="select" label="Choose the source for the reference genome"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
133 <option value="cached">Locally cached</option> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
134 <option value="history">History</option> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
135 </param> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
136 <when value="cached"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
137 <param name="ref_file" type="select" label="Select reference genome"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
138 <options from_data_table="fasta_indexes"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
139 <!--<filter type="data_meta" key="dbkey" ref="input_bam" column="value"/>--> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
140 </options> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
141 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
142 </param> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
143 </when> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
144 <when value="history"> <!-- FIX ME!!!! --> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
145 <param name="ref_file" type="data" format="fasta" label="Using reference file" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
146 </when> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
147 </conditional> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
148 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
149 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
150 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
151 <xml name="macro_AF_file"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
152 <param name="AF_file" type="data" format="data" label="Af File" optional="True" help="read allele frequencies from file (CHR\tPOS\tREF,ALT\tAF)" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
153 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
154 <!-- This may need to bgzip and tabix the file --> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
155 <token name="@PREPARE_AF_FILE@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
156 <![CDATA[ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
157 #if 'AF_file' in $section and $section.AF_file: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
158 #pass | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
159 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
160 ]]> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
161 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
162 <token name="@AF_FILE@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
163 #if 'AF_file' in $section and $section.AF_file: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
164 --AF-file "${section.AF_file}" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
165 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
166 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
167 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
168 <xml name="macro_estimate_AF"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
169 <param name="estimate_AF" type="data" format="data" label="Estimate Af" optional="True" help="calculate AC,AN counts on the fly, using either all samples ("-") or samples listed in <file>" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
170 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
171 <token name="@ESTIMATE_AF@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
172 #if 'estimate_AF' in $section and $section.estimate_AF: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
173 --estimate-AF "${section.estimate_AF}" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
174 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
175 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
176 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
177 <xml name="macro_exons_file"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
178 <param name="exons_file" type="data" format="tabular" label="exons file" optional="True" help="tab-delimited file with exons for indel frameshifts (chr,from,to; 1-based, inclusive, bgzip compressed)" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
179 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
180 <token name="@PREPARE_EXONS_FILE@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
181 <![CDATA[ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
182 #set $exons_path = None | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
183 #if 'exons_file' in $section and $section.exons_file: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
184 #set $exons_path = 'exons_file.tab.gz' | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
185 bgzip -c "$section.exons_file" > $exons_path && | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
186 tabix -s 1 -b 2 -e 3 $exons_path && | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
187 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
188 ]]> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
189 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
190 <token name="@EXONS_FILE@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
191 #if 'exons_file' in $section and $section.exons_file: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
192 --exons $exons_path | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
193 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
194 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
195 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
196 <xml name="macro_ploidy_file"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
197 <param name="ploidy_file" type="data" format="tabular" label="Ploidy file" optional="True" help="tab-delimited list of CHROM,FROM,TO,SEX,PLOIDY" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
198 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
199 <token name="@PLOIDY_FILE@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
200 #if 'ploidy_file' in $section and $section.ploidy_file: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
201 --ploidy "${section.ploidy_file}" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
202 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
203 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
204 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
205 <xml name="macro_collapse_opt_none"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
206 <option value="none">none - require the exact same set of alleles in all files</option> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
207 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
208 <xml name="macro_collapse_opt_id"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
209 <option value="id">id - only records with identical ID column are compatible. </option> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
210 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
211 <xml name="macro_collapse"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
212 <param name="collapse" type="select" label="Collapse" optional="True" help="Controls how to treat records with duplicate positions and defines compatible records across multiple input files"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
213 <option value="snps">snps - allow different alleles, as long as they all are SNPs</option> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
214 <option value="indels">indels - allow different alleles, as long as they all are indels</option> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
215 <option value="both">both - indels and snps </option> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
216 <option value="some">some - at least some of the ALTs must match</option> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
217 <option value="any">any - any combination of alleles</option> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
218 <yield/> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
219 </param> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
220 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
221 <token name="@COLLAPSE@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
222 #if $section.collapse: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
223 --collapse "${section.collapse}" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
224 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
225 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
226 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
227 <xml name="macro_apply_filters"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
228 <param name="apply_filters" type="text" value="" label="Apply Filters" optional="true" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
229 help="(-f --apply-filters) Skip sites where FILTER column does not contain any of the strings listed (e.g. "PASS,.")"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
230 <validator type="regex" message="FILTER terms separated by commas">^([^ \t\n\r\f\v,]+(,[^ \t\n\r\f\v,]+)*)?$</validator> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
231 </param> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
232 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
233 <token name="@APPLY_FILTERS@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
234 #if $section.apply_filters: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
235 --apply-filters "${section.apply_filters}" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
236 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
237 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
238 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
239 <xml name="macro_select_output_type"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
240 <param name="output_type" type="select"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
241 <option value="b">compressed BCF</option> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
242 <!-- no galaxy datatypes for these | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
243 <option value="u">uncompressed BCF</option> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
244 <option value="z">compressed VCF</option> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
245 --> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
246 <option value="v">uncompressed VCF</option> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
247 </param> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
248 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
249 <token name="@OUTPUT_TYPE@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
250 #if str($output_type) != "__none__": | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
251 --output-type "${output_type}" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
252 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
253 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
254 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
255 <xml name="macro_vcf_output"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
256 <data name="output_file" format="vcf"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
257 <change_format> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
258 <when input="output_type" value="b" format="bcf" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
259 <when input="output_type" value="u" format="bcf" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
260 <when input="output_type" value="z" format="vcf_bgzip" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
261 <when input="output_type" value="v" format="vcf" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
262 </change_format> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
263 </data> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
264 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
265 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
266 <xml name="macro_regions"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
267 <conditional name="regions"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
268 <param name="regions_src" type="select" label="Regions"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
269 <option value="__none__">None</option> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
270 <option value="regions">regions</option> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
271 <option value="regions_file">regions-file</option> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
272 </param> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
273 <when value="__none__"/> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
274 <when value="regions"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
275 <param name="regions" type="text" value="" label="restrict to comma-separated list of regions" optional="true" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
276 help="Each region is specifed as: chr or chr:pos or chr:from-to"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
277 <validator type="regex" message="">^(\w+(:\d+(-\d+)?)?(,\w+(:\d+(-\d+)?)?)*)?$</validator> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
278 </param> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
279 </when> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
280 <when value="regions_file"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
281 <param name="regions_file" type="data" format="vcf,bed,tabular" label="Regions File" optional="True" help="restrict to regions listed in a file" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
282 </when> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
283 </conditional> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
284 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
285 <token name="@REGIONS@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
286 #if $section.regions.regions_src == 'regions' and $section.regions.regions != '': | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
287 --regions "$section.regions.regions" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
288 #elif $section.regions.regions_src == 'regions_file' and $section.regions.regions_file: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
289 --regions-file "$section.regions.regions_file" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
290 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
291 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
292 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
293 <xml name="macro_targets_file"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
294 <param name="targets_file" type="data" format="tabular" label="Targets File" help="restrict to targets listed in a file" > | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
295 <yield/> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
296 </param> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
297 <param name="invert_targets_file" type="boolean" truevalue="^" falsevalue="" label="Invert Targets" help="inverts the query/filtering applied by the target file selection" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
298 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
299 <token name="@PREPARE_TARGETS_FILE@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
300 <![CDATA[ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
301 #set $targets_path = None | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
302 #if 'targets' in $section | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
303 #if $section.targets.targets_src == 'targets_file': | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
304 #set $targets_path = 'targets_file.tab.gz' | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
305 bgzip -c "$section.targets.targets_file" > $targets_path && | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
306 tabix -s 1 -b 2 -e 2 $targets_path && | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
307 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
308 #elif $tgts_sec.targets_file: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
309 #set $targets_path = 'targets_file.tab.gz' | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
310 bgzip -c "$section.targets_file" > $targets_path && | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
311 tabix -s 1 -b 2 -e 2 $targets_path && | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
312 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
313 ]]> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
314 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
315 <token name="@TARGETS_FILE@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
316 <![CDATA[ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
317 #if $targets_path is not None: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
318 --targets-file "${section.invert_targets_file}${targets_path}" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
319 #elif $section.targets_file: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
320 --targets-file "${section.invert_targets_file}${section.targets_file}" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
321 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
322 ]]> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
323 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
324 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
325 <xml name="macro_targets"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
326 <conditional name="targets"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
327 <param name="targets_src" type="select" label="Targets"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
328 <option value="__none__">None</option> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
329 <option value="targets">targets</option> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
330 <option value="targets_file">targets-file</option> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
331 </param> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
332 <when value="__none__"/> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
333 <when value="targets"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
334 <param name="targets" type="text" value="" label="Restrict to comma-separated list of targets" optional="true" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
335 help="Each target is specifed as: chr or chr:pos or chr:from-to"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
336 <validator type="regex" message="">^(\w+(:\d+(-\d+)?)?(,\w+(:\d+(-\d+)?)?)*)?$</validator> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
337 </param> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
338 <param name="invert_targets_file" type="boolean" truevalue="^" falsevalue="" label="Invert Targets" help="inverts the query/filtering applied by the targets" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
339 </when> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
340 <when value="targets_file"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
341 <expand macro="macro_targets_file"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
342 <optional>true</optional> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
343 </expand> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
344 </when> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
345 </conditional> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
346 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
347 <token name="@TARGETS@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
348 <![CDATA[ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
349 #if $targets_path: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
350 --targets-file "${section.targets.invert_targets_file}${targets_path}" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
351 #else: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
352 #if $section.targets.targets_src == 'targets' and $section.targets.targets != '': | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
353 --targets "${section.targets.invert_targets_file}${section.targets.targets}" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
354 #elif $section.targets.targets_src == 'targets_file' and $section.targets.targets_file: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
355 --targets-file "${section.targets.invert_targets_file}${section.targets.targets_file}" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
356 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
357 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
358 ]]> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
359 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
360 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
361 <xml name="macro_samples"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
362 <param name="samples" type="text" value="" label="Samples" optional="true" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
363 help="(-s) comma separated list of samples to annotate (or exclude with "^" prefix)"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
364 <validator type="regex" message="">^(\w+(,\w+)*)?$</validator> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
365 </param> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
366 <param name="invert_samples" type="boolean" truevalue="^" falsevalue="" checked="false" label="Invert Samples" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
367 help="inverts the query/filtering applied by Samples" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
368 <param name="samples_file" type="data" format="tabular" label="Samples File" optional="True" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
369 help="(-S) file of samples to include" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
370 <param name="invert_samples_file" type="boolean" truevalue="^" falsevalue="" checked="false" label="Invert Samples File" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
371 help="inverts the query/filtering applied by Samples File" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
372 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
373 <token name="@SAMPLES@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
374 #set $samples_defined = False | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
375 #if str($section.samples) != '': | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
376 #set $samples_defined = True | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
377 --samples "${section.invert_samples}${section.samples}" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
378 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
379 #if $section.samples_file: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
380 #set $samples_defined = True | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
381 --samples-file "${section.invert_samples_file}${section.samples_file}" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
382 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
383 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
384 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
385 <xml name="macro_sample"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
386 <param name="sample" type="text" label="Sample" optional="True" help="apply variants of the given sample" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
387 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
388 <token name="@SAMPLE@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
389 #if $section.sample: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
390 --sample "${section.sample}" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
391 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
392 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
393 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
394 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
395 <xml name="macro_include"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
396 <param name="include" type="text" label="Include" optional="True" help="(-i) select sites for which the expression is true"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
397 <validator type="regex" message="Single quote not allowed">^[^']*$</validator> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
398 <sanitizer sanitize="False"/> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
399 </param> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
400 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
401 <token name="@INCLUDE@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
402 #if $section.include: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
403 --include '${section.include}' | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
404 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
405 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
406 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
407 <xml name="macro_exclude"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
408 <param name="exclude" type="text" label="Exclude" optional="True" help="(-e) exclude sites for which the expression is true"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
409 <validator type="regex" message="Single quote not allowed">^[^']*$</validator> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
410 <sanitizer sanitize="False"/> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
411 </param> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
412 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
413 <token name="@EXCLUDE@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
414 #if $section.exclude: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
415 --exclude '${section.exclude}' | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
416 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
417 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
418 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
419 <xml name="macro_columns"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
420 <param name="columns" type="text" value="" label="Columns" optional="true" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
421 help="list of columns in the annotation file, e.g. CHROM,POS,REF,ALT,-,INFO/TAG. See man page for details"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
422 <validator type="regex" message="COLUMN names separated by commas">^([^,]+(,[^,]+)*)?$</validator> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
423 </param> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
424 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
425 <token name="@COLUMNS@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
426 #if $section.columns != '': | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
427 --columns "${section.columns}" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
428 #end if | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
429 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
430 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
431 <xml name="macro_haploid2diploid"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
432 <param name="haploid2diploid" type="boolean" truevalue="--haploid2diploid" falsevalue="" label="Haploid2Diploid" help="convert haploid genotypes to diploid homozygotes" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
433 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
434 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
435 <xml name="macro_vcf_ids"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
436 <param name="vcf_ids" type="boolean" truevalue="--vcf-ids" falsevalue="" label="Vcf Ids" help="output VCF IDs instead of CHROM:POS_REF_ALT" /> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
437 </xml> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
438 <token name="@VCF_IDS@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
439 ${section.vcf_ids} | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
440 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
441 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
442 <token name="@OUTPUT_HELP@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
443 <![CDATA[ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
444 Output Type | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
445 ----------- | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
446 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
447 Output compressed BCF (b), or uncompressed VCF (v). | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
448 Use the BCF option when piping between bcftools subcommands to speed up | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
449 performance by removing unecessary compression/decompression | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
450 and VCF<->BCF conversion. | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
451 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
452 This Galaxy tool recommends using the compressed BCF format | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
453 as piping is not implemented, and uncompressed data would | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
454 use unnecessary amounts of space. | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
455 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
456 ]]></token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
457 <token name="@REGIONS_HELP@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
458 <![CDATA[ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
459 Region Selections | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
460 ----------------- | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
461 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
462 Regions can be specified in a VCF, | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
463 BED, or tab-delimited file (the default). The columns of the | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
464 tab-delimited file are: CHROM, POS, and, optionally, POS_TO, | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
465 where positions are 1-based and inclusive. Uncompressed | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
466 files are stored in memory, while bgzip-compressed and | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
467 tabix-indexed region files are streamed. Note that sequence | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
468 names must match exactly, "chr20" is not the same as "20". | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
469 Also note that chromosome ordering in FILE will be | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
470 respected, the VCF will be processed in the order in which | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
471 chromosomes first appear in FILE. However, within | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
472 chromosomes, the VCF will always be processed in ascending | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
473 genomic coordinate order no matter what order they appear in | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
474 FILE. Note that overlapping regions in FILE can result in | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
475 duplicated out of order positions in the output. This option | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
476 requires indexed VCF/BCF files. | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
477 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
478 ]]></token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
479 <token name="@TARGETS_HELP@"><![CDATA[ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
480 Targets | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
481 ------- | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
482 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
483 Similar to regions, but the next position is accessed by streaming the whole | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
484 VCF/BCF rather than using the tbi/csi index. Both regions and targets options can be | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
485 applied simultaneously: regions uses the index to jump to a region and targets discards | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
486 positions which are not in the targets. Unlike regions, targets can be prefixed with | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
487 "^" to request logical complement. For example, "^X,Y,MT" indicates that | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
488 sequences X, Y and MT should be skipped. Yet another difference between the two | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
489 is that regions checks both start and end positions of indels, whereas targets checks | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
490 start positions only. | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
491 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
492 For the bcftools call command, with the option -C alleles, third column of the | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
493 targets file must be comma-separated list of alleles, starting with the | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
494 reference allele. Note that the file must be compressed and index. Such a file | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
495 can be easily created from a VCF using:: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
496 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
497 bcftools query -f'%CHROM\t%POS\t%REF,%ALT\n' file.vcf | bgzip -c > als.tsv.gz && tabix -s1 -b2 -e2 als.tsv.gz | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
498 ]]> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
499 <!-- TODO: galaxy-ify --> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
500 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
501 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
502 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
503 <token name="@COLLAPSE_HELP@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
504 Collapse | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
505 -------- | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
506 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
507 Controls how to treat records with duplicate positions and defines compatible | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
508 records across multiple input files. Here by "compatible" we mean records which | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
509 should be considered as identical by the tools. For example, when performing | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
510 line intersections, the desire may be to consider as identical all sites with | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
511 matching positions (bcftools isec -c all), or only sites with matching variant | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
512 type (bcftools isec -c snps -c indels), or only sites with all alleles | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
513 identical (bcftools isec -c none). | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
514 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
515 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
516 +------------+----------------------------------------------------------------+ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
517 | Flag value | Result | | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
518 +============+================================================================+ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
519 | none | only records with identical REF and ALT alleles are compatible | | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
520 +------------+----------------------------------------------------------------+ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
521 | some | only records where some subset of ALT alleles match are | | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
522 | | compatible | | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
523 +------------+----------------------------------------------------------------+ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
524 | all | all records are compatible, regardless of whether the ALT | | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
525 | | alleles match or not. In the case of records with the same | | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
526 | | position, only the first wil lbe considered and appear on | | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
527 | | output. | | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
528 +------------+----------------------------------------------------------------+ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
529 | snps | any SNP records are compatible, regardless of whether the ALT | | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
530 | | alleles match or not. For duplicate positions, only the first | | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
531 | | SNP record will be considered and appear on output. | | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
532 +------------+----------------------------------------------------------------+ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
533 | indels | all indel records are compatible, regardless of whether the | | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
534 | | REF and ALT alleles match or not. For duplicate positions, | | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
535 | | only the first indel record will be considered and appear on | | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
536 | | output. | | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
537 +------------+----------------------------------------------------------------+ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
538 | both | abbreviation of "-c indels -c snps" | | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
539 +------------+----------------------------------------------------------------+ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
540 | id | only records with identical ID column are compatible. | | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
541 | | Supportedby bcftools merge only. | | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
542 +------------+----------------------------------------------------------------+ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
543 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
544 </token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
545 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
546 <token name="@EXPRESSIONS_HELP@"> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
547 <![CDATA[ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
548 Expressions | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
549 ----------- | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
550 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
551 Valid expressions may contain: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
552 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
553 - numerical constants, string constants | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
554 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
555 :: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
556 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
557 1, 1.0, 1e-4 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
558 "String" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
559 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
560 - arithmetic operators | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
561 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
562 :: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
563 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
564 +,*,-,/ | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
565 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
566 - comparison operators | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
567 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
568 :: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
569 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
570 == (same as =), >, >=, <=, <, != | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
571 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
572 - regex operators "~" and its negation "!~" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
573 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
574 :: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
575 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
576 INFO/HAYSTACK ~ "needle" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
577 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
578 - parentheses | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
579 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
580 :: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
581 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
582 (, ) | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
583 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
584 - logical operators | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
585 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
586 :: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
587 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
588 && (same as &), ||, | | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
589 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
590 - INFO tags, FORMAT tags, column names | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
591 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
592 :: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
593 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
594 INFO/DP or DP | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
595 FORMAT/DV, FMT/DV, or DV | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
596 FILTER, QUAL, ID, REF, ALT[0] | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
597 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
598 - 1 (or 0) to test the presence (or absence) of a flag | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
599 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
600 :: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
601 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
602 FlagA=1 && FlagB=0 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
603 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
604 - "." to test missing values | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
605 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
606 :: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
607 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
608 DP=".", DP!=".", ALT="." | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
609 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
610 - missing genotypes can be matched regardless of phase and ploidy (".|.", "./.", ".") using this expression | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
611 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
612 :: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
613 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
614 GT="." | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
615 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
616 - TYPE for variant type in REF,ALT columns (indel,snp,mnp,ref,other) | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
617 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
618 :: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
619 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
620 TYPE="indel" | TYPE="snp" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
621 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
622 - array subscripts, "*" for any field | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
623 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
624 :: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
625 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
626 (DP4[0]+DP4[1])/(DP4[2]+DP4[3]) > 0.3 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
627 DP4[*] == 0 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
628 CSQ[*] ~ "missense_variant.*deleterious" | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
629 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
630 - function on FORMAT tags (over samples) and INFO tags (over vector fields) | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
631 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
632 :: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
633 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
634 MAX, MIN, AVG, SUM, STRLEN, ABS | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
635 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
636 - variables calculated on the fly if not present: number of alternate alleles; number of samples; count of alternate alleles; minor allele count (similar to AC but is always smaller than 0.5); frequency of alternate alleles (AF=AC/AN); frequency of minor alleles (MAF=MAC/AN); number of alleles in called genotypes | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
637 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
638 :: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
639 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
640 N_ALT, N_SAMPLES, AC, MAC, AF, MAF, AN | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
641 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
642 **Notes:** | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
643 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
644 - String comparisons and regular expressions are case-insensitive | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
645 - If the subscript "*" is used in regular expression search, the whole field | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
646 is treated as one string. For example, the regex ``STR[*]~"B,C"`` will be | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
647 true for the string vector INFO/STR=AB,CD. | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
648 - Variables and function names are case-insensitive, but not tag names. For | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
649 example, "qual" can be used instead of "QUAL", "strlen()" instead of | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
650 "STRLEN()" , but not "dp" instead of "DP". | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
651 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
652 **Examples:** | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
653 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
654 :: | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
655 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
656 MIN(DV)>5 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
657 MIN(DV/DP)>0.3 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
658 MIN(DP)>10 & MIN(DV)>3 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
659 FMT/DP>10 & FMT/GQ>10 .. both conditions must be satisfied within one sample | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
660 FMT/DP>10 && FMT/GQ>10 .. the conditions can be satisfied in different samples | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
661 QUAL>10 | FMT/GQ>10 .. selects only GQ>10 samples | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
662 QUAL>10 || FMT/GQ>10 .. selects all samples at QUAL>10 sites | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
663 TYPE="snp" && QUAL>=10 && (DP4[2]+DP4[3] > 2) | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
664 MIN(DP)>35 && AVG(GQ)>50 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
665 ID=@file .. selects lines with ID present in the file | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
666 ID!=@~/file .. skip lines with ID present in the ~/file | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
667 MAF[0]<0.05 .. select rare variants at 5% cutoff | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
668 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
669 ]]></token> | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
670 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
671 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
672 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
673 | 
| 
 
f0520447da4d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
 
jjohnson 
parents:  
diff
changeset
 | 
674 </macros> | 
