[BioC] bam or sam for counting

Sean Davis sdavis2 at mail.nih.gov
Wed Nov 2 22:48:02 CET 2011


On Wed, Nov 2, 2011 at 4:35 PM, wang peter <wng.peter at gmail.com> wrote:
>
> dear sean:
> sorry, but no one answer me the same question
>
> thank u very much for your kindly reply, but my question is "is there any
> function to read sam files"?

Sam files are text files, so read.table can do so.  I'd suggest
following Martin's advice in his answer.

> and is there some way to read bam files partly?

I think Martin just answered this question.  Give it a try and let us
know if you have problems by including the code you tried, any errors,
and the output of sessionInfo().

Sean



More information about the Bioconductor mailing list