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

provide a Python function to return tags that are present in a sequence #62

Closed
ctb opened this issue May 30, 2013 · 2 comments
Closed

Comments

@ctb
Copy link
Member

ctb commented May 30, 2013

Right now there is no way, in Python, to figure out which k-mers in a given sequence are tagged! More generally, it would be nice to be able to iterate over all tags in the tagset.

@mr-c
Copy link
Contributor

mr-c commented Jan 16, 2014

@camillescott Does #164 / #216 provide a Python function to return tags that are present in a sequence?

@camillescott
Copy link
Member

Yes; the function is exposed through LabelHash in python, and actually
defined in Subset. This may be promoted up to Hashbits. You can use
sweep_tag_neighborhood with range of 0 to check only the kmers in the
sequence (the default range is 0).

On Thu, Jan 16, 2014 at 2:21 PM, Michael R. Crusoe <notifications@github.com

wrote:

@camillescott https://github.com/camillescott Does #164#164
#216 #216 provide a Python
function to return tags that are present in a sequence?


Reply to this email directly or view it on GitHubhttps://github.com//issues/62#issuecomment-32519867
.

Camille Scott

Department of Computer Science and Engineering
Lab for Genomics, Evolution, and Development
Michigan State University

camille.scott.w@gmail.com

@mr-c mr-c closed this as completed Jan 16, 2014
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

3 participants