Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to ignore shared substitutions #30

Open
ktmeaton opened this issue May 6, 2022 · 0 comments
Open

Option to ignore shared substitutions #30

ktmeaton opened this issue May 6, 2022 · 0 comments

Comments

@ktmeaton
Copy link

ktmeaton commented May 6, 2022

  • I've been experimenting with a flag --ignore-shared that ignores positions that are shared (have the exact same nucleotide) across all parents/examples.
  • I like this option because it makes the breakpoints visually clearer, as there's a direct color change (red -> green) rather than having the intermediate shared positions (red -> white -> green)
  • For testing, a nextclade fasta alignment of XM-like recombinants (public on genbank): XM.txt
  1. Do you think this is scientifically sound for reporting? And if so,
  2. Would you be interested in a PR if I tidy up the code?

Default Output:

python3 sc2rf.py XM.fasta --ansi --unique 1

image

Proposed Option:

python3 sc2rf.py XM.fasta --ansi --unique 1 --ignore-shared

image

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

No branches or pull requests

1 participant