annotate bcftools_query.xml @ 0:bfea7fe50fd0 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
author jjohnson
date Sat, 25 Jun 2016 20:51:59 -0400
parents
children 1610708580c3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
1 <?xml version='1.0' encoding='utf-8'?>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
2 <tool name="bcftools @EXECUTABLE@" id="bcftools_@EXECUTABLE@" version="@VERSION@.0">
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
3 <description>Extracts fields from VCF/BCF file and prints them in user-defined format</description>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
4 <macros>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
5 <token name="@EXECUTABLE@">query</token>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
6 <import>macros.xml</import>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
7 </macros>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
8 <expand macro="requirements" />
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
9 <expand macro="version_command" />
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
10 <command detect_errors="aggressive"><![CDATA[
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
11 @PREPARE_ENV@
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
12 @PREPARE_INPUT_FILES@
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
13 #set $section = $sec_restrict
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
14 @PREPARE_TARGETS_FILE@
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
15
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
16 bcftools @EXECUTABLE@
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
17
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
18 ## Query section
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
19 #set $section = $sec_query
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
20 --format '${section.format}'
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
21
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
22 ${section.allow_undef_tags}
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
23
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
24 ${section.print_header}
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
25
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
26 ## Default section
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
27 #set $section = $sec_restrict
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
28 @INCLUDE@
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
29 @EXCLUDE@
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
30 @COLLAPSE@
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
31 @REGIONS@
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
32 @SAMPLES@
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
33 @TARGETS@
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
34
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
35 ## Primary Input/Outputs
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
36 --vcf-list @INPUT_LIST_FILE@
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
37 > $output_file
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
38 ]]>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
39 </command>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
40 <inputs>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
41 <expand macro="macro_inputs" />
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
42 <section name="sec_restrict" expanded="false" title="Restrict to">
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
43 <expand macro="macro_collapse" />
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
44 <expand macro="macro_samples" />
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
45 <expand macro="macro_regions" />
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
46 <expand macro="macro_targets" />
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
47 <expand macro="macro_include" />
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
48 <expand macro="macro_exclude" />
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
49 </section>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
50 <section name="sec_query" expanded="true" title="Query Options">
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
51 <param name="format" type="text" value="" label="Format for Output">
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
52 <help>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
53 <![CDATA[
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
54 Example: %CHROM\t%POS\t%REF\t%ALT{0}\n
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
55 ( NOTE TAB: '\t' and new line character: '\n' )
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
56 ]]>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
57 </help>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
58 <sanitizer sanitize="False"/>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
59 <validator type="empty_field" />
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
60 </param>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
61 <param name="tsv" type="boolean" truevalue="Y" falsevalue="N" checked="false" label="Output is tab-delimited"
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
62 help="Fields in your Format are separated by a TAB character: \t"/>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
63 <param name="allow_undef_tags" type="boolean" truevalue="--allow-undef-tags" falsevalue="" label="Allow Undefined Tags"
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
64 help="Print &quot;.&quot; for undefined tags" />
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
65 <param name="print_header" type="boolean" truevalue="--print-header" falsevalue="" label="Print Header Line" />
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
66 </section>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
67
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
68 </inputs>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
69 <outputs>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
70 <data name="output_file" format="txt">
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
71 <change_format>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
72 <when input="tsv" value="Y" format="tabular" />
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
73 </change_format>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
74 </data>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
75 </outputs>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
76 <tests>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
77 <test>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
78 <param name="input_file" ftype="vcf" value="query.vcf" />
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
79 <param name="format" value="%CHROM\t%POS\t%REF\t%ALT\t%DP4\t%AN[\t%GT\t%TGT]\n" />
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
80 <param name="tsv" value="true" />
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
81 <output name="output_file" ftype="tabular" file="query.out" />
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
82 </test>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
83 </tests>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
84 <help><![CDATA[
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
85 =====================================
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
86 bcftools @EXECUTABLE@
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
87 =====================================
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
88
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
89 Extracts fields from VCF/BCF file and prints them in user-defined format
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
90
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
91 Format:
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
92
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
93 ::
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
94
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
95 ``%CHROM`` The CHROM column (similarly also other columns: POS, ID, REF, ALT, QUAL, FILTER)
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
96 ``%INFO/TAG`` Any tag in the INFO column
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
97 ``%TYPE`` Variant type (REF, SNP, MNP, INDEL, OTHER)
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
98 ``%MASK`` Indicates presence of the site in other files (with multiple files)
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
99 ``%TAG{INT}`` Curly brackets to subscript vectors (0-based)
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
100 ``%FIRST_ALT`` Alias for %ALT{0}
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
101 ``[]`` The brackets loop over all samples
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
102 ``%GT`` Genotype (e.g. 0/1)
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
103 ``%TGT`` Translated genotype (e.g. C/A)
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
104 ``%IUPACGT`` Genotype translated to IUPAC ambiguity codes (e.g. M instead of C/A)
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
105 ``%LINE`` Prints the whole line
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
106 ``%SAMPLE`` Sample name
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
107
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
108 Examples:
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
109
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
110 ::
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
111
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
112 ``bcftools query -f '%CHROM %POS %REF %ALT{0}\n' file.vcf.gz``
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
113 ``bcftools query -f '%CHROM\t%POS\t%REF\t%ALT[\t%SAMPLE=%GT]\n' file.vcf.gz``
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
114
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
115 @COLLAPSE_HELP@
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
116 @REGIONS_HELP@
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
117 @TARGETS_HELP@
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
118 @EXPRESSIONS_HELP@
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
119
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
120 @BCFTOOLS_MANPAGE@#@EXECUTABLE@
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
121
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
122 @BCFTOOLS_WIKI@
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
123 ]]>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
124 </help>
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
125 <expand macro="citations" />
bfea7fe50fd0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 21c66fb27c7e2fd21c7f7607b3b29e77e64fb86d-dirty
jjohnson
parents:
diff changeset
126 </tool>