I have to deal with task over UCSC genome browser but I want to do it via MySQL public server connection, I am using Ubuntu and I installed MySQL Client and already connected to UCSC, but once I showed the tables description I was a little bit lost, here is what I want to do
1. Click the "Tables" link on the main page genome.ucsc.edu) or in the blue bar at the top of the genome browser page. 2. Select the organism (Human/Chimp) and assembly date of interest. 3. Select "Genes and Gene Prediction Tracks" as the group and one of the genes tracks (e.g. Known Genes or RefSeq genes). 4. Select genome as the region. 5. Select "sequence" as the output format. 6. If desired -- enter a filename where the data should be saved locally and compress with gzip. 7. Click the "Get Output" button. 8. Select genomic and click "Submit". 9. Select only 5' UTR (or 3' UTR) Exons and click "Get Sequence".
How can I convert this small process into an SQL query ?