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

adding N to the "gap characters" #72

Open
dunleavy005 opened this issue Apr 2, 2018 · 3 comments
Open

adding N to the "gap characters" #72

dunleavy005 opened this issue Apr 2, 2018 · 3 comments

Comments

@dunleavy005
Copy link

In https://github.com/fhcrc/seqmagick/blob/master/seqmagick/transform.py#L24, the list of allowable gap characters are defined. However, I'd like to be able to trim off alignment columns with all N's and unfortunately cannot use seqmagick mogrify --squeeze FASTA_FILE to do that. Can "N" be added to GAP_CHARS?

@matsen
Copy link
Member

matsen commented Apr 2, 2018

Let's discuss how to do this. @metasoarous -- any ideas? N isn't a gap. What if we added a flag to modify GAP_CHARS?

@metasoarous
Copy link
Member

This seems like something that would only ever apply during squeeze, so having a separate but compatible option like --squeeze-ambiguous might be the best route here. Thoughts?

@matsen
Copy link
Member

matsen commented Apr 2, 2018

Sounds like a lovely solution. 🖖

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

3 participants