# HG changeset patch # User sanbi-uwc # Date 1537265573 14400 # Node ID 557cc7904a2b2f50a935c4654b504c69d5417ca6 # Parent f25ff17454f4ce2b2e9d05d24a4fac10c9a04a8c planemo upload for repository https://github.com/CPGRZA/cpgr_ancestry commit 72b6cb6029a3979b51e796a8c210fcf903cf7b23-dirty diff -r f25ff17454f4 -r 557cc7904a2b shapeit_phase.xml --- 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 @@ - + genomic data with or without reference panel @@ -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 &&