Repository navigation
Telomere comparison harness for CHM13 (#861) - #867
Merged
Merged
Conversation
telomere_sim.sbatch fits the fragment model from the real CHM13 BAM and simulates at its depth from hs1 minus chrY (CHM13 is 46,XX), writing reads where stage_raw_pairs.sbatch now accepts local FASTQs, so both libraries go through the same alignment path. telomere_ends.sbatch measures every chromosome end in both: reference array length, depth bins at all MAPQ and MAPQ >= 20, MAPQ-0 and clip fractions over the array, and telomeric reads per million from the FASTQs, normalized by interior control windows. Co-Authored-By: Claude <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.
Refs #861 (steps 3 and 4 of its plan). Harness only; no product code changes.
What
stage_raw_pairs.sbatchaccepts local reads. If$WORK/r1.fastq.gzandr2.fastq.gzexist, it skips ENA, does not needSRR, and derivesN_PAIRSfrom r1, checked against r2. Simulated reads then go through the samebwa-mem2 | fixmate | sort | markduppath as the real ones. A resumed real-data staging behaves as before, since its FASTQs were already line-count checked on download.telomere_sim.sbatchprepares the matched simulation:validate_frag_model.sh;coverageis an integer;telomere_ends.sbatchmeasures every chromosome end, in both libraries:TTAGGG/CCCTAAper million.Depth is relative to each library's median depth over interior control windows, placed 75% along each contig. Hard failures:
Evidence (local, CHM13 chr21 golden BAM at 30x)
Must-not-fire: the same BAM passed as both libraries gives identical columns.
Known answers:
Must-fire mutants:
Chain:
telomere_sim→stage_raw_pairsran locally on a 2-contig reference:Not verified
🤖 Generated with Claude Code