diff --git a/bin/xtea b/bin/xtea index ec1103b..d67984c 100755 --- a/bin/xtea +++ b/bin/xtea @@ -1269,6 +1269,8 @@ if __name__ == '__main__': b_denovo=options.denovo #### + s_wfolder = os.path.abspath(s_wfolder) + if s_wfolder[-1]!="/": s_wfolder+="/" if os.path.exists(s_wfolder) == False: diff --git a/bin/xtea_hg19 b/bin/xtea_hg19 index a87b5f5..1b2738f 100755 --- a/bin/xtea_hg19 +++ b/bin/xtea_hg19 @@ -4,6 +4,7 @@ import os from subprocess import * from optparse import OptionParser import ntpath + #import global_values ILLUMINA="illumina" X10="10X" @@ -1173,6 +1174,8 @@ if __name__ == '__main__': b_resume=options.resume b_denovo = options.denovo + s_wfolder = os.path.abspath(s_wfolder) + if s_wfolder[-1]!="/": s_wfolder+="/" if os.path.exists(s_wfolder) == False: diff --git a/bin/xtea_long b/bin/xtea_long index c69157a..2fbca23 100755 --- a/bin/xtea_long +++ b/bin/xtea_long @@ -484,6 +484,8 @@ if __name__ == '__main__': b_clean=options.clean i_peak_win = options.win #maximum window size when try to cluster the breakpoints + s_wfolder = os.path.abspath(s_wfolder) + if s_wfolder[-1]!="/": s_wfolder+="/" if os.path.exists(s_wfolder) == False: