Skip to content

Drop defunct susie_rss flags; add --rss-control to rss_analysis - #1396

Merged
gaow merged 2 commits into
StatFunGen:mainfrom
Yining97:susie-0166-compat
Jul 30, 2026
Merged

Drop defunct susie_rss flags; add --rss-control to rss_analysis#1396
gaow merged 2 commits into
StatFunGen:mainfrom
Yining97:susie-0166-compat

Conversation

@Yining97

Copy link
Copy Markdown
Contributor

What

susieR 0.16.6 moved R_mismatch_method / check_prior into susie_rss_control().

  • fine_mapping.R — remove --r-mismatch-method / --check-prior; --r-mismatch documents none | eb | eb_mix; add --rss-control (JSON → fineMappingPipeline(rssControl=), pecotmr's susie_rss_control() passthrough; non-object JSON errors).
  • rss_analysis.ipynb — drop the two params; add an rss_control param forwarded as --rss-control when set; document eb_mix + susieR >= 0.16.6.

Depends on

pecotmr #557 (merged) — the fit path ignores the old args and exposes rssControl; runtime needs susieR >= 0.16.6.

Testing

Merged pecotmr main (#557+#558) + susieR 0.16.6, real chr21 AD_Bellenguez:

  • Full sos run with --r-mismatch eb_mix --rss-control '{"check_prior":true,"mismatch_estimator":"map"}' completes all steps.
  • fine_mapping.R: valid --rss-control completes; non-JSON errors; removed flags absent from --help.

Yining97 added 2 commits July 30, 2026 12:14
susieR 0.16.6 moved R_mismatch_method / check_prior into
susie_rss_control(), so setting the old --r-mismatch-method /
--check-prior flags errors. Remove them from fine_mapping.R and
rss_analysis.ipynb, document --r-mismatch eb_mix, and add a --rss-control
JSON flag (+ rss_control notebook param) that forwards susie_rss_control()
settings via pecotmr's fineMappingPipeline(rssControl=). Requires
susieR >= 0.16.6 for eb_mix / rss_control; default runs unchanged.
…b_mix

susieR 0.16.6 moved R_mismatch_method / check_prior into
susie_rss_control(), so the old --r-mismatch-method / --check-prior
flags error. Remove them from fine_mapping.R and rss_analysis.ipynb,
add a --rss-control JSON flag (+ rss_control notebook param) forwarding
susie_rss_control() settings via fineMappingPipeline(rssControl=), and
make eb_mix the default LD-mismatch correction (was eb). Requires
susieR >= 0.16.6. Default-run results shift from eb to eb_mix.
@gaow
gaow merged commit e083b25 into StatFunGen:main Jul 30, 2026
0 of 2 checks passed
@Yining97
Yining97 deleted the susie-0166-compat branch July 30, 2026 18:40
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