diff MDSplot/mdsplot.sh @ 8:6bf69b40365c draft

Uploaded
author dereeper
date Wed, 07 Feb 2018 21:37:59 -0500
parents 10627af23f10
children
line wrap: on
line diff
--- a/MDSplot/mdsplot.sh	Wed Jun 15 09:35:15 2016 -0400
+++ b/MDSplot/mdsplot.sh	Wed Feb 07 21:37:59 2018 -0500
@@ -7,9 +7,15 @@
 fileout_matrix=$3
 fileout_plot=$4
 fileout_log=$5
+groups=$6
+
 
 rsync -a $ped input.ped 
 rsync -a $map input.map
+if [ -f $groups ]
+  then
+    cp -rf $groups input.individual_info.txt
+fi
 
 perl $tool_path/MDSbasedOnIBSmatrix.pl --in input --out $fileout_label