tar xvf img2db.tar
cd img2db
Usage 1: check in micrographs to database:
img2db [-a averagefactor] [-b brightness] [-c contrast] [-e exposuretime] [-g gain] [-m scanner] [-n] [-p] [-s scanstep] image1 [image2 ...]
-a: averagefactor; default = 1.0
-b: brightness; default = 30.0
-c: contrast; default = 68.0
-e: exposuretime; default = 0.0
-g: gain; default = 0.0
-m: scanner; default = Zeiss
-n: comments; default =
-p: parameters; default = 1
-s: scanstep; default = 7.0
Usage 2: download micrographs:
img2db [-f] -d n
n: shrinkfactor: 1, 1.5, 2, 3, ...
-f: fast download: download the latest object without ask
Usage 3: download CCD Frames:
img2db [-f] -F
-f: fast download: download the latest object without ask
Usage 4: download box data files:
img2db [-f] -D
-f: fast download: download the latest object without ask
Usage 5: check in box data files:
img2db -B LP0001.box [LP0002.txt ...]
Usage 6: check in ctf parameters:
img2db -C ctfparm1.txt [ctfparm2.txt ...]
Usage 7: send an ISO image to burn a CD:
img2db -I isoimage
Usage 8: check version number:
-v: version number
% img2db -a 1 -b 20 -c 70 lp0001.tld lp0002.tld
% img2db -b 10 -c 60 -n lp0001.tld lp0002.tld
-n, the program will ask for the
comments for each image interactively at run-time.
% img2db -a 1.5 lp0001.tld lp0002.tld
% img2db -d 1.5
1) set value on command-line. e.g., brightness,
contrast, averagefactor, etc. you use them like
img2db -b 20.0 -c 70.0 -a 1.5 lp0001.tld
2) don't set the value on command-line.
the value is micrograph-specific, and will
be asked interactively at run-time. e.g.,
comment, parameters, etc. use them like
img2db -n -p lp0001.tld lp0002.tld
3) set the type of usage. e.g., '-d' for
download, '-f' for ftp-only, use them like
img2db -f lp0001.tld lp0002.tld
averagefactor: valid values are:
1: use 'tld2mrc' to do the averaging.
1.5: use 'tld2mrc3-1' to do the
averaging.
2: use 'tld2mrc2' to do the
averaging.
img2db -U lpeng -P LP*.tld > mylog.txt &All error messages and logs will go to file mylog.txt. You may want to check it later for any errors.