5
|
1 <tool id="vcf_snp" name="vcf to snp" version="0.3">
|
1
|
2 <description>vcf to snp for fasta</description>
|
|
3 <requirements>
|
|
4 <!-- Should just use the filter snp that's installed in the path -->
|
|
5
|
|
6 </requirements>
|
|
7
|
|
8 ## The command is a Cheetah template which allows some Python based syntax.
|
|
9 ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces
|
|
10 ## ! We only have a simple single command here.
|
|
11
|
5
|
12 <command interpreter="/usr/local/anaconda/bin/python">
|
1
|
13 vcf_snp.py
|
|
14 -s ${vcf}
|
3
|
15 -o output.txt
|
1
|
16
|
|
17 </command>
|
|
18
|
|
19 <inputs>
|
|
20 <param name="vcf" type="data" label="vcf" help=""/>
|
|
21
|
|
22 </inputs>
|
|
23
|
|
24 <outputs>
|
5
|
25 <data format="tabular" name="output_file" label="${vcf}" from_work_dir="output.txt">
|
1
|
26 </data>
|
|
27 </outputs>
|
|
28
|
|
29 <tests>
|
|
30 <!-- Empty -->
|
|
31 </tests>
|
|
32
|
|
33 <help>
|
|
34
|
|
35 .. class:: infomark
|
|
36
|
|
37 **What it does**
|
|
38
|
3
|
39 Transforms a vcf into a snp tab file. Has to take the nucleotide from the reference column when identical.
|
1
|
40
|
|
41 -------------
|
|
42
|
|
43 .. class:: infomark
|
|
44
|
|
45 **Tool Author**
|
|
46
|
|
47 Brigida Rusconi
|
|
48
|
|
49
|
|
50 </help>
|
|
51 </tool> |