# HG changeset patch # User mini # Date 1412158873 -7200 # Node ID ca84a74ff567913d0ccc10263862d378dde4220d # Parent 3421b0fbec61beffd36f10fe928737e3f3d0f92f corriging bug in environment variable diff -r 3421b0fbec61 -r ca84a74ff567 strelka.xml --- a/strelka.xml Tue Sep 30 11:44:07 2014 +0200 +++ b/strelka.xml Wed Oct 01 12:21:13 2014 +0200 @@ -2,7 +2,7 @@ Strelka - SCRIPT_PATH + SCRIPT_PATH_STRELKA samtools vcftools diff -r 3421b0fbec61 -r ca84a74ff567 strelka_wrapper.py --- a/strelka_wrapper.py Tue Sep 30 11:44:07 2014 +0200 +++ b/strelka_wrapper.py Wed Oct 01 12:21:13 2014 +0200 @@ -7,7 +7,6 @@ """ A wrapper script for running the GenomeAnalysisTK.jar commands. """ - from __future__ import print_function import sys, argparse, os, tempfile, subprocess, shutil from binascii import unhexlify @@ -58,7 +57,6 @@ my_Popen( command, "fasta_index_stderr", tmp_dir, "Error during indexation of fasta file :" + fasta_filename) def __main__(): - #Manage options parser = argparse.ArgumentParser() parser.add_argument( '-t', '--tumorBam', help='path to tumor bam file', required = False ) @@ -96,7 +94,7 @@ tmp_dir = tempfile.mkdtemp( prefix='tmp-strelkaAnalysis-' ) config_ini = "%s/config.ini" % (tmp_dir) - #print("root_dir: " + root_dir + "\njob_dir :" + job_dir + "\nanalysis_dir :" + analysis_dir + "\nconfig_script :" + config_script + "\ntmp_dir :" + tmp_dir + "\nconfig_ini :" + config_ini) + print("root_dir: " + root_dir + "\njob_dir :" + job_dir + "\nanalysis_dir :" + analysis_dir + "\nconfig_script :" + config_script + "\ntmp_dir :" + tmp_dir + "\nconfig_ini :" + config_ini) #verifying eveything's ok @@ -142,3 +140,5 @@ my_Popen( cmd, "workflow_stderr", tmp_dir, "Error during workflow execution !") print("**** completed workflow execution") +if __name__=='__main__': + __main__() diff -r 3421b0fbec61 -r ca84a74ff567 tool_dependencies.xml --- a/tool_dependencies.xml Tue Sep 30 11:44:07 2014 +0200 +++ b/tool_dependencies.xml Wed Oct 01 12:21:13 2014 +0200 @@ -1,7 +1,7 @@ - + - $REPOSITORY_INSTALL_DIR + $REPOSITORY_INSTALL_DIR