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

Handling of columns with gaps #29

Open
kloetzl opened this issue Oct 24, 2018 · 2 comments
Open

Handling of columns with gaps #29

kloetzl opened this issue Oct 24, 2018 · 2 comments
Assignees

Comments

@kloetzl
Copy link
Contributor

kloetzl commented Oct 24, 2018

Currently, snp-dists only cares about gaps in pairwise comparison. However, common alignment tools such as MEGA have a complete deletion mode where the whole column is ignored if any of the sequences contains a gap there. Adding a switch for this might be of interest.

@tseemann
Copy link
Owner

tseemann commented Oct 24, 2018

Normally I would advise running

snp-sites -c file.aln | snp-dists /dev/stdin

for that case, but it's still worth considering.

@kloetzl
Copy link
Contributor Author

kloetzl commented Oct 24, 2018

it's still worth considering.

You can just add it to the wishlist.

snp-sites -c file.aln | snp-dists /dev/stdin

Hm, I would expect to use - to read from stdin, maybe even nothing at all. Should I create another PR? 😉

@tseemann tseemann self-assigned this Oct 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants