From: Robert C. <rw...@al...> - 2004-01-08 21:04:56
|
On Thursday, January 8, 2004, at 10:23 AM, Feng, Yucheng wrote: > Hi, Robert: > Thanks a lot. It seems to work fine now, That's good to hear. > except.... > > One little glitch still left in update. I got an error when try to > update: > > [yfeng:Bioinf/MyGenBank/bin] yuchengfeng% mygb_admin update > update :update > updating MyGenBank > ftp-ing 1222 > Bad file descriptor at .//mygb_admin line 193. > > gunzip: stdin: unexpected end of file > ... > Maybe in the subroutine ftpNCBI( ), we should exclude the files that > start with con_nc. Made these changes to the admin script: # next unless $file =~ /(\w+)\.flat\.gz$/; next unless $file =~ /(nc\w+)\.flat\.gz$/; Tested it with: mygb_admin -t update Now the script skips the con_nc files and only gets files beginning with nc. Again, thanks for the feedback. Hopefully, when I get back from PAG I can get all this stuff into the CVS server on SourceForge, especially because I created a bunch of little helper scripts to install and uninstall MyGenBank. This will allow you to easily create multiple instances of the data directories and the database. Regards, - Robert |