I would like to get the gene length information of all the human genes. Is there a quick way to get this information? Thank you!
I'd use Ensembl's BioMart. It's not connecting for me right this second, but it should have that information.
Some basic information like length can be obtained in the GTF file (you can get the latest ENCODE GTF from the UCSC genome browser). Other information are also available and obtainable from the UCSC genome browser → table browser. Select the group and tracks that you want from the corresponding dropdown boxes. You can export the data as a text file or forward it to the galaxy interface for analysis.
If you are familiar with some programming then you can pull out the lengths (it is not explicitly given in the output or in the GTF). Also, the gene length may be different from the mRNA length because of the presence of introns in the former. The third field in the GTF file denotes the feature (gene, transcript, exon, etc); you can parse the GTF for picking up only desired features, lets say the mRNAs.
The fourth and fifth fields denote start and end positions respectively; all you have to do is
A small scriptlet such as this would work in linux/cygwin terminal (I wont go in detail because this is not the scope of this forum):
The first link that I mentioned also shows some basic methods of extracting information from GTF.