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

Uploaded
author dereeper
date Mon, 23 Mar 2015 05:53:20 -0400
parents 4027928a1f4c
children
comparison
equal deleted inserted replaced
23:a1ab979f4551 24:21d878747ac6
1 #!/bin/bash
2
3 analyseType=$1;
4 out1=$2;
5 out2=$3;
6 out3=$4;
7 log1=$5;
8 galaxyOutDir=$6;
9
10
11 mkdir $galaxyOutDir
12
13 # Suppression des 6 premiers arguments de la liste des arguments $@
14 shift; shift; shift; shift; shift; shift;
15
16 if [[ $analyseType == glm ]]
17 then
18 run_pipeline.pl $* >> $log1 2>&1
19 mv "$galaxyOutDir/TASSELGLM1.txt" $out1
20 mv "$galaxyOutDir/TASSELGLM2.txt" $out2
21 fi
22
23 if [[ $analyseType == mlm ]]
24 then
25 run_pipeline.pl $* >> $log1 2>&1
26 mv "$galaxyOutDir/TASSELMLM1.txt" $out1
27 mv "$galaxyOutDir/TASSELMLM2.txt" $out2
28 mv "$galaxyOutDir/TASSELMLM3.txt" $out3
29 fi
30
31 if [[ $analyseType == ld ]]
32 then
33 run_pipeline.pl $* >> $log1 2>&1
34 fi
35
36
37 if [[ $analyseType == ck ]]
38 then
39 run_pipeline.pl $* >> $log1 2>&1
40 mv "$galaxyOutDir/kinship.txt" $out1
41 fi