diff snp_to_bed.xml @ 1:c5195904b225 draft

changed output to bed format
author brigidar
date Mon, 09 Nov 2015 14:56:21 -0500
parents 9c02f5e8e657
children 8220dba15923
line wrap: on
line diff
--- a/snp_to_bed.xml	Wed Oct 07 15:17:51 2015 -0400
+++ b/snp_to_bed.xml	Mon Nov 09 14:56:21 2015 -0500
@@ -1,12 +1,12 @@
-<tool id="snp_to_bed" name="snp location to bed format" version="0.1">
-    <description>removes unwanted column</description>
+<tool id="snp_to_bed" name="snp location to bed format" version="0.3">
+    <description>convert SNP to interval</description>
     <command>
         cat $input1 | sed '1d'| awk -F "\t" -v OFS="\t" '{print $1, $2-1, $2}'>> $out_file1  </command>
     <inputs>
         <param name="input1" type="data" label="input file"/>
     </inputs>
     <outputs>
-        <data name="out_file1" format="input" metadata_source="input1"/>
+        <data name="out_file1" format="bed" metadata_source="input1"/>
     </outputs>
     <tests>
     </tests>