diff samtools_phase.xml @ 1:8bfe0d1616d2 draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/samtools/samtools_phase commit a1517c9d22029095120643bbe2c8fa53754dd2b7
author devteam
date Wed, 11 Nov 2015 12:53:49 -0500
parents cba1944e3ed0
children 6166013090c0
line wrap: on
line diff
--- a/samtools_phase.xml	Thu Mar 27 15:26:17 2014 -0400
+++ b/samtools_phase.xml	Wed Nov 11 12:53:49 2015 -0500
@@ -1,8 +1,11 @@
-<tool id="samtools_phase" name="Call and phase" version="1.0.0">
+<tool id="samtools_phase" name="Call and phase" version="2.0">
     <description>heterozygous SNPs</description>
-    <requirements>
-        <requirement type="package" version="0.1.19">samtools</requirement>
-    </requirements>
+    <macros>
+    <import>macros.xml</import>
+  </macros>
+  <expand macro="requirements"></expand>
+  <expand macro="stdio"></expand>
+  <expand macro="version_command"></expand>
     <command>samtools phase -b "phase_wrapper"
         #if str($option_set.option_sets) == 'advanced':
             ${option_set.ignore_chimeras}
@@ -16,9 +19,6 @@
         #end if
         "$input_bam" &gt; "$phase_sets"
     </command>
-    <stdio>
-        <exit_code range="1:" level="fatal" description="Error" />
-    </stdio>
     <inputs>
         <param format="bam" name="input_bam" type="data" label="Select dataset to phase"/>
         <conditional name="option_set">
@@ -125,14 +125,6 @@
      - Drop reads with ambiguous phase
      - *off*
 
-------
-
-**Citation**
-
-For the underlying tool, please cite `Li H, Handsaker B, Wysoker A, Fennell T, Ruan J, Homer N, Marth G, Abecasis G, Durbin R; 1000 Genome Project Data Processing Subgroup. The Sequence Alignment/Map format and SAMtools. Bioinformatics. 2009 Aug 15;25(16):2078-9. &lt;http://www.ncbi.nlm.nih.gov/pubmed/19505943&gt;`_
-
-
-If you use this tool in Galaxy, please cite Blankenberg D, et al. *In preparation.*
-
-        </help>
+    </help>
+    <expand macro="citations"></expand>
 </tool>