|
0
|
1 <tool id="affr2vcf" name="Convert Affymetrix" version="1.9">
|
|
|
2 <description>genotype calls and intensities to VCF</description>
|
|
|
3 <requirements>
|
|
|
4 <requirement type="package" version="1.9">bcftools-gtc2vcf-plugin</requirement>
|
|
|
5 </requirements>
|
|
|
6 <command detect_errors="exit_code"><![CDATA[
|
|
|
7 #set text_outputs_dir = 'text_outputs'
|
|
|
8 mkdir $text_outputs_dir &&
|
|
|
9 bcftools +affy2vcf.so
|
|
|
10 -- fasta_ref '$fasta_ref'
|
|
|
11 --annot '$annot'
|
|
|
12 --snp-posteriors '$text_outputs_dir/snp_posteriors.txt'
|
|
|
13 --summary '$text_outputs_dir/summary.txt'
|
|
|
14 --report '$text_outputs_dir/report.txt'
|
|
|
15 --calls '$text_outputs_dir/calls.txt'
|
|
|
16 --confidences '$text_outputs_dir/confidences.txt'
|
|
|
17 if str($output_gender_estimate_cond.output_gender_estimate) == "yes"
|
|
|
18 --sex '$text_outputs_dir/gender_estimate.txt'
|
|
|
19 #end if
|
|
|
20 #if str($append_version) == "no":
|
|
|
21 --no-version
|
|
|
22 #end if
|
|
|
23 --output '$output'
|
|
|
24 --output_type $output_type
|
|
|
25 --threads \${GALAXY_SLOTS:-4}
|
|
|
26 ]]></command>
|
|
|
27 <inputs>
|
|
|
28 <param name="fasta_ref" type="data" format="fasta" label="Fasta reference sequence" />
|
|
|
29 <param name="annot" type="data" format="csv" label="Probeset annotation file" />
|
|
|
30 <conditional name="output_gender_estimate_cond">
|
|
|
31 <param name="output_gender_estimate" type="select" force_select="true" label="Output apt-probeset-genotype gender estimate?">
|
|
|
32 <option value="no" selected="true">No</option>
|
|
|
33 <option value="yes">Yes</option>
|
|
|
34 </param>
|
|
|
35 <when value="no" />
|
|
|
36 <when value="yes"/>
|
|
|
37 </conditional>
|
|
|
38 <conditional name="append_version_cond">
|
|
|
39 <param name="append_version" type="select" force_select="true" label="Append version and command line to the header?">
|
|
|
40 <option value="no" selected="true">No</option>
|
|
|
41 <option value="yes">Yes</option>
|
|
|
42 </param>
|
|
|
43 <when value="no" />
|
|
|
44 <when value="yes"/>
|
|
|
45 </conditional>
|
|
|
46 </inputs>
|
|
|
47 <outputs>
|
|
|
48 <collection name="txt_outputs" type="list" label="${tool.name} (reports) on ${on_string}">
|
|
|
49 <discover_datasets pattern="__name__" directory="output" format="txt" />
|
|
|
50 </collection>
|
|
|
51 <data name="output" format="vcf" />
|
|
|
52 </outputs>
|
|
|
53 <tests>
|
|
|
54 <test>
|
|
|
55 </test>
|
|
|
56 </tests>
|
|
|
57 <help>
|
|
|
58 This tool converts Affymetrix genotype calls and intensity files to VCF format.
|
|
|
59
|
|
|
60 -----
|
|
|
61
|
|
|
62 **Required options**
|
|
|
63
|
|
|
64 **Other options**
|
|
|
65 </help>
|
|
|
66 <citations>
|
|
|
67 <citation type="bibtex">
|
|
|
68 @misc{None,
|
|
|
69 journal = {None},
|
|
|
70 author = {Genovese, Giulio},
|
|
|
71 title = {None},
|
|
|
72 year = {None},
|
|
|
73 url = {https://github.com/freeseek/gtc2vcf},}
|
|
|
74 </citation>
|
|
|
75 </citations>
|
|
|
76 </tool>
|