comparison MDSplot/mdsplot.sh @ 24:21d878747ac6 draft default tip

Uploaded
author dereeper
date Mon, 23 Mar 2015 05:53:20 -0400
parents a0a95688cf17
children
comparison
equal deleted inserted replaced
23:a1ab979f4551 24:21d878747ac6
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