Skip to content

Generate Ks plots using bottom-ranked reciprocally retained gene families#72

Merged
Cecilia-Sensalari merged 11 commits intomasterfrom
bottom_recret
Jan 21, 2026
Merged

Generate Ks plots using bottom-ranked reciprocally retained gene families#72
Cecilia-Sensalari merged 11 commits intomasterfrom
bottom_recret

Conversation

@Cecilia-Sensalari
Copy link
Copy Markdown
Collaborator

Generate Ks plots using bottom-ranked reciprocally retained gene families
This PR adds the possibility to run the reciprocal retention Ks pipeline for the bottom-ranked GFs instead of the top-ranked GFs.
This is done for comparison purposes with the top-ranked GFs, which we showed being good in narrowing down Ks distributions to WGM-derived signal. The expected distribution derived from bottom-ranked GFs shouldn't retain very well WGD-derived signal (so, unclear peaks), especially if peaks as very old.
The first results using the palm example dataset confirm this expectation.

Detailed description of changes:

  • Add parameter use_bottom_gfs_instead_of_top in expert configuration file to toggle the use of bottom-ranked GFs instead of top-ranked GFs (default); boolean bottom variable has been added to the code to handle this switch.
  • The log lines now print either "top" or "bottom", instead of hard-coding "top" (var. top_or_bottom)
  • Existing variable top is renamed as num_gf because it actually contains the number of (top or bottom) GFs to be considered from the 9178 GFs ranking.

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant