# HG changeset patch # User dereeper # Date 1705930262 0 # Node ID d9c73778f0e2ea7c028827eaac6fe1d671621a01 # Parent 88ea6f8f664ed110a00e5c489317c857a7da2a64 Deleted selected files diff -r 88ea6f8f664e -r d9c73778f0e2 tassel.sh --- a/tassel.sh Tue Jan 16 10:59:25 2024 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,46 +0,0 @@ -#!/bin/bash - -analyseType=$1; -out1=$2; -out2=$3; -out3=$4; -log1=$5; -galaxyOutDir=$6; - -version=$(java -version 2>&1 | grep version) - -mkdir $galaxyOutDir - -# Suppression des 6 premiers arguments de la liste des arguments $@ -shift; shift; shift; shift; shift; shift; - - -if [[ $analyseType == glm ]] -then - run_pipeline.pl $* >> $log1 2>&1 - mv "$galaxyOutDir/TASSELGLM1.txt" $out1 - if [ $? -gt 0 ] ; then exit 1 ; fi ##check the run of commands - mv "$galaxyOutDir/TASSELGLM2.txt" $out2 -fi - -if [[ $analyseType == mlm ]] -then - run_pipeline.pl $* >> $log1 2>&1 - mv "$galaxyOutDir/TASSELMLM1.txt" $out1 - if [ $? -gt 0 ] ; then exit 1 ; fi ##check the run of commands - mv "$galaxyOutDir/TASSELMLM2.txt" $out2 - mv "$galaxyOutDir/TASSELMLM3.txt" $out3 -fi - -if [[ $analyseType == ld ]] -then - run_pipeline.pl $* >> $log1 2>&1 -fi - - -if [[ $analyseType == ck ]] -then - run_pipeline.pl $* >> $log1 2>&1 - mv "$galaxyOutDir/kinship.txt" $out1 - if [ $? -gt 0 ] ; then exit 1 ; fi ##check the run of commands -fi