# HG changeset patch # User dereeper # Date 1509614370 14400 # Node ID 0eebff4180d96a6ee4c70810a2ed000087bddc93 # Parent d8a46ae7ee8aaac2ba5171c514adb0517b25c9b5 Uploaded diff -r d8a46ae7ee8a -r 0eebff4180d9 tassel.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tassel.sh Thu Nov 02 05:19:30 2017 -0400 @@ -0,0 +1,47 @@ +#!/bin/bash + +analyseType=$1; +out1=$2; +out2=$3; +out3=$4; +log1=$5; +galaxyOutDir=$6; + +version=$(java -version 2>&1 | grep version) +if [[ ! $version =~ 1.8 ]]; then + echo "Java found: $version. Tassel 5.0 requires java 1.8..." >&2 + exit 1 +fi + +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 + mv "$galaxyOutDir/TASSELGLM2.txt" $out2 +fi + +if [[ $analyseType == mlm ]] +then + run_pipeline.pl $* >> $log1 2>&1 + mv "$galaxyOutDir/TASSELMLM1.txt" $out1 + 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 +fi diff -r d8a46ae7ee8a -r 0eebff4180d9 tassel.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tassel.xml Thu Nov 02 05:19:30 2017 -0400 @@ -0,0 +1,153 @@ + + Software package to evaluate traits associations, evolutionary patterns, and linkage disequilibrium. + + tassel + + ./tassel.sh $analysis_opts.fonction_selector $output1 $output2 $output3 $log tmpdir$$/ +#if $analysis_opts.fonction_selector == "mlm": + -fork1 -h $hapmap -filterAlign -filterAlignMinFreq $filterAlignMinFreq + -fork2 -r $analysis_opts.trait + #if $analysis_opts.add_structure_file.additional_file_selector == "yes": + -fork3 -q $analysis_opts.add_structure_file.structure -excludeLastTrait + #end if + -fork4 -k $analysis_opts.kinship + -combineA -input1 -input2 + #if $analysis_opts.add_structure_file.additional_file_selector == "yes": + -input3 + #end if + -intersect -combineB -inputA -input4 -mlm -mlmVarCompEst $analysis_opts.mlmVarCompEst -mlmCompressionLevel $analysis_opts.mlmCompressionLevel -export tmpdir$$/TASSELMLM -runfork1 -runfork2 + #if $analysis_opts.add_structure_file.additional_file_selector == "yes": + -runfork3 + #end if + -runfork4 + +#else if $analysis_opts.fonction_selector == "glm": + -fork1 -h $hapmap -filterAlign -filterAlignMinFreq $filterAlignMinFreq + -fork2 -r $analysis_opts.trait + #if $analysis_opts.add_file.additional_file_selector == "yes": + -fork3 -q $analysis_opts.add_file.structure -excludeLastTrait + #end if + -combineA -input1 -input2 + #if $analysis_opts.add_file.additional_file_selector == "yes": + -input3 + #end if + -intersect -glm -export tmpdir$$/TASSELGLM -runfork1 -runfork2 + #if $analysis_opts.add_file.additional_file_selector == "yes": + -runfork3 + #end if +#else if $analysis_opts.fonction_selector == "ld": + -fork1 -h $hapmap + -ld -ldType All -ldd png -ldplotsize 3000 -o $output1 -runfork1 +#else if $analysis_opts.fonction_selector == "ck": + -fork1 -h $hapmap + -ck -export tmpdir$$/kinship -runfork1 +#end if + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + analysis_opts['fonction_selector'] == "glm" or analysis_opts['fonction_selector'] == "mlm" + + + + analysis_opts['fonction_selector'] == "mlm" + + + + + + +.. class:: infomark + +**Program encapsulated in Galaxy by Southgreen** + +.. class:: infomark + +**Tassel** + +----- + +========== + Authors: +========== + +**Terry Casstevens** + +----- + +========== + Overview +========== + +Software package to evaluate traits associations, evolutionary patterns, and linkage disequilibrium. + +----- + +For further informations, please visite the website of TASSEL_. + + +.. _TASSEL: http://www.maizegenetics.net/tassel/ + + + + diff -r d8a46ae7ee8a -r 0eebff4180d9 tassel/tassel.sh --- a/tassel/tassel.sh Fri Jul 03 04:37:26 2015 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,47 +0,0 @@ -#!/bin/bash - -analyseType=$1; -out1=$2; -out2=$3; -out3=$4; -log1=$5; -galaxyOutDir=$6; - -version=$(java -version 2>&1 | grep version) -if [[ ! $version =~ 1.8 ]]; then - echo "Java found: $version. Tassel 5.0 requires java 1.8..." >&2 - exit 1 -fi - -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 - mv "$galaxyOutDir/TASSELGLM2.txt" $out2 -fi - -if [[ $analyseType == mlm ]] -then - run_pipeline.pl $* >> $log1 2>&1 - mv "$galaxyOutDir/TASSELMLM1.txt" $out1 - 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 -fi diff -r d8a46ae7ee8a -r 0eebff4180d9 tassel/tassel.xml --- a/tassel/tassel.xml Fri Jul 03 04:37:26 2015 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,153 +0,0 @@ - - Software package to evaluate traits associations, evolutionary patterns, and linkage disequilibrium. - - tassel - - ./tassel.sh $analysis_opts.fonction_selector $output1 $output2 $output3 $log tmpdir$$/ -#if $analysis_opts.fonction_selector == "mlm": - -fork1 -h $hapmap -filterAlign -filterAlignMinFreq $filterAlignMinFreq - -fork2 -r $analysis_opts.trait - #if $analysis_opts.add_structure_file.additional_file_selector == "yes": - -fork3 -q $analysis_opts.add_structure_file.structure -excludeLastTrait - #end if - -fork4 -k $analysis_opts.kinship - -combineA -input1 -input2 - #if $analysis_opts.add_structure_file.additional_file_selector == "yes": - -input3 - #end if - -intersect -combineB -inputA -input4 -mlm -mlmVarCompEst $analysis_opts.mlmVarCompEst -mlmCompressionLevel $analysis_opts.mlmCompressionLevel -export tmpdir$$/TASSELMLM -runfork1 -runfork2 - #if $analysis_opts.add_structure_file.additional_file_selector == "yes": - -runfork3 - #end if - -runfork4 - -#else if $analysis_opts.fonction_selector == "glm": - -fork1 -h $hapmap -filterAlign -filterAlignMinFreq $filterAlignMinFreq - -fork2 -r $analysis_opts.trait - #if $analysis_opts.add_file.additional_file_selector == "yes": - -fork3 -q $analysis_opts.add_file.structure -excludeLastTrait - #end if - -combineA -input1 -input2 - #if $analysis_opts.add_file.additional_file_selector == "yes": - -input3 - #end if - -intersect -glm -export tmpdir$$/TASSELGLM -runfork1 -runfork2 - #if $analysis_opts.add_file.additional_file_selector == "yes": - -runfork3 - #end if -#else if $analysis_opts.fonction_selector == "ld": - -fork1 -h $hapmap - -ld -ldType All -ldd png -ldplotsize 3000 -o $output1 -runfork1 -#else if $analysis_opts.fonction_selector == "ck": - -fork1 -h $hapmap - -ck -export tmpdir$$/kinship -runfork1 -#end if - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - analysis_opts['fonction_selector'] == "glm" or analysis_opts['fonction_selector'] == "mlm" - - - - analysis_opts['fonction_selector'] == "mlm" - - - - - - -.. class:: infomark - -**Program encapsulated in Galaxy by Southgreen** - -.. class:: infomark - -**Tassel** - ------ - -========== - Authors: -========== - -**Terry Casstevens** - ------ - -========== - Overview -========== - -Software package to evaluate traits associations, evolutionary patterns, and linkage disequilibrium. - ------ - -For further informations, please visite the website of TASSEL_. - - -.. _TASSEL: http://www.maizegenetics.net/tassel/ - - - - diff -r d8a46ae7ee8a -r 0eebff4180d9 tassel/tool-data/tool_dependencies.xml --- a/tassel/tool-data/tool_dependencies.xml Fri Jul 03 04:37:26 2015 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ - - - - - - - -