From: Heng Li <lh...@sa...> - 2012-02-29 06:01:15
|
No, at least samtools cannot do this. I heard Fred Long (I do not know if he is in the samtools-help list) has done similar things. If your data are not huge, you may consider to import the entire SAM to SQLite. Heng On Feb 28, 2012, at 7:57 PM, Abhishek Pratap wrote: > Hi Guys > > > Just wondering if there is a way available to index bam files based on > read names allowing for O(1) or O(log N) lookups later by read name. > Something like this might already exist as part of the mate pairing > step in BWA but I am not sure. Also In my case the index should allow > to keep multiple values of the keys as reads can map to multiple > location. > > I have asked similar questions on bioperl/biostar but may be I shud > have first tried here. > > Thanks! > -Abhi > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Samtools-help mailing list > Sam...@li... > https://lists.sourceforge.net/lists/listinfo/samtools-help -- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. |