Hello UCSC team,
I wanted to know if this is possible with UCSC table browser to get the neighboring genes from a given gene.
e.g If I have a GeneA and I want to get the names of the genes that are its neigbours (up and downstream).
I do have the gene names along with its coordinates for whom I need to know its neigbours.
Thank, waiting for the reply. Can you kindly reply soon.
Regards
Hina
Hello Hina,
Thank you for using the UCSC Genome Browser and your inquiry.
Unfortunately, we do not have an easy way to find the closest genes to a given coordinate, but we do have a tool for finding the "nearest" genes to another gene (via a large selection of "nearest" criteria), the Gene Sorter:
However, given that you want to find the nearest genes to a set of coordinates, I think using the closest-features tool from the bedops suite is the easiest solution, https://bedops.readthedocs.io/en/latest/. The following BioStars question explains how to use the tool, https://www.biostars.org/p/53587/.
This previously answered mailing list question also gives an example of how to use the closest-features tool with RefSeq transcripts, https://groups.google.com/a/soe.ucsc.edu/d/msg/genome/zVjaN_CMiQQ/YDu-_eCzBQAJ, and am including the example below:
Please note that the results seem to depend on sorting both inputs, and the "|" character separates the up and downstream features.
I hope this is helpful. If you have any further questions, please reply to gen...@soe.ucsc.edu.
All messages sent to that address are archived on a publicly-accessible Google Groups forum.
If your question includes sensitive data, you may send it instead to genom...@soe.ucsc.edu.
Jairo Navarro
UCSC Genome Browser
Want to share the Browser with colleagues?
Host a workshop: https://bit.ly/ucscTraining
--
---
You received this message because you are subscribed to the Google Groups "UCSC Genome Browser Public Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to genome+un...@soe.ucsc.edu.
To view this discussion on the web visit https://groups.google.com/a/soe.ucsc.edu/d/msgid/genome/DB6P193MB012025FECE1BB0AA35C4EA42D39A0%40DB6P193MB0120.EURP193.PROD.OUTLOOK.COM.
Hello Hina,
One of our engineers has shared that we have the following wiki page to find nearest genes, http://genomewiki.ucsc.edu/index.php/Finding_nearby_genes. On that wiki page, there is a script, closestGene.sh, that can help you find the nearest genes using gene coordinates and contains examples.
I hope this is helpful. If you have any further questions, please reply to gen...@soe.ucsc.edu.
All messages sent to that address are archived on a publicly-accessible Google Groups forum.
If your question includes sensitive data, you may send it instead to genom...@soe.ucsc.edu.
Jairo Navarro
UCSC Genome Browser
Want to share the Browser with colleagues?
Host a workshop: https://bit.ly/ucscTraining