IUBio GIL .. BIOSCI/Bionet News .. Biosequences .. Software .. FTP

Hyperlink problem

Jean-Marc Plaza plaza at infobiogen.fr
Tue Nov 12 10:30:38 EST 1996


Hello SRS managers,
I have a problem with making an hyperlink field in virgil.
When i build a list with displaying the GDBuid field,
the hyperlink is OK :
********************************************
     VIRGIL:14582 
     IDa    gdb:118728; ANPEP; 31-MAY-1993
                ^^^^^^
                hyperlink is OK
********************************************

Then when i display the all entry the hyperlink is lost.

********************************************
TYP    vgl:14582; GDB[gene] * Genbank[sequence]
OR1    genXref; v1.0; 0.61; 01-AUG-1996
OR2    GDB; v6.1; undef; undef
xxx
IDa    gdb:118728; ANPEP; 31-MAY-1993           <---- no more hyperlink
DFa-   alanyl (membrane) aminopeptidase (aminopeptidase N,
DFa    aminopeptidase M, microsomal aminopeptidase, CD13, p150)
xxx
IDb    gbk:M22324; HUMAMIPEP; 31-OCT-1994
DFb-   Human aminopeptidase N/CD13 mRNA encoding aminopeptidase
DFb    N, complete cds. 
********************************************

This case coud be occured in other databank.
Could someone have a clue in my problem ???

Thanks all in advance

--------------------------------------

here is an extract of virgil.sdl
noticed that IDa field is indexed in DF_ID1 but also in DF_DBI and
DF_LINK.

 #libformat 
......
    ! database id
    !------------
    #field
      /itype=key  /ftype=@DF_DBI  /idtype=@SRSxSEQID
      /begstr="TYP", "IDa", "IDb"       /find=db_id
      /maxlines=1

    ! object 1
    !---------
    #field
      /gblid=%VIRGIL_GDB
      /itype=key  /ftype=@DF_ID1 /idtype=@SRSxSEQID
      /begstr="IDa"      /find=id      /maxlines=1

    ! link to MIMMAP
    !-----------------
    #field
      /itype=link  /ftype=@DF_LINK  /idtype=@SRSxLINKID
      /begstr="IDa"  /maxlines=1 /find=link2mimmap

#parser
......
  id = [ vgl_id | gbk_id | gdb_id ];
  gbk_id =  'gbk' ':'  ~A-Za-z0-9~ <wrt>;
  vgl_id =  'vgl' ':'  ~0-9~ <wrt>;
  gdb_id =  'gdb' ':'   ~0-9~ <wrt>;

  db_id = [ vgl_lnk | gbk_lnk | gdb_lnk ];
  gbk_lnk =  'gbk:'<wrt>   accno <app>;
  gdb_lnk =  'gdb:'<wrt>   uid <app>;
  vgl_lnk =  'vgl:'<wrt>   uid <app>;  link2mimmap = [ gdb_map | gbk_map
];  gdb_map     = 'gdb' ':' ~A-Z0-9a-z~ ';'  ~A-Z0-9a-z_\-~ <wrt
c=@MIMMAP_REF>;
  gbk_map     = 'gbk' ':' ~A-Z0-9a-z~ ';'  ~A-Z0-9a-z_\-~ <wrt
c=@MIMMAP_REF>;


extract of hyperlink.sdl:
....
#hyperlink /field=@VIRGIL_GDB
    /parse=gdb_id /parser=@INSERTLINK_PARSER
.....
  gdb_id = ~A-Za-z0-9~ 'gdb' ':'  ~0-9~ <wrt c=@FETCH_GDB
f=@F_INSERTHLINK>;


---------------------------------------------------
Jean-Marc PLAZA
INFOBIOGEN - CNRS
7, rue Guy Moquet BP8 94801 VILLEJUIF Cedex, France
tel: +33 45 59 52 39  fax: +33 45 59 52 50
e-mail: plaza at infobiogen.fr
---------------------------------------------------




More information about the Bio-srs mailing list

Send comments to us at archive@iubioarchive.bio.net