comparison vcf_to_snp.xml @ 7:b617219a70b5 draft

new option
author brigidar
date Fri, 06 Nov 2015 15:17:20 -0500
parents d5725351bf22
children a9433c403e28
comparison
equal deleted inserted replaced
6:3a352cb57117 7:b617219a70b5
1 <tool id="vcf_snp" name="vcf to snp" version="0.3"> 1 <tool id="vcf_snp" name="vcf to snp" version="0.5">
2 <description>vcf to snp for fasta</description> 2 <description>vcf to snp for fasta</description>
3 <requirements> 3 <requirements>
4 <!-- Should just use the filter snp that's installed in the path --> 4 <!-- Should just use the filter snp that's installed in the path -->
5 5
6 </requirements> 6 </requirements>
7 7
8 ## The command is a Cheetah template which allows some Python based syntax. 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 9 ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces
10 ## ! We only have a simple single command here. 10 ## ! We only have a simple single command here.
11 11 <command interpreter="python">
12 <command interpreter="/usr/local/anaconda/bin/python">
13 vcf_snp.py 12 vcf_snp.py
14 -s ${vcf} 13 -s ${vcf}
15 -o output.txt 14 -p ${pos}
15 -o output.txt;
16 echo ${vcf.name} > name.txt;
17 cut -f2 output.txt >seq.txt;
18 paste name.txt seq.txt> output2.txt
16 19
17 </command> 20 </command>
18 21
19 <inputs> 22 <inputs>
20 <param name="vcf" type="data" label="vcf" help=""/> 23 <param name="vcf" type="data" label="vcf" help=""/>
24 <param name="pos" type="data" label="positions" help=""/>
21 25
22 </inputs> 26 </inputs>
23 27
24 <outputs> 28 <outputs>
25 <data format="tabular" name="output_file" label="${vcf}" from_work_dir="output.txt"> 29 <data format="tabular" name="output_file" label="${vcf}" from_work_dir="output2.txt">
26 </data> 30 </data>
27 </outputs> 31 </outputs>
28 32
29 <tests> 33 <tests>
30 <!-- Empty --> 34 <!-- Empty -->