Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent broken symlinks #97

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions bin/xtea
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions bin/xtea_hg19
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import os
from subprocess import *
from optparse import OptionParser
import ntpath

#import global_values
ILLUMINA="illumina"
X10="10X"
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 2 additions & 0 deletions bin/xtea_long
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down