Re: [R] how to read .bam file

2012-08-10 Thread mengxin
Yes,it's genomic alignment files. Thanks for your help. At 2012-08-10 18:10:02,"peter dalgaard" wrote: > >On Aug 10, 2012, at 08:24 , mengxin wrote: > >> Hi all: >> I've got a data of ".bam" which is created from my partner under linux >> sysyem. >> My system is window xp, and I wanna kn

Re: [R] how to read .bam file

2012-08-10 Thread Martin Morgan
On 08/09/2012 11:24 PM, mengxin wrote: Hi all: I've got a data of ".bam" which is created from my partner under linux sysyem. My system is window xp, and I wanna know how to read the .bam file. See Bioconductor Rsamtools http://bioconductor.org/packages/release/bioc/html/Rsamtools.html Mart

Re: [R] how to read .bam file

2012-08-10 Thread Rui Barradas
Hello, #install.packages('sos') # do this, library(sos) # it would have saved you hours. r1 <- findFn('sam') r2 <- findFn('bam') r1 & r2 Number one. Genomic alignment file formats. Hope this helps, Rui Barradas Em 10-08-2012 11:10, peter dalgaard escreveu: On Aug 10, 2012, at 08:24 , me

Re: [R] how to read .bam file

2012-08-10 Thread peter dalgaard
On Aug 10, 2012, at 08:24 , mengxin wrote: > Hi all: > I've got a data of ".bam" which is created from my partner under linux sysyem. > My system is window xp, and I wanna know how to read the .bam file. > An what is the .bam file supposed to contain? You are really not giving us much of a clu