[ensembl-dev] API function for searching by gene name changed?

Adam Witney awitney at sgul.ac.uk
Fri Oct 4 16:11:57 BST 2013



On 4. 10. 2013 15:53, Dan Staines wrote:
> On 10/04/2013 03:50 PM, Adam Witney wrote:
>>
>> I am trying to pull genes out by their gene name (e.g. pmrA in species
>> "pseudomonas_aeruginosa*"), in a previous release I used this function:
>>
>> my $genes = $dba->get_GeneAdaptor()->fetch_all_by_external_name("pmrA");
>
> Hmm, can you give me an example of one of the P. aeruginosa DBAs you'd
> seen this working with before so I can try and figure out whats going on?

Not sure of the exact version, but i was using this script on 26th June

https://gist.github.com/awitney/6827524

via this command:

perl fetch_ensembl.pl "pmrA" pseudomonas_aeruginosa* dna > pmrA.ffn

Thanks

Adam




More information about the Dev mailing list