Entering edit mode
8.2 years ago
tiago211287
★
1.5k
I am using this command bellow to retrieve data from all exon start and all exon end plus 10 bp from each end. However, looking the output I saw several genes with only the first exon of that gene. What I am doing wrong?
mysql --user=genome --host=genome-mysql.cse.ucsc.edu -A -D hg19 -N -e 'select chrom,exonStarts-10,exonEnds+10,name2,strand from refGene '
If I recall correctly, exonStarts and exonEnds are text columns with comma separated values, right? How is your query supposed to work on such data?
Dont know, I collected information from several posts to make this command. The first time I hear that, makes sense.
Did you happen to add the
+10
part before testing the original query? You should try and run an unaltered query so it's easier to figure out when something stops working.No, because I did not knew this field was comma separated. Indeed this solved it all. Thanks.
Be useful to leave a not about
what solved it all
for folks who happen on this thread via search in future.