Skip to content

Updating version and changelog, adding GC Bias modeling#284

Merged
joshfactorial merged 18 commits into
mainfrom
develop
May 18, 2026
Merged

Updating version and changelog, adding GC Bias modeling#284
joshfactorial merged 18 commits into
mainfrom
develop

Conversation

@joshfactorial
Copy link
Copy Markdown
Collaborator

@joshfactorial joshfactorial commented May 13, 2026

Includes an update to the coverage function to use a CDF based approach instead of the generate and discard approach we originally had, this allowed us to incorporate GC Bias effectively, without falling into occasional infinite loops. Also includes several test updates and a new subfunction to generate a GC-bias model from real data (as in the original NEAT 2.1).

@joshfactorial joshfactorial changed the title Updating version and changelog Updating version and changelog, adding GC Bias modeling May 13, 2026
@joshfactorial
Copy link
Copy Markdown
Collaborator Author

I also eliminated the temporary fasta file writing.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks to be the core of calculating GC bias and it looks like it makes sense to be for the most part, though I have to think a bit further about why rescaling is needed. Overall, the window-based approach makes sense to me.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The getter functions we need to compute GC bias make sense to me!

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will look more closely into the CDF sampling, but the rest of the script looks great and makes sense!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's basically what they were doing in NEAT 2

@joshfactorial joshfactorial merged commit 349f9ca into main May 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants