annotate affy2vcf.xml @ 1:a2f0931898be draft

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