-
Notifications
You must be signed in to change notification settings - Fork 13
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
Eliminate "all" for single chromosome assemblies #236
Comments
Hi @jrobinso , can I used 'all' in the 3rd parameter for straw API? tried, get a error with |
That is not correct syntax. The region argument is an object with chr, start, and end. |
The "all" query would not work even with correct syntax. I just pushed a fix for that, but the "region" arguments should look like this, do not specify start and end.
Also, do not specify a binSize, it is not relevant for "ALL". To use this you will need to pull and build (with grunt). In the future please open a new issue for a new problem or question, this is not related to the original issue. It helps with tracking. |
BTW the "all" chromosome is used only for display, it is not really useful or suitable for analysis. The units are kb (not bp), and original chromosome information is lost. |
Thanks @jrobinso . I was thinking it's kinda related so didn't open a new issue. Currently what I am doing is put all chrom object (with chr, start, end) in an array and loop it with my single query region to get all interactions. That;s why I was asking if I can use all instead of a for loop. Thanks again. |
It depends on what you are doing. If you are doing analysis I would not use "ALL", its is just used to get an approximate coarse scale view for visualization. You can't even know the bin size easily. If you want to paint a whole genome summary like juicebox does it is fine, but remember the coordinates are kilo-bases from the start of the first chromosome. |
@jrobinso Thank you so much for clarifying. |
In the special case of single chromosome assemblies, there is no difference in "All" and the chromosome. So for this case make 2 changes
(1) add the whole-genome resolution to the list of explicitly specified ones
(2) eliminate "All" from the chromosome pulldown menu
The text was updated successfully, but these errors were encountered: