This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Find The Number Of Simple Repeats On The Y Chromosome

I am trying to find the number of simple repeats on the Y chromosome using UCSC mysql query.

use hg19;

select count (sequence) as Numberofrepeats

from simpleRepeat where chrom = 'chrY';

The result showed "ERROR1630(4200): Function hg19.count does not exist. check the 'Funciton Name Parsing and Resolution' section in the reference manual".

If select count doesn't work, what is the commander used for replacement? Is the the reference manual online? Could anyone give me a link? Thank you.

ucsc

1 answer

You have a space between count and the parentheses. This works fine for me:

select count(sequence) as Numberofrepeats from simpleRepeat where chrom='chrY';

Log in to answer this question.