Find The Number Of Simple Repeats On The Y Chromosome
1
0
Entering edit mode
11.0 years ago

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.6k views
ADD COMMENT
1
Entering edit mode
11.0 years ago

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

select count(sequence) as Numberofrepeats from simpleRepeat where chrom='chrY';
ADD COMMENT
0
Entering edit mode

Yes. It works now. Thank you.

ADD REPLY

Login before adding your answer.

Traffic: 1658 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6