Skip to content

Commit

Permalink
Fix annotate bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Chemical118 committed Aug 7, 2023
1 parent 9ab4c52 commit e7f7b78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gdbr/annotate.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,4 +590,4 @@ def annotate_main(ref_loc, qry_loc_list, sv_loc_list, hom_find_len=2000, temp_in

# export merge bed file
if len(qry_loc_list) > 1:
bed_df.groupby([0, 1, 2, 3, 4], as_index=False).agg({5: lambda x: ';'.join(sorted(set(x), key=lambda t: int(t.split('.')[1])))}).to_csv(os.path.join(dsbr_save, 'bed', 'merge') + '.GDBr.result.bed', header=False, sep='\t', index=False)
bed_df.groupby([0, 1, 2, 3, 4, 5], as_index=False).agg({6: lambda x: ';'.join(sorted(set(x), key=lambda t: int(t.split('.')[1])))}).to_csv(os.path.join(dsbr_save, 'bed', 'total.GDBr.merge_result.bed'), header=False, sep='\t', index=False)
2 changes: 1 addition & 1 deletion gdbr/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
def get_version():
return '0.3.0'
return '0.4.1'

0 comments on commit e7f7b78

Please sign in to comment.