annotate bcftools_concat.xml @ 11:81426b3cf18b draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
author iuc
date Thu, 17 Oct 2019 02:48:55 -0400
parents 398d2ccc4233
children 874cc12ae316
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
1 <?xml version='1.0' encoding='utf-8'?>
9
398d2ccc4233 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 8
diff changeset
2 <tool name="bcftools @EXECUTABLE@" id="bcftools_@EXECUTABLE@" version="@TOOL_VERSION@+galaxy1">
0
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
3 <description>Concatenate or combine VCF/BCF files</description>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
4 <macros>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
5 <token name="@EXECUTABLE@">concat</token>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
6 <import>macros.xml</import>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
7 </macros>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
8 <expand macro="requirements" />
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
9 <expand macro="version_command" />
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
10 <command detect_errors="aggressive"><![CDATA[
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
11 @PREPARE_ENV@
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
12 @PREPARE_INPUT_FILES@
5
40174941cbda planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents: 4
diff changeset
13 #set $section = $sec_restrict
40174941cbda planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents: 4
diff changeset
14 @PREPARE_REGIONS_FILE@
40174941cbda planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 9d03fe38504a35d11660dadb44cb1beee32fcf4e
iuc
parents: 4
diff changeset
15
0
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
16 bcftools @EXECUTABLE@
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
17
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
18 ## Default section
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
19 #set $section = $sec_default
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
20
6
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
21 #if $section.mode.naive == "yes":
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
22 --naive
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
23 #else:
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
24 #if $section.mode.overlaps.allow_overlaps == 'yes':
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
25 --allow-overlaps
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
26 #if $section.mode.overlaps.rm_dups:
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
27 --rm-dups $section.mode.overlaps.rm_dups
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
28 #end if
6
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
29 #end if
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
30 ${section.mode.ligate}
0
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
31 #end if
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
32 ${section.compact_PS}
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
33 #if str($section.min_PQ):
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
34 --min-PQ ${section.min_PQ}
0
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
35 #end if
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
36
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
37 #set $section = $sec_restrict
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
38 @REGIONS@
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
39
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
40 @OUTPUT_TYPE@
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
41 @THREADS@
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
42
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
43 ## Primary Input/Outputs
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
44 @INPUT_FILES@
6
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
45 #if $sec_default.mode.naive == "yes" and $output_type == 'v':
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
46 > output.gz && bcftools index output.gz && bcftools view -O v -o '$output_file' output.gz
6
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
47 #else:
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
48 > '$output_file'
6
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
49 #end if
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
50 ]]></command>
0
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
51 <inputs>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
52 <expand macro="macro_inputs" />
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
53 <section name="sec_restrict" expanded="false" title="Restrict to">
9
398d2ccc4233 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents: 8
diff changeset
54 <expand macro="macro_restrict" />
0
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
55 </section>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
56 <section name="sec_default" expanded="true" title="Concat Options">
6
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
57 <conditional name="mode">
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
58 <param name="naive" type="select" label="naive concat">
6
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
59 <help><![CDATA[
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
60 --naive concatenates VCF or BCF files without recompression. This can be used used to combine results that were generated separately for each chromosome. This is very fast but requires that all files are of the same type (all VCF or all BCF) and have the same headers. This is because all tags and chromosome names in the BCF body rely on the implicit order of the contig and tag definitions in the header. Currently no sanity checks are in place. Dangerous, use with caution.
6
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
61 ]]></help>
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
62 <option value="no">No </option>
0
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
63 <option value="yes">Yes </option>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
64 </param>
6
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
65 <when value="yes"/>
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
66 <when value="no">
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
67 <conditional name="overlaps">
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
68 <param name="allow_overlaps" type="select" label="Allow Overlaps">
6
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
69 <help>
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
70 First coordinate of the next file can precede last record of the current file.
6
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
71 </help>
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
72 <option value="yes">Yes </option>
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
73 <option value="no">No </option>
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
74 </param>
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
75 <when value="yes">
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
76 <param name="rm_dups" type="select" label="Remove duplicate" optional="true">
6
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
77 <help><![CDATA[
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
78 Output duplicate records present in multiple files only once:
6
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
79 rm-dups <snps|indels|both|all|none>
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
80 ]]></help>
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
81 <option value="snps">snps - SNP records</option>
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
82 <option value="indels">indels - indel records</option>
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
83 <option value="both">both - both SNP and indel records</option>
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
84 <option value="all">all - records</option>
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
85 <option value="none">none - output multiple records instead</option>
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
86 </param>
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
87 </when>
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
88 <when value="no"/>
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
89 </conditional>
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
90 <param name="ligate" type="boolean" truevalue="--ligate" falsevalue="" label="Ligate"
6
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
91 help="Ligate phased VCFs by matching phase at overlapping haplotypes" />
0
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
92 </when>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
93 </conditional>
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
94 <param name="compact_PS" type="boolean" truevalue="--compact-PS" falsevalue="" label="Compact Ps"
0
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
95 help="Do not output PS tag at each site, only at the start of a new phase set block." />
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
96 <param name="min_PQ" type="integer" label="Min Pq" value="30" optional="true"
0
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
97 help="Break phase set if phasing quality is lower than &lt;int&gt;" />
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
98 </section>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
99 <expand macro="macro_select_output_type" />
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
100 </inputs>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
101 <outputs>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
102 <expand macro="macro_vcf_output"/>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
103 </outputs>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
104 <tests>
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
105 <test>
0
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
106 <param name="input_files" ftype="vcf" value="concat.1.b.vcf,concat.1.a.vcf" />
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
107 <param name="output_type" value="v" />
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
108 <output name="output_file">
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
109 <assert_contents>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
110 <has_text_matching expression="1\t100"/>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
111 <has_text_matching expression="3\t192"/>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
112 </assert_contents>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
113 </output>
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
114 </test>
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
115 <test>
6
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
116 <param name="input_files" ftype="vcf" value="concat.1.b.vcf,concat.1.a.vcf" />
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
117 <param name="naive" value="yes" />
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
118 <param name="output_type" value="v" />
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
119 <output name="output_file">
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
120 <assert_contents>
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
121 <has_text_matching expression="1\t100"/>
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
122 <has_text_matching expression="3\t192"/>
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
123 </assert_contents>
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
124 </output>
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
125 </test>
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
126 <test>
0
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
127 <param name="input_files" ftype="vcf" value="concat.2.b.vcf,concat.2.a.vcf" />
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
128 <param name="allow_overlaps" value="yes" />
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
129 <param name="output_type" value="v" />
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
130 <output name="output_file">
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
131 <assert_contents>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
132 <has_text_matching expression="2\t140\t.\tA\tG"/>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
133 <has_text_matching expression="2\t140\t.\tGT\tG"/>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
134 </assert_contents>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
135 </output>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
136 </test>
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
137 <test>
0
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
138 <param name="input_files" ftype="vcf" value="concat.2.b.vcf,concat.2.a.vcf" />
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
139 <param name="allow_overlaps" value="yes" />
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
140 <param name="rm_dups" value="none" />
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
141 <param name="output_type" value="v" />
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
142 <output name="output_file">
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
143 <assert_contents>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
144 <has_text_matching expression="2\t160\t.\tTAAAA"/>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
145 </assert_contents>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
146 </output>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
147 </test>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
148 </tests>
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
149 <help><![CDATA[
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
150 =====================================
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
151 bcftools @EXECUTABLE@ plugin
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
152 =====================================
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
153
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
154 Concatenate or combine VCF/BCF files. All source files must have the same sample columns appearing in the same order. The program can be used, for example, to concatenate chromosome VCFs into one VCF, or combine a SNP VCF and an indel VCF into one. The input files must be sorted by chr and position. The files must be given in the correct order to produce sorted VCF on output unless the -a, --allow-overlaps option is specified.
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
155
6
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
156
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
157 Naive concatenation is useful when using a galaxy workflow that splits a BAM file by chromosome, processes each in parallel, then bcftools concat merges the results into a single VCF file:
6
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
158
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
159 BAM -> bamtools split => bcftools mpileup => bcftools call => bcftools concat -> VCF
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
160
2d95ed0b720a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e2075caee2ecdc6aed15a356e5328c5ca09cfb13
iuc
parents: 5
diff changeset
161
0
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
162 @REGIONS_HELP@
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
163
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
164 @BCFTOOLS_MANPAGE@#@EXECUTABLE@
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
165
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
166 @BCFTOOLS_WIKI@
8
62ca6da715bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 2684e1443f03bfe2ae20c31d23817415ec8f7e69
iuc
parents: 6
diff changeset
167 ]]></help>
0
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
168 <expand macro="citations" />
dda05d07d7d4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff changeset
169 </tool>