changeset 12:557cc7904a2b draft

planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty
author sanbi-uwc
date Tue, 18 Sep 2018 06:12:53 -0400
parents f25ff17454f4
children b69dadabf671
files shapeit_phase.xml
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/shapeit_phase.xml	Tue Sep 18 05:50:58 2018 -0400
+++ b/shapeit_phase.xml	Tue Sep 18 06:12:53 2018 -0400
@@ -1,4 +1,4 @@
-<tool id="shapeit_phase" name="shapeit_phase" version="0.10.0">
+<tool id="shapeit_phase" name="shapeit_phase" version="0.11.0">
     <description>genomic data with or without reference panel</description>
 
     <requirements>
@@ -30,12 +30,12 @@
             exit 1 ;
           fi &&
           HAP="\${REF_DIR}/\${REF_PREFIX}\${PART}.hap.gz" &&
-          if [ -f "\$HAP" ] ; then
+          if [ ! -f "\$HAP" ] ; then
             echo "Failed to find valid .hap file at \$HAP" >&2 &&
             exit 1 ;
           fi &&
           LEGEND="\${REF_DIR}/\${REF_PREFIX}\${PART}.legend.gz" &&
-          if [ -f "\$LEGEND" ] ; then 
+          if [ ! -f "\$LEGEND" ] ; then 
             echo "Failed to find valid .legend file at \$LEGEND" >&2 &&
             exit 1 ;
           fi &&