[EMBOSS] Antwort: Genbank GI fetching?
Peter Rice
pmr at ebi.ac.uk
Mon Jun 18 09:09:39 UTC 2007
david.bauer at bayerhealthcare.com wrote:
> Hi Niels,
>
> Niels Larsen <niels at genomics.dk> schrieb am 18/06/2007 01:56:40:
>
>> Btw, the seqret documentation
>> doesnt say, but stdin: works as stdout:
>>
>> zcat 2.gz | seqret -filter stdin:AAIY01677200 -sbegin1 11 -osformat2
>> embl -firstonly
>
> Ehm, this is a strange construction. The -filter is a general qualifier
> for all EMBOSS programs and means that input comes from stdin and output
> goes to stdout. So I'm not sure what happens if you combine -filter with
> stdin: but I guess that Peter has an answer to this.
No problem. -filter defaults to reading stdin for the first input, and
writing to stdout for the first output.
If you specify something else for the input or output, it will do what
you say.
So, as David says, it is the -filter that tells it to write to stdout.
regards,
Peter
More information about the EMBOSS
mailing list