annotate affy2vcf.xml @ 1:b8549f504829 draft

Uploaded
author greg
date Thu, 16 May 2019 12:42:19 -0400
parents
children 9910bb2e159c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
b8549f504829 Uploaded
greg
parents:
diff changeset
1 <tool id="affy2vcf" name="Convert Affymetrix" version="@WRAPPER_VERSION@">
b8549f504829 Uploaded
greg
parents:
diff changeset
2 <description>genotype calls and intensities to VCF</description>
b8549f504829 Uploaded
greg
parents:
diff changeset
3 <macros>
b8549f504829 Uploaded
greg
parents:
diff changeset
4 <import>macros.xml</import>
b8549f504829 Uploaded
greg
parents:
diff changeset
5 </macros>
b8549f504829 Uploaded
greg
parents:
diff changeset
6 <requirements>
b8549f504829 Uploaded
greg
parents:
diff changeset
7 <requirement type="package" version="1.9">bcftools-gtc2vcf-plugin</requirement>
b8549f504829 Uploaded
greg
parents:
diff changeset
8 </requirements>
b8549f504829 Uploaded
greg
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
b8549f504829 Uploaded
greg
parents:
diff changeset
10 @PREPARE_ENV@
b8549f504829 Uploaded
greg
parents:
diff changeset
11 #set text_outputs_dir = 'text_outputs'
b8549f504829 Uploaded
greg
parents:
diff changeset
12 mkdir $text_outputs_dir &&
b8549f504829 Uploaded
greg
parents:
diff changeset
13 bcftools +\$BCFTOOLS_PLUGINS/affy2vcf.so
b8549f504829 Uploaded
greg
parents:
diff changeset
14 #if str($reference_genome_source_cond.reference_genome_source) == "history":
b8549f504829 Uploaded
greg
parents:
diff changeset
15 --fasta-ref '$reference_genome_source_cond.history_item'
b8549f504829 Uploaded
greg
parents:
diff changeset
16 #else:
b8549f504829 Uploaded
greg
parents:
diff changeset
17 --fasta-ref '$reference_genome_source_cond.locally_cached_item.fields.path'
b8549f504829 Uploaded
greg
parents:
diff changeset
18 #end if
b8549f504829 Uploaded
greg
parents:
diff changeset
19 --annot '$annot'
b8549f504829 Uploaded
greg
parents:
diff changeset
20 --snp-posteriors '$snp_posteriors'
b8549f504829 Uploaded
greg
parents:
diff changeset
21 --summary '$summary'
b8549f504829 Uploaded
greg
parents:
diff changeset
22 --report '$report'
b8549f504829 Uploaded
greg
parents:
diff changeset
23 --calls '$calls'
b8549f504829 Uploaded
greg
parents:
diff changeset
24 --confidences '$confidences'
b8549f504829 Uploaded
greg
parents:
diff changeset
25 #if str($output_gender_estimate_cond.output_gender_estimate) == "yes"
b8549f504829 Uploaded
greg
parents:
diff changeset
26 --sex '$output_gender_estimate'
b8549f504829 Uploaded
greg
parents:
diff changeset
27 #end if
b8549f504829 Uploaded
greg
parents:
diff changeset
28 #if str($append_version) == "no":
b8549f504829 Uploaded
greg
parents:
diff changeset
29 --no-version
b8549f504829 Uploaded
greg
parents:
diff changeset
30 #end if
b8549f504829 Uploaded
greg
parents:
diff changeset
31 --output '$output'
b8549f504829 Uploaded
greg
parents:
diff changeset
32 --output-type $output_type
b8549f504829 Uploaded
greg
parents:
diff changeset
33 @THREADS@
b8549f504829 Uploaded
greg
parents:
diff changeset
34 ]]></command>
b8549f504829 Uploaded
greg
parents:
diff changeset
35 <inputs>
b8549f504829 Uploaded
greg
parents:
diff changeset
36 <param name="annot" type="data" format="csv" label="Probeset annotation file" />
b8549f504829 Uploaded
greg
parents:
diff changeset
37 <param name="summary" type="data" format="txt" label="Apt-probeset genotype summary file" />
b8549f504829 Uploaded
greg
parents:
diff changeset
38 <param name="snp_posteriors" type="data" format="txt" label="Apt-probeset genotype snp-posteriors file" />
b8549f504829 Uploaded
greg
parents:
diff changeset
39 <param name="report" type="data" format="txt" label="Apt-probeset genotype report file" />
b8549f504829 Uploaded
greg
parents:
diff changeset
40 <param name="confidences" type="data" format="txt" label="Apt-probeset genotype confidences file" />
b8549f504829 Uploaded
greg
parents:
diff changeset
41 <param name="calls" type="data" format="txt" label="Apt-probeset genotype calls file" />
b8549f504829 Uploaded
greg
parents:
diff changeset
42 <conditional name="reference_genome_source_cond">
b8549f504829 Uploaded
greg
parents:
diff changeset
43 <param name="reference_genome_source" type="select" label="Choose the source for the reference genome">
b8549f504829 Uploaded
greg
parents:
diff changeset
44 <option value="history" selected="true">Use a reference genome from my history</option>
b8549f504829 Uploaded
greg
parents:
diff changeset
45 <option value="cached">Use a locally cached genome index</option>
b8549f504829 Uploaded
greg
parents:
diff changeset
46 </param>
b8549f504829 Uploaded
greg
parents:
diff changeset
47 <when value="history">
b8549f504829 Uploaded
greg
parents:
diff changeset
48 <param name="history_item" type="data" format="fasta" label="Select reference genome" />
b8549f504829 Uploaded
greg
parents:
diff changeset
49 </when>
b8549f504829 Uploaded
greg
parents:
diff changeset
50 <when value="cached">
b8549f504829 Uploaded
greg
parents:
diff changeset
51 <param name="locally_cached_item" type="select" format="fasta" label="Fasta reference sequence">
b8549f504829 Uploaded
greg
parents:
diff changeset
52 <options from_data_table="all_fasta">
b8549f504829 Uploaded
greg
parents:
diff changeset
53 <column name="name" index="2"/>
b8549f504829 Uploaded
greg
parents:
diff changeset
54 <column name="value" index="0"/>
b8549f504829 Uploaded
greg
parents:
diff changeset
55 <column name="path" index="3"/>
b8549f504829 Uploaded
greg
parents:
diff changeset
56 <filter type="sort_by" column="1"/>
b8549f504829 Uploaded
greg
parents:
diff changeset
57 <validator type="no_options" message="No cached Fasta genome references are available for the build associated with the selected probeset annotation file." />
b8549f504829 Uploaded
greg
parents:
diff changeset
58 </options>
b8549f504829 Uploaded
greg
parents:
diff changeset
59 </param>
b8549f504829 Uploaded
greg
parents:
diff changeset
60 </when>
b8549f504829 Uploaded
greg
parents:
diff changeset
61 </conditional>
b8549f504829 Uploaded
greg
parents:
diff changeset
62 <conditional name="output_gender_estimate_cond">
b8549f504829 Uploaded
greg
parents:
diff changeset
63 <param name="output_gender_estimate" type="select" force_select="true" label="Output apt-probeset-genotype gender estimate?">
b8549f504829 Uploaded
greg
parents:
diff changeset
64 <option value="no" selected="true">No</option>
b8549f504829 Uploaded
greg
parents:
diff changeset
65 <option value="yes">Yes</option>
b8549f504829 Uploaded
greg
parents:
diff changeset
66 </param>
b8549f504829 Uploaded
greg
parents:
diff changeset
67 <when value="no"/>
b8549f504829 Uploaded
greg
parents:
diff changeset
68 <when value="yes"/>
b8549f504829 Uploaded
greg
parents:
diff changeset
69 </conditional>
b8549f504829 Uploaded
greg
parents:
diff changeset
70 <param name="append_version" type="select" force_select="true" label="Append version and command line to the header?">
b8549f504829 Uploaded
greg
parents:
diff changeset
71 <option value="no" selected="true">No</option>
b8549f504829 Uploaded
greg
parents:
diff changeset
72 <option value="yes">Yes</option>
b8549f504829 Uploaded
greg
parents:
diff changeset
73 </param>
b8549f504829 Uploaded
greg
parents:
diff changeset
74 <param name="output_type" type="select" force_select="true" label="Select format for output">
b8549f504829 Uploaded
greg
parents:
diff changeset
75 <option value="v" selected="true">Uncompressed VCF</option>
b8549f504829 Uploaded
greg
parents:
diff changeset
76 <option value="z">Compressed VCF</option>
b8549f504829 Uploaded
greg
parents:
diff changeset
77 <option value="u" selected="true">Uncompressed BCF</option>
b8549f504829 Uploaded
greg
parents:
diff changeset
78 <option value="b">Compressed BCF</option>
b8549f504829 Uploaded
greg
parents:
diff changeset
79 </param>
b8549f504829 Uploaded
greg
parents:
diff changeset
80 </inputs>
b8549f504829 Uploaded
greg
parents:
diff changeset
81 <outputs>
b8549f504829 Uploaded
greg
parents:
diff changeset
82 <expand macro="vcf_output"/>
b8549f504829 Uploaded
greg
parents:
diff changeset
83 <data name="output_gender_estimate" format="txt" label="${tool.name} (gender estimate) on ${on_string}">
b8549f504829 Uploaded
greg
parents:
diff changeset
84 <filter>output_gender_estimate_cond['output_gender_estimate'] == "yes"</filter>
b8549f504829 Uploaded
greg
parents:
diff changeset
85 </data>
b8549f504829 Uploaded
greg
parents:
diff changeset
86 </outputs>
b8549f504829 Uploaded
greg
parents:
diff changeset
87 <tests>
b8549f504829 Uploaded
greg
parents:
diff changeset
88 <test>
b8549f504829 Uploaded
greg
parents:
diff changeset
89 <param name="reference_genome_source" value="history"/>
b8549f504829 Uploaded
greg
parents:
diff changeset
90 <param name="history_item" value="GCF_000222465.1_Adig_1.1_genomic.fna" ftype="fasta"/>
b8549f504829 Uploaded
greg
parents:
diff changeset
91 <param name="annot" value="Axion_Acropsnp_coral_Annotation_r1.csv" ftype="csv"/>
b8549f504829 Uploaded
greg
parents:
diff changeset
92 <param name="summary" value="AxiomGT1.summary.txt" ftype="txt"/>
b8549f504829 Uploaded
greg
parents:
diff changeset
93 <param name="snp_posteriors" value="AxiomGT1.snp-posteriors.txt" ftype="txt"/>
b8549f504829 Uploaded
greg
parents:
diff changeset
94 <param name="report" value="AxiomGT1.report.txt" ftype="txt"/>
b8549f504829 Uploaded
greg
parents:
diff changeset
95 <param name="confidences" value="AxiomGT1.confidences.txt" ftype="txt"/>
b8549f504829 Uploaded
greg
parents:
diff changeset
96 <param name="calls" value="AxiomGT1.calls.txt" ftype="txt"/>
b8549f504829 Uploaded
greg
parents:
diff changeset
97 <output name="output" value="output.vcf" ftype="vcf"/>
b8549f504829 Uploaded
greg
parents:
diff changeset
98 </test>
b8549f504829 Uploaded
greg
parents:
diff changeset
99 </tests>
b8549f504829 Uploaded
greg
parents:
diff changeset
100 <help>
b8549f504829 Uploaded
greg
parents:
diff changeset
101 This tool converts Affymetrix genotype calls and intensity files to VCF format.
b8549f504829 Uploaded
greg
parents:
diff changeset
102
b8549f504829 Uploaded
greg
parents:
diff changeset
103 -----
b8549f504829 Uploaded
greg
parents:
diff changeset
104
b8549f504829 Uploaded
greg
parents:
diff changeset
105 **Required options**
b8549f504829 Uploaded
greg
parents:
diff changeset
106
b8549f504829 Uploaded
greg
parents:
diff changeset
107 * **Probeset annotation file** - probeset annotation file produced by the sequencing run.
b8549f504829 Uploaded
greg
parents:
diff changeset
108 * **Apt-probeset genotype summary file** - apt-probeset genotype summary file produced by the sequencing run.
b8549f504829 Uploaded
greg
parents:
diff changeset
109 * **Apt-probeset genotype snp-posteriors file** - apt-probeset genotype snp-posteriors file produced by the sequencing run.
b8549f504829 Uploaded
greg
parents:
diff changeset
110 * **Apt-probeset genotype report file** - apt-probeset genotype report file produced by the sequencing run.
b8549f504829 Uploaded
greg
parents:
diff changeset
111 * **Apt-probeset genotype confidences file** - apt-probeset genotype confidences file produced by the sequencing run.
b8549f504829 Uploaded
greg
parents:
diff changeset
112 * **Apt-probeset genotype calls file** - apt-probeset genotype calls file produced by the sequencing run.
b8549f504829 Uploaded
greg
parents:
diff changeset
113 * **Choose the source for the reference genome** - select a reference genome from your history or one installed into your local Galaxy environment by a data manager tool.
b8549f504829 Uploaded
greg
parents:
diff changeset
114
b8549f504829 Uploaded
greg
parents:
diff changeset
115 **Other options**
b8549f504829 Uploaded
greg
parents:
diff changeset
116
b8549f504829 Uploaded
greg
parents:
diff changeset
117 * **Output apt-probeset-genotype gender estimate** - output apt-probeset-genotype gender estimate into an additional dataset.
b8549f504829 Uploaded
greg
parents:
diff changeset
118 * **Append version and command line to the header** - append version and command line to the header of the output VCF dataset.
b8549f504829 Uploaded
greg
parents:
diff changeset
119 * **Select format for output** - select one of uncompressed/compressed VCF/BCF.
b8549f504829 Uploaded
greg
parents:
diff changeset
120 </help>
b8549f504829 Uploaded
greg
parents:
diff changeset
121 <citations>
b8549f504829 Uploaded
greg
parents:
diff changeset
122 <expand macro="citation1"/>
b8549f504829 Uploaded
greg
parents:
diff changeset
123 <citation type="bibtex">
b8549f504829 Uploaded
greg
parents:
diff changeset
124 @misc{None,
b8549f504829 Uploaded
greg
parents:
diff changeset
125 journal = {None},
b8549f504829 Uploaded
greg
parents:
diff changeset
126 author = {Genovese, Giulio},
b8549f504829 Uploaded
greg
parents:
diff changeset
127 title = {None},
b8549f504829 Uploaded
greg
parents:
diff changeset
128 year = {None},
b8549f504829 Uploaded
greg
parents:
diff changeset
129 url = {https://github.com/freeseek/gtc2vcf},}
b8549f504829 Uploaded
greg
parents:
diff changeset
130 </citation>
b8549f504829 Uploaded
greg
parents:
diff changeset
131 </citations>
b8549f504829 Uploaded
greg
parents:
diff changeset
132 </tool>