On 18 Jun 2010, at 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.

how about:

entret embl:XXXX stdout | grep ^OS

Is that close enough?

Simon.


_______________________________________________
EMBOSS mailing list
[email protected]
http://lists.open-bio.org/mailman/listinfo/emboss

Reply via email to