Skip to content
Prev 1937 / 21312 Next

[Bioc-devel] Sequences from non-disk sources

Thank you Martin.

I checked, your method works:
  s <- read.AAStringSet(file("stdin"), "fasta")

In C-level, a developer can read files in a non-sequential fashion,
skipping to various places around the file. This would cause a C-level
error if the input is coming from stdin because stdin is implemented
as a sequential stream.

It would make the Biostrings more stable, if an official argument
(e.g. ' "" ' for file) is documented under ?read.AAStringSet and
others, because C-level developers will then avoid the non-sequential
fashion of reading files.

Alex
On Wed, Aug 5, 2009 at 9:59 AM, Martin Morgan<mtmorgan at fhcrc.org> wrote: