Skip to content

Commit

Permalink
data.Contig
Browse files Browse the repository at this point in the history
  • Loading branch information
davek44 committed Jun 11, 2024
1 parent eff21a1 commit 7fe2b78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/baskerville/scripts/hound_data_align.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,8 +537,8 @@ def break_large_contigs(contigs, break_t, verbose=False):

# break in two
ctg_mid = ctg.start + ctg_len // 2
ctg_left = Contig(ctg.genome, ctg.chr, ctg.start, ctg_mid)
ctg_right = Contig(ctg.genome, ctg.chr, ctg_mid, ctg.end)
ctg_left = data.Contig(ctg.genome, ctg.chr, ctg.start, ctg_mid)
ctg_right = data.Contig(ctg.genome, ctg.chr, ctg_mid, ctg.end)

# add left
ctg_left_len = ctg_left.end - ctg_left.start
Expand Down

0 comments on commit 7fe2b78

Please sign in to comment.