Skip to content

Overview of proposed classification and imputation fixes (#46–#50) #51

Closed

Description

@thierrygosselin

Salut Eric,

J’espère que tu vas bien !

J’ai repéré quelques points pour lesquels je pense pouvoir donner un coup de main. J’ai préparé cinq PR, chacune avec des tests ciblés, pour que tu puisses les regarder séparément quand tu auras un moment. Il y a notamment un choix d’interprétation sur la classification des ratios, je me suis peut-être trompé sur ce point.

Je te mets le résumé en anglais ci-dessous pour que la discussion reste accessible aux autres utilisateurs.
Thierry

I revisited parts of your workflow and identified several behaviours worth addressing. I submitted five focused PRs and thought it would help to bring them together here.

Classification and summary statistics:

Imputation safeguards:

Each PR includes focused synthetic regression tests and instructions for running them. These test the specific corrections, not the biological validity of the complete workflow or imputation method.

I kept the proposals separate to make review easier. Some touch the same scripts, so their tests should also be rerun together after integration.

For #46 in particular, I'm wondering whether the symmetric boundaries match the intended screening behaviour, since this changes some high-ratio classifications...

This issue can serve as an overview, with implementation discussions remaining in the individual PRs.

Thanks for making the workflow available and maintaining it over the years!
Thierry

Activity

  1. enormandeau commented on Sep 18, 2026

    @enormandeau
    Owner
  2. enormandeau commented on Sep 28, 2026

    @enormandeau
    Owner

    I merged 4 of the 5. The proposed changes for the imputation based on similar samples made me rethink what to do in cases where none of the N closest samples had valid genotypes. I will change the current behaviour (using "0/0") but I still want to impute these data.

    Thanks for the PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions