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 filter gap-only columns from output alignment #46

Open
darcyj opened this issue Dec 6, 2018 · 2 comments
Open

Option to filter gap-only columns from output alignment #46

darcyj opened this issue Dec 6, 2018 · 2 comments
Assignees
Milestone

Comments

@darcyj
Copy link

darcyj commented Dec 6, 2018

Hey Elmar,

It would be really useful if SINA could simplify its output alignment a bit, by removing columns that contain only gap characters. Currently I'm using the QIIME1 script "filter_alignment.py" to do this.

Thanks!

-JLD

@darcyj darcyj changed the title Optopn to filter gap-only columns from output alignment Option to filter gap-only columns from output alignment Dec 6, 2018
@epruesse epruesse self-assigned this Dec 6, 2018
@epruesse
Copy link
Owner

epruesse commented Dec 9, 2018

Also: allow adding gaps to reference alignment

@darcyj What would you expect the option to be called? --fasta-compress-gaps, --compress-gaps, --remove-gap-only-columns, ...? And the one for adding gaps?

Thinking to only allow "multiplying" the alignment width (add n gaps between columns and surrounding alignment).

@darcyj
Copy link
Author

darcyj commented Dec 9, 2018

Maybe it would be nice to mirror the old option in ARB's exporter, like --compress-vertical-gaps, although I think the word "compress" is somewhat misleading. I like --remove-vertical-gaps or --remove-gap-only-columns which is very explicit.

For adding n gaps between each column, maybe something as simple as --add-vertical-gaps or --add-gap-only-columns because it would compliment the above option. I agree with you, that sounds like an interesting feature, so that one could make a reference alignment for a clade of interest, and have room within that alignment for insertions.

@epruesse epruesse added this to the future milestone Mar 23, 2019
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