Skip to content

Commit

Permalink
Fixed path
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatiana Gurbich committed Jul 18, 2020
1 parent 8abc305 commit 4520fbb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ClassifyCNV.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ def analyze_intragenic_deletions(dosage_sensitive_cnv):
# load coordinates of the 3'-most 50 bp for the penultimate exon for each transcript
# a gene is not expected to undergo NMD if only the last exon and/or this region are deleted
nmd_coords_check = dict() # contains the start and end of the 3' 50bp of second to last exon for each transcript
nmd_path = os.path.join(main_resources_folder, args.GenomeBuild, penultimate_exon_50bp_db)
nmd_path = os.path.join(home_dir, main_resources_folder, args.GenomeBuild, penultimate_exon_50bp_db)
nmd_in = open(nmd_path, 'r')
for region in nmd_in:
parts = region.strip().split()
Expand Down Expand Up @@ -867,4 +867,3 @@ def rename_directory():
else:
print('Results saved to', path_to_results + '/')
print('Elapsed time:', '{0:.2f}'.format(t_fact), 'seconds')

0 comments on commit 4520fbb

Please sign in to comment.