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

feature request: make it possible to just specify a chromosome in query #4

Open
tommycarstensen opened this issue Oct 26, 2014 · 3 comments

Comments

@tommycarstensen
Copy link

Current syntax is:
records = tb.querys("1:1000000-1250000")

It would be great, if I could just get all variants on chromosome 1 by doing one of these:
records = tb.querys("1")
records = tb.querys("1", 0, -1)

@moonso
Copy link

moonso commented Dec 3, 2014

Will this be implemented? I would also like this feature.

@slowkow
Copy link
Owner

slowkow commented Feb 26, 2015

I agree that this would be useful. I need to learn the specification of the tabix index file in order to implement this feature.

Sorry for the delayed response, but I'm always busy with other work. Patches are very welcome.

@johnwallace123
Copy link

I believe that this is possible using simply tb.querys("1"). It seems to work for me, and it's in line with what tabix provides.

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

4 participants