diff snippy.xml @ 6:15f5a3074012 draft

Added snippy core and static binaries for linux and mac.
author simon-gladman
date Thu, 09 Jun 2016 20:15:42 -0400
parents ff31f16f5dfd
children
line wrap: on
line diff
--- a/snippy.xml	Tue Jun 07 03:41:47 2016 -0400
+++ b/snippy.xml	Thu Jun 09 20:15:42 2016 -0400
@@ -1,16 +1,10 @@
 <tool id="snippy" name="snippy" version="0.2.0">
-    <requirements>
+  <requirements>
       <requirement type="package" version="3.0">snippy</requirement>
-      <requirement type="package" version="1.2">samtools</requirement>
-      <requirement type="package" version="0_9_20_b040236">freebayes</requirement>
-      <requirement type="package" version="0.7.12">bwa</requirement>
-      <requirement type="package" version="0.1.11">vcftools</requirement>
-      <requirement type="package" version="4.0">snpeff</requirement>
-      <requirement type="package" version="8a5602bf07">vcflib</requirement>
-    </requirements>
-    <stdio>
-        <exit_code range="1:" />
-    </stdio>
+  </requirements>
+  <stdio>
+      <exit_code range="1:" />
+  </stdio>
 
     <command><![CDATA[
       #if str( $reftype.ref_type_selector ) == "fasta"
@@ -59,6 +53,10 @@
 
       gunzip out/snps.depth.gz
 
+      &&
+
+      tar -czf out.tgz out
+
 
     ]]></command>
     <inputs>
@@ -125,6 +123,7 @@
       <data format="bam" name="snpsbam" label="${tool.name} on ${on_string} mapped reads (bam)" from_work_dir="out/snps.bam">
         <filter>cleanup is False</filter>
       </data>
+      <data format="zip" name="outdir" label="${tool.name} on ${on_string} out dir" from_work_dir="out.tgz" />
     </outputs>
 
     <tests>
@@ -195,14 +194,13 @@
   --bwaopt [X]      Extra BWA MEM options, eg. -x pacbio (default '')
 
     ]]></help>
+  <citations>
+    <citation type="bibtex">@UNPUBLISHED{Seemann2013,
+      author = "Seemann T",
+      title = "snippy: fast bacterial variant calling from NGS reads",
+      year = "2015",
+      note = "https://github.com/tseemann/snippy"}</citation>
+  </citations>
 
-    <citations>
-      <citation type="bibtex">@UNPUBLISHED{Seemann2013,
-        author = "Seemann T",
-        title = "snippy: fast bacterial variant calling from NGS reads",
-        year = "2015",
-        note = "https://github.com/tseemann/snippy"}
-      </citation>
-    </citations>
 
 </tool>