I am trying to incorporate some GCG programs into a perl script
but some really obvious tricks don't seem to work like one would
expect because GCG appears to lack the notion of 'stdout'.
For example:
$data = `fetch -D accno`;
doesn't work because fetch tries to make things easy for you by
creating a file with a name based on the accession number.
$data = `fetch -d accno -OUT=Term`;
doesn't work either because 'TERM' is not the same thing as
'STDOUT' which is what I would logically expect it to be. How
can I get GCG programs to write to stdout? I should not have to
use a tmp file in this situation-- I should be able to stream the
data in.... right?
Can anyone shed any light on this?
Thanks,
Eric E. Snyder, PhD
Sequana Therapeutics, Inc.
11099 North Torrey Pines Road, Suite 160
La Jolla, CA 92037
(619) 452-6550 ex 279; (619) 452-6653 fax; eesnyder at sequana.comhttp://beagle.colorado.edu/~eesnyder/eesnyder.html