[ensembl-dev] Enumerating repeat types for get_all_RepeatFeatures()

John Marshall jm18 at sanger.ac.uk
Tue Jan 17 14:26:14 GMT 2012


On 16 Jan 2012, at 19:51, Andy Yates wrote:
> It seems like a fair request for enhancement. I've added the method into the repeat consensus adaptor & altered the repeat feature API to limit by more than one type at the same time. See what you think about them.

Thanks, that's now ample functionality for repeat types :-)

> p.s. If you want to do any SQL queries you may want to look at the SqlHelper class. It's available from any DBConnection object and compresses queries like the one you sent into:
> 
> my $types = $dbc->sql_helper()->execute_simple(-SQL => 'SELECT DISTINCT repeat_type FROM repeat_consensus');

That I didn't know about -- thanks for the tip.

Cheers,

    John



More information about the Dev mailing list