Skip to content

Conversation

@rjbohlender
Copy link
Owner

Summary

  • fix the permutation slice logic so each run writes to a unique region in the shared matrix
  • add a regression-style test that loads two runs and verifies permutations retain their columns
  • provide a second sample run file used by the new test

Testing

  • pytest
  • python IBDReduce/ibdreduce_v3.py --prefix tests/data/sample_chr --suffix "{i}_run{j}.txt" --nperm 2 --nruns 2 --gmap tests/data/gmap --output after.txt --single 1
  • python IBDReduce/ibdreduce_v3.py --prefix tests/data/sample_chr --suffix "{i}_run{j}.txt" --nperm 2 --nruns 2 --gmap tests/data/gmap --output after_repeat.txt --single 1

https://chatgpt.com/codex/tasks/task_e_68d59aae10648320964c4e4f0ce37ddf

@rjbohlender rjbohlender merged commit e47954f into master Sep 26, 2025
1 check passed
@rjbohlender rjbohlender deleted the codex/update-ibdreduce-slice-for-permutations branch September 26, 2025 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant