Mercurial > repos > mini > strelka
diff strelka_wrapper.py @ 17:8260a4188b08
solved conf_file.ini pb
author | mini |
---|---|
date | Wed, 01 Oct 2014 13:45:33 +0200 |
parents | ca84a74ff567 |
children | 3c10d88b55ad |
line wrap: on
line diff
--- a/strelka_wrapper.py Wed Oct 01 12:33:46 2014 +0200 +++ b/strelka_wrapper.py Wed Oct 01 13:45:33 2014 +0200 @@ -58,6 +58,7 @@ def __main__(): #Manage options + print(os.environ['PATH']) parser = argparse.ArgumentParser() parser.add_argument( '-t', '--tumorBam', help='path to tumor bam file', required = False ) parser.add_argument( '-n', '--normalBam', help='path to tumor bam file', required = False ) @@ -139,6 +140,10 @@ print("**** workflow cmd: '" + cmd + "'") my_Popen( cmd, "workflow_stderr", tmp_dir, "Error during workflow execution !") print("**** completed workflow execution") + + cmdbash="cp %s %s" % (config_ini, analysis_dir + "/config.ini") + my_Popen(cmdbash, "copy_final_conf_file_err", tmp_dir, "Error during the copy of conf file after job is done, quite strange...") + if __name__=='__main__': __main__()