<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Simon,<br>
    <br>
    For ensembl genomes species, we recommend using the LookUp method as
    described here:<br>
<a class="moz-txt-link-freetext" href="http://bacteria.ensembl.org/info/data/accessing_ensembl_bacteria.html#intro">http://bacteria.ensembl.org/info/data/accessing_ensembl_bacteria.html#intro</a><br>
    <br>
    For a given registry, you can use the 'get_all_by_name_pattern'
    method for approximate matching.<br>
    <meta charset="utf-8">
    <pre class="code" style="font-family: 'Courier New', Courier, monospace; font-size: 13px; margin: 0px 0px 16px; border: 1px solid rgb(204, 204, 204); background-color: rgb(240, 240, 240); padding: 8px !important; line-height: 16px; color: rgb(85, 85, 85); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial;">my $lookup = Bio::EnsEMBL::LookUp->new(-URL=><a class="moz-txt-link-rfc2396E" href="http://bacteria.ensembl.org/registry.json">"http://bacteria.ensembl.org/registry.json"</a>,-NO_CACHE=>1);
my @dbas = @{$lookup->get_all_by_name_pattern('escherichia_coli_.*')};</pre>
    or by taxon id<br>
    <meta charset="utf-8">
    <pre class="code" style="font-family: 'Courier New', Courier, monospace; font-size: 13px; margin: 0px 0px 16px; border: 1px solid rgb(204, 204, 204); background-color: rgb(240, 240, 240); padding: 8px !important; line-height: 16px; color: rgb(85, 85, 85); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-position: initial initial; background-repeat: initial initial;">my @dbas = @{$lookup->get_all_by_taxon_id(388919)};
</pre>
    If it still fails to find the species you are looking for, I would
    try running the ping_ensembl.pl script to make sure you are
    connecting to the right databases.<br>
    <br>
    <br>
    Regards,<br>
    Magali<br>
    <br>
    <div class="moz-cite-prefix">On 24/02/2014 12:03, Simon Andrews
      wrote:<br>
    </div>
    <blockquote
cite="mid:E64B2A778028AB4A8EA6EB700647BFF601FA1C7F69@MAIL1.babraham.ac.uk"
      type="cite">
      <pre wrap="">I have a script which used to go through all possible adapters in the registry to give me a choice of genomes to process.  However in recent ensemblgenomes releases this no longer works as it takes so long to get through the thousands of adapters that it never completes.

I'm therefore trying to set up a specific slice adapter for the species I want.  The problem is I can't find the correct name to use and I don't know how to get it.  I'm trying to work with the latest S pombe release and my adapter setup looks like this:

$slice_adapter = $registry->get_adaptor($species,'Core','Slice');

..I've tried various things in $species "S pombe" "Schizosaccharomyces pombe" "yeast" and probably some others, but all of them return MSG: S pombe is not a valid species name (check DB and API version).

How do I find the correct name to use for any given species?

Thanks

Simon.
The Babraham Institute, Babraham Research Campus, Cambridge CB22 3AT Registered Charity No. 1053902.
The information transmitted in this email is directed only to the addressee. If you received this in error, please contact the sender and delete this email from your system. The contents of this e-mail are the views of the sender and do not necessarily represent the views of the Babraham Institute. Full conditions at: <a class="moz-txt-link-abbreviated" href="http://www.babraham.ac.uk">www.babraham.ac.uk</a><a class="moz-txt-link-rfc2396E" href="http://www.babraham.ac.uk/terms"><http://www.babraham.ac.uk/terms></a>

_______________________________________________
Dev mailing list    <a class="moz-txt-link-abbreviated" href="mailto:Dev@ensembl.org">Dev@ensembl.org</a>
Posting guidelines and subscribe/unsubscribe info: <a class="moz-txt-link-freetext" href="http://lists.ensembl.org/mailman/listinfo/dev">http://lists.ensembl.org/mailman/listinfo/dev</a>
Ensembl Blog: <a class="moz-txt-link-freetext" href="http://www.ensembl.info/">http://www.ensembl.info/</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>