I am trying to get some data on gene position in the human genome and I need some help
What I tried
I downloaded ftp://ftp.sanger.ac.uk/pub/gencode/Gencode_human/release_18/gencode.v18.annotation.gtf.gz
I am only interested in gene position, so I kept only the first columns.
awk -F "." '{print $1}' /Users/remi/Downloads/gencode.v18.annotation.gtf >> HumanGenomePositions.txt
This operation will take a few minutes. The file contains information on exon position and transcript. I subsetted the table to get only the lines that concern genes
sed -i.bak '/gene/!d' HumanGenomePositions.txt
I am left with 57445 entries. 9872 are annotated by ENSEMBL and 47573 are annotated by HAVANA. Note that there is partial overlap between the two. According to Church et al. 2009, there are 19042 annotated genes in the human genome (reported from bionumbers). There is obviously something I am getting wrong!
Question
Can you help me to get data on gene positions in humans in a handy format (see below)?
start end
15648 65487
129841 124984
...
<homework>
tag even though this is not a homework. The reason is that I think the question is introductory enough to be asked in an introductory course to bioinformatics. $\endgroup$