Article View: bionet.software.srs
Article #19Re: How to get around changing .i files while indexing offline
From: Rodrigo Lopez
Date: Fri, 24 Sep 1999 00:00
Date: Fri, 24 Sep 1999 00:00
62 lines
3384 bytes
3384 bytes
Oh Dear! The joys of working late. If was talking about SRS6.x. I'm sorry for the previous posting. However, a judicious use of the environment variable that determine where the index and icarus files are as well as building the srs section somewhere else can do the trick with SRS5.x. Thure and I did it here a while back during an emergency and it worked. It required quite a lot of cool (real sweat!) from my part to go through it :-) It can get quite complicated and this is indeed what has appeared 'transparently' in SRS6.x R:) Tim Cutts <timc@chiark.greenend.org.uk> wrote in message news:xCy*c-S+n@news.chiark.greenend.org.uk... > In article <newscache$b68iif$ptj@pointy-haired-boss>, > Rodrigo Lopez <rls@ebi.ac.uk> wrote: > >Hi, > > > >There is another way of achieving what you want: > > > >1. Start a new UNIX session > >2. If you know how to use $SRSOFFINX you simply use it. > >OR: Check you srsdb.i for or add/edit something like this: > > > > $libloc:[@EMBL_DB dir:"$dataRootF/embl/"] > > indexDir:"$dataRootS/srsindex/" > > offDir:"/ebi/services/ext/data/embl/"] > > > >offDir is the location of the new embl files you want to index. > >$SRSOFFINX is the location where you will store temporarily the index files. > > > >3. Do an srscheck embl. > > > >4. check the content of $SRSETC/srsupdate > > > >If everything is to your satisfaction you can start the indexing and > >continue to query the old embl database in the meantime. > > No, Rodrigo, that doesn't work, as he said in his initial posting, > because the embl.i file has to be edited for the new divisions. This > then means that even though you're building offline, the old inices will > start returning the wrong entries, because the embl.i file has changed. > > You need to have an offline version o the database definition as well, > and SRS does not have that. There are two solutions: > > 1) Have a parallel installation of SRS on the same machine which you > use only for index building. You can then copy the index files across > once its done, update the embl.i file in your online SRS, run srssection > and hey presto. You do need to be very careful that the .i files are > exactly the same on both installations. > > 2) Use the same scheme, but with completely separate machines. > > I believe this is supposed to be fixed in SRS 6, but for commercial > sites like mine, buying a new faster machine is more cost-effective than > upgrading SRS. > > Tim. >
Technical Details
Message-ID:
<newscache$idkkif$n31@pointy-haired-boss>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<19990921.17255300@lutetium.hgmp.mrc.ac.uk> <subaeqfxpy1.fsf@sanger.ac.uk> <newscache$b68iif$ptj@pointy-haired-boss> <xCy*c-S+n@news.chiark.greenend.org.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa6ec,45653d8a722b29d8 X-Google-Attributes: gidfa6ec,public From: "Rodrigo Lopez" <rls@ebi.ac.uk> Subject: Re: How to get around changing .i files while indexing offline Date: 1999/09/24 Message-ID: <newscache$idkkif$n31@pointy-haired-boss> X-Deja-AN: 529076341 References: <19990921.17255300@lutetium.hgmp.mrc.ac.uk> <subaeqfxpy1.fsf@sanger.ac.uk> <newscache$b68iif$ptj@pointy-haired-boss> <xCy*c-S+n@news.chiark.greenend.org.uk> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Complaints-To: news@hgmp.mrc.ac.uk X-Trace: niobium.hgmp.mrc.ac.uk 938185255 6765 193.62.196.237 (24 Sep 1999 15:00:55 GMT) Organization: EBI- European Bioinformatics Institute X-MSMail-Priority: Normal NNTP-Posting-Date: 24 Sep 1999 15:00:55 GMT Newsgroups: bionet.software.srs