Skip to content
Prev 6980 / 21312 Next

[Bioc-devel] BamTallyParam argument 'which'

Hi Michael and Thomas,

I ran into the same problem in the past (i.e. when I started working
with functions like scanBam I expected them not to return the same
alignment multiple times)

One thing to consider might be that returning alignments multiple
times is consistent with the behavior of the samtools view command.
Quoting from the samtools manual:

?Important note: when multiple regions are given, some alignments may
be output multiple times if they overlap more than one of the
specified regions.?

Maybe there is an argument for keeping things consistent with
samtools? As you said, if documented properly, the user can decide
whether to reduce regions specified in which or not.

Leonard


On Mon, Feb 23, 2015 at 10:52 AM, Michael Lawrence
<lawrence.michael at gene.com> wrote: