Mercurial > repos > dereeper > tassel5
comparison tassel/tassel.sh @ 0:0aeea77b924a draft
Uploaded
author | dereeper |
---|---|
date | Thu, 26 Feb 2015 01:15:36 -0500 |
parents | |
children | d8a46ae7ee8a |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:0aeea77b924a |
---|---|
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 |