Mercurial > repos > dereeper > sniplay
comparison MDSplot/mdsplot.sh @ 0:3e19d0dfcf3e draft
Uploaded
author | dereeper |
---|---|
date | Mon, 23 Mar 2015 05:57:27 -0400 |
parents | |
children | 10627af23f10 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3e19d0dfcf3e |
---|---|
1 #!/bin/bash | |
2 | |
3 tool_path=$(dirname $0) | |
4 ped=$1 | |
5 map=$2 | |
6 fileout_label=$3 | |
7 fileout_matrix=$4 | |
8 fileout_plot=$5 | |
9 fileout_log=$6 | |
10 | |
11 rsync -a $ped input.ped | |
12 rsync -a $map input.map | |
13 | |
14 perl $tool_path/MDSbasedOnIBSmatrix.pl --in input --out $fileout_label | |
15 | |
16 rm -f input.ped input.map | |
17 | |
18 cp $fileout_label.ibs_matrix.txt $fileout_matrix | |
19 cp $fileout_label.mds_plot.txt $fileout_plot | |
20 cp input.plink.log $fileout_log | |
21 | |
22 | |
23 rm -f $fileout_label.ibs_matrix.txt $fileout_label.mds_plot.txt input.plink.log |