Ah, yea you can find gene information here too. The question was a little ambiguous, but if you are only interested in the positions of known or predicted genes for a genome, then the gtf is the way to go.
You can pull them from here: http://genome.ucsc.edu/cgi-bin/hgTables
I assume you have a sam file of the alignments? Here is the pdf for the format: https://samtools.github.io/hts-specs/SAMv1.pdf
Column 4 holds position information of the aligned read, and length of the read can be obtained from column 10. This should be enough information to filter all reads from a given position on a genome.
Hope that helps!
This is not providing an answer for the question asked in the original post. I have moved this post to a comment.