annotate affy2vcf.xml @ 3:6274184a8b84 draft default tip

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