annotate vcf_to_snp.xml @ 7:b617219a70b5 draft

new option
author brigidar
date Fri, 06 Nov 2015 15:17:20 -0500
parents d5725351bf22
children a9433c403e28
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
b617219a70b5 new option
brigidar
parents: 5
diff changeset
1 <tool id="vcf_snp" name="vcf to snp" version="0.5">
1
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
2 <description>vcf to snp for fasta</description>
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
3 <requirements>
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
4 <!-- Should just use the filter snp that's installed in the path -->
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
5
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
6 </requirements>
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
7
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
8 ## The command is a Cheetah template which allows some Python based syntax.
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
9 ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
10 ## ! We only have a simple single command here.
7
b617219a70b5 new option
brigidar
parents: 5
diff changeset
11 <command interpreter="python">
1
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
12 vcf_snp.py
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
13 -s ${vcf}
7
b617219a70b5 new option
brigidar
parents: 5
diff changeset
14 -p ${pos}
b617219a70b5 new option
brigidar
parents: 5
diff changeset
15 -o output.txt;
b617219a70b5 new option
brigidar
parents: 5
diff changeset
16 echo ${vcf.name} > name.txt;
b617219a70b5 new option
brigidar
parents: 5
diff changeset
17 cut -f2 output.txt >seq.txt;
b617219a70b5 new option
brigidar
parents: 5
diff changeset
18 paste name.txt seq.txt> output2.txt
1
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
19
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
20 </command>
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
21
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
22 <inputs>
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
23 <param name="vcf" type="data" label="vcf" help=""/>
7
b617219a70b5 new option
brigidar
parents: 5
diff changeset
24 <param name="pos" type="data" label="positions" help=""/>
1
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
25
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
26 </inputs>
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
27
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
28 <outputs>
7
b617219a70b5 new option
brigidar
parents: 5
diff changeset
29 <data format="tabular" name="output_file" label="${vcf}" from_work_dir="output2.txt">
1
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
30 </data>
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
31 </outputs>
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
32
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
33 <tests>
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
34 <!-- Empty -->
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
35 </tests>
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
36
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
37 <help>
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
38
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
39 .. class:: infomark
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
40
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
41 **What it does**
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
42
3
a928631d8297 new wrapper
brigidar
parents: 1
diff changeset
43 Transforms a vcf into a snp tab file. Has to take the nucleotide from the reference column when identical.
1
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
44
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
45 -------------
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
46
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
47 .. class:: infomark
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
48
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
49 **Tool Author**
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
50
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
51 Brigida Rusconi
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
52
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
53
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
54 </help>
032d2c8cf8ae Uploaded
brigidar
parents:
diff changeset
55 </tool>