-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Small improvements to Cigar tools and Contig stitcher
* Extracted the `align_to_reference` method from `GenotypedContig` class and converted it into a standalone function, streamlining how contig alignment is invoked across the application. * Transformed the `Cigar` data structure from a mutable list to an immutable tuple to enforce the immutability of CIGAR sequences after creation for safety and reliability. * Revised the `epsilon` property calculation in `CigarHit` for better accuracy and consistency. * Revised in-code documentation, removing redundant comments and placing technical details at the end of the file for cleaner, more focused code. * Removed the unused `closest_key` method from `IntDict`, simplifying the interface. * Enhanced comments in `CigarHit` and `Cigar`, making the code easier to understand and clarifying the purpose and functionality of core classes.
- Loading branch information
Showing
3 changed files
with
155 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.