[ensembl-dev] Variation API, Consequence severity

Graham Ritchie grsr at ebi.ac.uk
Tue Aug 2 11:48:18 BST 2011


Hi Chris,

At the moment the consequence terms you get from the consequence_type method are returned in an arbitrary order, but we will change this to return them in order of decreasing severity for the next API release (if you want this functionality sooner let me know and I can give a you a patched version of the relevant modules once I've implemented this).

Cheers,

Graham


On 2 Aug 2011, at 11:28, cj5 at sanger.ac.uk wrote:

> 
> In the following snippet from the Variation API tutorial, does the API
> guarantee to return consequences in order of severity for each transcript
> variation, or is the order random?
> 
> foreach my $con(@{$new_vf->get_all_TranscriptVariations}) {
>  foreach my $string(@{$con->consequence_type}) {
> 
> Thanks
> Chris
> 
> 
> 
> 
> _______________________________________________
> Dev mailing list    Dev at ensembl.org
> List admin (including subscribe/unsubscribe): http://lists.ensembl.org/mailman/listinfo/dev
> Ensembl Blog: http://www.ensembl.info/





More information about the Dev mailing list