[Bioc-devel] Missing seqinfo method for BamFileList?

2014-04-25 Thread Ryan C. Thompson
Hi all, I noticed that the seqinfo works on BamFile objects, but not on BamFileList objects. For BamFileList, it does not throw an error, but rather uses the inherited method for "List", which does not return a useful result for BamFileList. I suggest the following implementation of a useful

Re: [Bioc-devel] Missing seqinfo method for BamFileList?

2014-04-25 Thread Martin Morgan
Hi Ryan -- I implemented your suggestion in Rsamtools 1.17.8; it's a little weird to come up with such a synthetic Seqinfo, but I think the usual use case will be that the bam files are actually identical with respect to their seqinfo. And it's better than the previous behavior. Thanks for t

Re: [Bioc-devel] Missing seqinfo method for BamFileList?

2014-04-26 Thread Ryan Thompson
I agree it could be a bit weird, but the merge method will catch any inconsistency and throw an error, so I think it's fairly safe. And as you say, the common case should be that the files all have the same seqinfo anyway. On Apr 25, 2014 10:32 PM, "Martin Morgan" wrote: > Hi Ryan -- > > I implem