Repository navigation
fix(junction_saturation): thread-independent output and RSeQC's sampling points - #201
Merged
Merged
Conversation
…ries and chromosome filter - Keep junction observations in BAM file order across worker merges, so the output is identical for any --threads value. - Ignore reads on chromosomes without an annotated transcript, as RSeQC does with its BED gene model. - Use RSeQC's sampling series, range(floor, ceiling, step) + [100], and its float window arithmetic int(N * (p / 100.0)). - Name the PDF in the R script without the output directory, as RSeQC does. The shuffle keeps RustQC's seeded RNG: intermediate points are reproducible but do not match RSeQC's unseeded random draws. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
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.
junction_saturation: make the output independent of
--threadsand align it with RSeQC where RSeQC is deterministic.--threads. Before, the merge order, and so the shuffle input, depended on thread scheduling.range(floor, ceiling, step) + [100], with its float window arithmeticint(N * (p / 100.0)).<sample>.junctionSaturation_plot.pdf, as RSeQC does.The shuffle still uses RustQC's seeded RNG, so intermediate points are reproducible but don't match RSeQC's unseeded random draws. The x-axis and the 100% point match RSeQC 5.0.4 on hs_ribo_chr19_22_se_fwd, hs_chr6_pe_rev and sc_se_rev, with default and non-default
-l/-u/-s/-m/-q/-v, whenever the sampling windows cover all observations (as with the defaults).Replaces #197.
🤖 Generated with Claude Code