# How can I find the chromosomal location of a list of genes?

I have a list of genes nearly 20000: gene name (column1) and coordinates (columns 2 and 3)

head genes
Ma0_73Ns    2359    2923
Ma0_73Ns    4727    4868


I want to find the chromosomal location of each gene, on which chromosome each gene located? my study organism is sunflower

• From what organism?
– benn
Apr 24 '18 at 18:54
• Do you know what the coordinates you mention refer to? Apr 24 '18 at 22:32

Ok so I found two websites that could help. The one I found first is more intuitive to go through, but it looks like it could be outdated as the second website I found seems more recent so it probably has a more complete genome to use as the reference. (Sorry, I haven't worked personally with sunflowers and don't know for sure where you would go for the "official" reference genome, or if there even is an "official" one, but hopefully one of these websites will help.)

1) This is a website I found that looks like it is a website for the sunflower genome and includes gene annotation information. (The recent publications list only goes up till 2015 though so it may not be the most recent data)

https://www.sunflowergenome.org/annotations-data/

If you scroll down to the bottom of this page there is a text file detailing the descriptions of how the files are formatted.

For example, the linked to file gives the following:

• Ha412v1r1_CDS_v1.0.fasta.gz

• Description: Nucleotide CDS for each gene
• Header format: >TranscriptID GeneID Chromosome_start_end_strand
• Example: >Ha1_00044280-RA Ha1_00044280 Ha1_94590914-94591860_-

If you download this fasta file you could then create a python script that will read in the file and extract the headers. If each header is a string variable called "mytext", you could then extract the TranscriptID, GeneID, and chromosomal info and using mytext.split(" "). You could then split on "_" to further parse the chromosomal location info. You could save the extracted information in a dictionary using the gene name as a key and parse through the original file you mentioned containing the list of genes, in order to get the chromosomal location information you desire. The one caveat is that this is assuming that your gene names are the same as the geneIDs the above website uses.

I did not exhaustively examine the list of files and perhaps there is another one that would be a better one to parse through for your purpose, but the linked to text file gives more details on the files and their formats and presumably they could be parsed in a similar manner.