[ensembl-dev] Problems with transcript variation adaptor

Will McLaren wm2 at ebi.ac.uk
Mon Feb 21 15:37:31 GMT 2011


Hi Gavin,

The code you give works fine for me. Double check that you have all the
correct APIs installed, and that your ensembl-variation API is the same
version as the main ensembl API.

You could also see if there are any clues when you connect to the server, by
adding the verbose option:

$registry->load_registry_from_db(

    -host => 'ensembldb.ensembl.org',

    -user => 'anonymous',

    -port => 5306,

    -verbose = > 1,

);

If you're sure this is OK, try getting a variation adaptor:

my $var_adaptor = $registry->get_adaptor("human", "variation", "variation");

If this works but transcript variation doesn't, then try doing a fresh
install of the ensembl-variation API module.

Will

On 21 February 2011 15:15, Oliver, Gavin <gavin.oliver at almacgroup.com>wrote:

>  Hi,
>
>
>
> I am trying to pull variations associated with a transcript and am having a
> problem whereby the transcript variation adaptor is being flagged as
> ‘undefined’.
>
>
>
> I have tried to simplify the problem below.
>
>
>
> my $registry = 'Bio::EnsEMBL::Registry';
>
>
>
> $registry->load_registry_from_db(
>
>     -host => 'ensembldb.ensembl.org',
>
>     -user => 'anonymous',
>
>     -port => 5306,
>
> );
>
>
>
> my $trv_adaptor = $registry->get_adaptor("human", "variation",
> "transcriptvariation");
>
>
>
> print $trv_adaptor;
>
>
>
> This produces the error “Use of uninitialized value.” for $trv_adaptor in
> the print command.
>
>
>
> Why would $trv_adaptor be undefined at this stage?
>
>
>
>
>
> *  *
>
> The contents of this message and any attachments to it are confidential and
> may be legally privileged. If you have received this message in error, you
> should delete it from your system immediately and advise the sender.
>
>
>
> Almac Group (UK) Limited, registered no. NI061368.  Almac Sciences
> Limited, registered no. NI041550.  Almac Discovery Limited, registered no.
> NI046249.  Almac Pharma Services Limited, registered no. NI045055.  Almac
> Clinical Services Limited, registered no. NI041905.  Almac Clinical
> Technologies Limited, registered no. NI061202.  Almac Diagnostics Limited,
> registered no. NI043067.  All preceding companies are registered in
> Northern Ireland with a registered office address of Almac House, 20 Seagoe
> Industrial Estate, Craigavon, BT63 5QD, UK.
>
>
>
> Almac Sciences (Scotland) Limited, registered in Scotland no. SC154034.
>
>
>
> Almac Clinical Services LLC, Almac Clinical Technologies LLC, Almac
> Diagnostics LLC, Almac Pharma Services LLC and Almac Sciences LLC are
> Delaware limited liability companies and Almac Group Incorporated is a
> Delaware Corporation.  More information on the Almac Group can be found on
> the Almac website: www.almacgroup.com
>
> _______________________________________________
> Dev mailing list
> Dev at ensembl.org
> http://lists.ensembl.org/mailman/listinfo/dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20110221/d1f8a65b/attachment.html>


More information about the Dev mailing list