Problem to debug the 'external' database link

Alain EMPAIN Alain.Empain at ulg.ac.be
Fri Sep 28 09:27:09 UTC 2001


Hi !

I am trying to link EMBOSS 2.0.1 tools to an internal database and I do not 
find a way to debug the error.

For ex. I replaced the app expression by 
	app: "echo %s > /tmp/log" 
to at least take a look at what is passed, but nothing 
is written to /tmp/log ??
 
---------------------------------------------------------
alain at kwak:/work/genbase/db$ seqret
Reads and writes (returns) sequences
Input sequence(s): app:essai
   An error has been found: option -sequence: 
	Unable to read sequence 'app:essai'
-----------------------
==> normal error because there is nothing returned, 
	but the /tmp/log is not created


===========================================
Here is a real try, working well from the shell :
look 'AGLA13' /work/genbase/db/sequence.str | g_fasta-io -f

my .embossrc :
(...)
DB  gmol  [
	method: app
	format: fasta
	app: "look '%s' /work/genbase/db/sequence.str | g_fasta-io -f"
	type: P
	comment: "Genbase/db/sequence.str"
]
(...)



	Thanks for any information,

	Alain
+--------------------------------------------------------------------------------------
|  Dr Alain EMPAIN      Bioinformatique, Génétique Moléculaire B43,
|  Fac. Méd. Vétérinaire, Univ. de Liège, Sart-Tilman / B-4000 Liège  
|       Alain.EMPAIN at ulg.ac.be
|       WORK:+32 4 366 3821 Fax: +32 4 366 4122   GSM:+32 497 701764
|       HOME:+32 85 512341  -- Rue des Martyrs,7  B-4550 Nandrin





More information about the EMBOSS mailing list