comparison MDSplot/mdsplot.sh @ 21:50bd37c444ac draft

Uploaded
author dereeper
date Mon, 23 Mar 2015 05:35:48 -0400
parents a0a95688cf17
children
comparison
equal deleted inserted replaced
20:13cff72ec2d3 21:50bd37c444ac
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