Hello John,
The gene names must come from another table so you will need to do an
intersection between the regions generated from your Affy tiling array and
a gene track. Here is an example:
1) After loading your custom track, go to the Table Browser and then
select the species and assembly of interest.
2) Select the "Genes and Gene Prediction Tracks" group and a gene track
e.g. FlyBase Genes.
3) Select genome as the region.
4) Press the "create" button for intersection and set up the intersection
to be with your custom track.
5) Select the output to be BED format.
This will give you a list of genes (and their locations) whose exons
intersect with your custom track. In order to find out if any of the Affy
tiling array regions intersect with introns, then you will need to create
a custom track of introns for the flyBase genes - to do this, you would
select custom track as the output. Alternatively, you could create a
custom track of the gene footprints i.e. download the chromosome, name,
txStart and txEnd of the flyBase genes, format it as a BED file and then
load it as a custom track. This will give you a single block for each
transcript so you could determine if your Affy regions intersect with
these gene regions (if you don't care about knowing if they intersect with
the exons or introns). One drawback of the intersection is that you will
only get the names of the genes that intersect with an Affy region and not
the names of the Affy regions with which they intersect. One way to get
around this is to use the Galaxy tool, at Penn State University, which is
built on top of the UCSC Table Browser.
After loading your custom track, you can then go to the Table Browser and
click on the "Galaxy" link (by the output format menu). Then click on
"Galaxy Main" to get to the Galaxy tool. Next, click on the "Get Data"
in the left pane and then select "UCSC Main" table browser. You will then
see that the interface looks like UCSC's Table Browser and your custom track
is also available there. In Galaxy, you can do a join so that you retain
the identifiers from both tables. First, do a Table Browser query (in
Galaxy) to output the contents of the custom track. Then do the same for the
flyBase genes. The query results will appear to the right of the page. Then
click on the "Operate on Genomic intervals" link on the left side and click
on the "Join" (the intervals of two queries side-by-side) link. Select the
two queries that you just did to create a join between them. The eye icon
next to the results will allow you to display the data and you will be able
to see which Affy array regions intersect with which genes.
For intergenic regions, to find which gene the Affy array regions fall
closest to is a little more tricky. Perhaps you will need to intersect
with a custom track of upstream and/or downstream regions of genes.
I hope that this helps you. Please let us know if you have further
questions. Please direct questions about using Galaxy to the Galaxy team
at Penn State University.