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