[EMBOSS] getting organism from accession

Peter Rice pmr at ebi.ac.uk
Fri Jun 18 15:53:26 UTC 2010


On 18/06/2010 13:07, Tiwari, Bela wrote:
> Dear all,
>
> I have a set of accession numbers and I want to retrieve the organism that the sequence is associated with - i.e. the content of the OS line in an embl file.  I don't need the taxonomic id, and I don't need to start traversing taxonomy trees. I want to do this by accessing remote databases (via srs, as configured in my emboss.defaults file), rather than indexing databases locally.  So the output I want would be a text mapping like:
>
> accession : species
>
> where species is taken from the OS line of a database entry.

This will be in EMBOSS 6.3.0 as:

infoseq -only -accession -organism (with no ':' in the output)

For now it has the full text from the OS line, soon we may be able to 
select one species name instead of a list.

Hope this will help

Peter



More information about the EMBOSS mailing list