# HG changeset patch
# User dereeper
# Date 1705930284 0
# Node ID 93bccb57e4f4cafcd662f0a6cfeb6a93a437a326
# Parent d9c73778f0e2ea7c028827eaac6fe1d671621a01
Uploaded
diff -r d9c73778f0e2 -r 93bccb57e4f4 tassel.xml
--- a/tassel.xml Mon Jan 22 13:31:02 2024 +0000
+++ b/tassel.xml Mon Jan 22 13:31:24 2024 +0000
@@ -7,44 +7,23 @@
- $__tool_directory__/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
-
+
+#if $analysis_opts.fonction_selector == "ck":
+ mkdir tmpdir$$;run_pipeline.pl -fork1 -h $hapmap -ck -export tmpdir$$/output1.txt -runfork1 >>$log;mv tmpdir$$/output1.txt $output1;
+#else if $analysis_opts.fonction_selector == "ld":
+ mkdir tmpdir$$;run_pipeline.pl -fork1 -h $hapmap -ld -ldType All -ldd png -ldplotsize 3000 -o tmpdir$$/output1.png -runfork1 >>$log;mv tmpdir$$/output1.png $output1;
#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
+ #if $analysis_opts.add_file.additional_file_selector == "no":
+ mkdir tmpdir$$;run_pipeline.pl -fork1 -h $hapmap -filterAlign -filterAlignMinFreq $filterAlignMinFreq -fork2 -r $analysis_opts.trait -combineA -input1 -input2 -intersect -glm -export tmpdir$$/output -runfork1 -runfork2 >>$log;mv tmpdir$$/output1.txt $output1;mv tmpdir$$/output2.txt $output2;
+ #else if $analysis_opts.add_file.additional_file_selector == "yes":
+ mkdir tmpdir$$;run_pipeline.pl -fork1 -h $hapmap -filterAlign -filterAlignMinFreq $filterAlignMinFreq -fork2 -r $analysis_opts.trait -fork3 -q $analysis_opts.add_file.structure -excludeLastTrait -combineA -input1 -input2 -input3 -intersect -glm -export tmpdir$$/output -runfork1 -runfork2 -runfork3 >>$log;mv tmpdir$$/output1.txt $output1;mv tmpdir$$/output2.txt $output2;
#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
+#else if $analysis_opts.fonction_selector == "mlm":
+ #if $analysis_opts.add_structure_file.additional_file_selector == "no":
+ mkdir tmpdir$$;run_pipeline.pl -fork1 -h $hapmap -filterAlign -filterAlignMinFreq $filterAlignMinFreq -fork2 -r $analysis_opts.trait -fork4 -k $analysis_opts.kinship -combineA -input1 -input2 -intersect -combineB -inputA -input4 -mlm -mlmVarCompEst $analysis_opts.mlmVarCompEst -mlmCompressionLevel $analysis_opts.mlmCompressionLevel -export tmpdir$$/output -runfork1 -runfork2 -runfork4 >>$log;mv tmpdir$$/output4.txt $output1;mv tmpdir$$/output5.txt $output2;mv tmpdir$$/output6.txt $output3;
+ #else if $analysis_opts.add_structure_file.additional_file_selector == "yes":
+ mkdir tmpdir$$;run_pipeline.pl -fork1 -h $hapmap -filterAlign -filterAlignMinFreq $filterAlignMinFreq -fork2 -r $analysis_opts.trait -fork3 -q $analysis_opts.add_structure_file.structure -excludeLastTrait -fork4 -k $analysis_opts.kinship -combineA -input1 -input2 -input3 -intersect -combineB -inputA -input4 -mlm -mlmVarCompEst $analysis_opts.mlmVarCompEst -mlmCompressionLevel $analysis_opts.mlmCompressionLevel -export tmpdir$$/output -runfork1 -runfork2 -runfork3 -runfork4 >>$log;mv tmpdir$$/output4.txt $output1;mv tmpdir$$/output5.txt $output2;mv tmpdir$$/output6.txt $output3;
+ #end if
#end if
@@ -116,7 +95,6 @@
-