-
Notifications
You must be signed in to change notification settings - Fork 2
CFD updates #3
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
Open
FarnazSalehi94
wants to merge
21
commits into
pinellolab:main
Choose a base branch
from
FarnazSalehi94:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
CFD updates #3
Conversation
This file contains hidden or 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
- Replace WFA2 with SASSY for better performance on short DNA sequences - Simplify build process (no more external C library dependencies) - Update CIGAR string parsing to handle SASSY format - All tests passing (12/12) - Updated README with simplified installation instructions Breaking changes: - Removed WFA2LIB_PATH requirement - Updated output CIGAR format from WFA2 to standard format
- Fixed incorrect position reporting in scan_window_sassy function - Added manual verification for match positions in windows - Improved SASSY CIGAR parsing with proper fallback handling - Enhanced debug output for troubleshooting alignment issues - Added support for correct query start/end coordinates in PAF output - Fixed CFD score calculation with proper target sequence extraction - Added test files for multi-sequence testing
- Fixed CFD key construction to use correct RNA-DNA pairing format - Corrected position calculation for match reporting - Updated CIGAR parsing to handle count+operation format properly - All tests now passing including CFD score validation - Cleaned up debug output for production
- Basic CFD functionality works correctly for simple cases - Comprehensive test suite has 12/20 failing cases that need investigation - Main tool functionality (position calculation, CIGAR parsing) is working - Will debug CFD matrix lookup issues in separate PR
Major improvements: - Replace alignment engine with SASSY for accurate sequence matching - Implement position-dependent CFD (Cutting Frequency Determination) scoring - Fix target coordinate calculation for proper off-target detection - Add support for mismatches and indels in alignment - Clean up debug output for production-ready tool - Improve PAF output format with CFD scores Technical changes: - Integrate SASSY library for approximate string matching - Add CFD calculation with position-specific mismatch penalties - Fix coordinate mapping from window positions to absolute positions - Implement proper target sequence extraction for CFD scoring - Add comprehensive test cases for validation Breaking changes: - Output format now includes CFD scores (cf:f tag) - Improved coordinate accuracy may change previous results
feat: integrate SASSY aligner and implement CFD scoring
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.