annotate bcftools_plugin_split_vep.xml @ 0:3b6cd8086498 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
author iuc
date Sat, 23 Jul 2022 13:49:21 +0000
parents
children 70276425d001
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
1 <?xml version='1.0' encoding='utf-8'?>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
2 <tool name="bcftools @EXECUTABLE@" id="bcftools_plugin_@PLUGIN_ID@" version="@TOOL_VERSION@">
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
3 <description>plugin Extracts fields from structured annotations such as INFO/CSQ</description>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
4 <macros>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
5 <token name="@EXECUTABLE@">split-vep</token>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
6 <token name="@PLUGIN_ID@">split_vep</token>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
7 <import>macros.xml</import>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
8 </macros>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
9 <expand macro="bio_tools" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
10 <expand macro="requirements" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
11 <expand macro="version_command" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
12 <command detect_errors="aggressive"><![CDATA[
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
13 @PREPARE_ENV@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
14 @PREPARE_INPUT_FILE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
15 #set $section = $sec_restrict
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
16 @PREPARE_TARGETS_FILE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
17 @PREPARE_REGIONS_FILE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
18
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
19 bcftools plugin @EXECUTABLE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
20 ## VCF input section
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
21 #set $section = $sec_restrict
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
22 @INCLUDE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
23 @EXCLUDE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
24 @REGIONS@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
25 @TARGETS@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
26
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
27 @OUTPUT_TYPE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
28
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
29 ## Primary Input/Outputs
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
30 @INPUT_FILE@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
31 ## Plugin options
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
32 ## ToDo: Parameters not wrapped yet: -A, -f (not for BCF/VCF output!), -l, -S, -x
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
33 -a '$a'
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
34 -c '$c'
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
35 $d
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
36 #if $p:
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
37 -p '$p'
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
38 #end if
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
39 #if $s:
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
40 -s '$s'
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
41 #end if
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
42 > '$output_file'
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
43 ]]>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
44 </command>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
45 <inputs>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
46 <expand macro="macro_input" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
47 <param argument="-a" type="text" value="CSQ" label="Select INFO annotation to parse" help="Usually, annotations are located in the CSQ, ANN or EFF INFO field, though any arbitrary tag may be entered here." />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
48 <param argument="-c" type="text" label="Enter fields to be extracted, listed either as indexes or names" help="The default type of the new annotation is String but can be also set to Integer/Int or Float/Real by adding ':type' to the field name or index. Examples can be found in the tool help." />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
49 <param argument="-d" type="boolean" label="Enable Output per transcript/allele consequences on a new line rather rather than as comma-separated fields on a single line" truevalue="-d" falsevalue="" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
50 <param argument="-p" type="text" optional="true" label="Enter prefix of INFO annotations to be created after splitting the CSQ string (optional)" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
51 <param argument="-s" type="text" optional="true" label="Select transcripts to extract by type and/or consequence (optional)" help="Argument has the form TR:CSQ. TR = transcript: worst,primary,all (default: all). CSQ = consequence: any,missense,missense+,etc (default: any). Examples can be found in the tool help." />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
52
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
53 <section name="sec_restrict" expanded="false" title="Restrict to">
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
54 <expand macro="macro_restrict" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
55 <expand macro="macro_restrict" type="target" label_type="Target" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
56 <expand macro="macro_include" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
57 <expand macro="macro_exclude" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
58 </section>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
59 <expand macro="macro_select_output_type" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
60 </inputs>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
61 <outputs>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
62 <expand macro="macro_vcf_output" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
63 </outputs>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
64 <tests>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
65 <test>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
66 <param name="input_file" ftype="vcf" value="plugin2.vcf" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
67 <param name="a" value="ANN" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
68 <param name="c" value="IMPACT,gnomAD_AF:Float" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
69 <param name="p" value="NW_" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
70 <param name="s" value="worst" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
71 <param name="output_type" value="v" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
72 <output name="output_file" ftype="vcf">
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
73 <assert_contents>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
74 <has_line_matching expression="##INFO=&lt;ID=NW_IMPACT,.+" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
75 <has_line_matching expression="##INFO=&lt;ID=NW_gnomAD_AF,.+" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
76 <has_line_matching expression=".+NW_IMPACT=MODERATE;NW_gnomAD_AF=0\.08.+" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
77 <has_line_matching expression=".+NW_IMPACT=LOW;NW_gnomAD_AF=0\.9443.+" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
78 <has_line_matching expression=".+NW_IMPACT=MODIFIER;NW_gnomAD_AF=\..+" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
79 </assert_contents>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
80 </output>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
81 </test>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
82 </tests>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
83 <help><![CDATA[
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
84 =====================================
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
85 bcftools @EXECUTABLE@ plugin
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
86 =====================================
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
87
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
88 This plugin allows to extract fields from structured annotations such as ``INFO/CSQ`` created by bcftools/csq or VEP. These fields are then added to the VCF as new ``INFO`` fields.
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
89
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
90 Examples::
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
91
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
92 # Extract Consequence, IMPACT and gene SYMBOL of the most severe consequence into
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
93 # INFO annotations starting with the prefix "vep". For brevity, the columns can
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
94 # be given also as 0-based indexes
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
95 bcftools +split-vep -c Consequence,IMPACT,SYMBOL -s worst -p vep file.vcf.gz
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
96 bcftools +split-vep -c 1-3 -s worst -p vep file.vcf.gz
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
97
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
98 # Extract gnomAD_AF subfield into a new INFO/gnomAD_AF annotation of Type=Float so that
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
99 # numeric filtering can be used.
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
100 bcftools +split-vep -c gnomAD_AF:Float file.vcf.gz -i 'gnomAD_AF<0.001'
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
101
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
102 # Similar to above, but add the annotation only if the consequence severity is missense
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
103 # or equivalent.
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
104 bcftools +split-vep -c gnomAD_AF:Float -s :missense file.vcf.gz
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
105
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
106 @REGIONS_HELP@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
107 @TARGETS_HELP@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
108 @EXPRESSIONS_HELP@
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
109
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
110 ]]></help>
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
111 <expand macro="citations" />
3b6cd8086498 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit c45135e52ae5039e09272ac6f504d0ceb574aa70
iuc
parents:
diff changeset
112 </tool>