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

Add option to ignore reads containing "N" (unknown/any nucleotide) #192

Closed
boulund opened this issue Apr 25, 2017 · 7 comments
Closed

Add option to ignore reads containing "N" (unknown/any nucleotide) #192

boulund opened this issue Apr 25, 2017 · 7 comments

Comments

@boulund
Copy link

boulund commented Apr 25, 2017

Is it possible to add an option to ignore reads containing "N" (unknown/any nucleotide)? I know I should probably remove those reads, but maybe it could be useful anyway?

@betatim
Copy link
Contributor

betatim commented Apr 25, 2017

If you run sourmash with the -f option it will skip kmers that contain a character that isn't one of ACGT. Does that work for you?

@boulund
Copy link
Author

boulund commented Apr 25, 2017

Sounds great. I misunderstood what the --force option would do from the help text. You can close this if you want to.

@betatim
Copy link
Contributor

betatim commented Apr 25, 2017

Which sub-command did you look at? I just looked at sourmash compute -h which doesn't say anything about what -f does. I'll keep this open as a reminder to fix that.

@boulund
Copy link
Author

boulund commented Apr 25, 2017

Actually never looked at the command line help from the version I was using (oops). I was reading along in the documentation (https://sourmash.readthedocs.io/en/latest/command-line.html)

--force -- recompute existing signatures; convert non-DNA characters to N

@betatim
Copy link
Contributor

betatim commented Apr 25, 2017

Actually, sorry I confused force and force ... what you are looking for is --check-sequence

@betatim
Copy link
Contributor

betatim commented Apr 25, 2017

#172 fixes the lack of documentation

@ctb
Copy link
Contributor

ctb commented May 21, 2017

Closed by #240.

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