Mercurial > repos > dereeper > sniplay
view MDSplot/mdsplot.sh @ 10:c6640c49fd01 draft
planemo upload commit 475f4d7d8442a0d75e103af326ae5881c4d2a4ac
author | dereeper |
---|---|
date | Mon, 16 Apr 2018 09:00:24 -0400 |
parents | 6bf69b40365c |
children |
line wrap: on
line source
#!/bin/bash tool_path=$(dirname $0) ped=$1 map=$2 fileout_label=$(date "+%Y%m%d%H%M%S") 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 rm -f input.ped input.map cp $fileout_label.ibs_matrix.txt $fileout_matrix cp $fileout_label.mds_plot.txt $fileout_plot cp input.plink.log $fileout_log rm -f $fileout_label.ibs_matrix.txt $fileout_label.mds_plot.txt input.plink.log