Re: [Bioc-devel] Strand-Awareness for Restrict Function

2016-02-18 Thread Hervé Pagès
On 02/18/2016 01:00 AM, Maintainer wrote: Hello, Hi, I'm putting this back to bioc-devel and setting the Subject to "Strand-Awareness for Restrict Function" since this seems to be a continuation of this thread (that you started here). I hope you don't mind. Setdiff automatically reduces

Re: [Bioc-devel] Strand-Awareness for Restrict Function

2016-02-16 Thread Kasper Daniel Hansen
upstream / downstream is what we have previously used for strand awareness. Kasper On Tue, Feb 16, 2016 at 3:41 AM, Hervé Pagès wrote: > Hi Dario, > > AFAIK the 'start' and 'end' are strand-independent concepts so it > wouldn't be a good idea to let the user specify a

Re: [Bioc-devel] Strand-Awareness for Restrict Function

2016-02-16 Thread Hervé Pagès
Hi Dario, AFAIK the 'start' and 'end' are strand-independent concepts so it wouldn't be a good idea to let the user specify a strand-specific window thru these arguments. That means a strand-aware restrict() would need to have 2 additional arguments. But how should we name them? My preference

[Bioc-devel] Strand-Awareness for Restrict Function

2016-02-14 Thread Dario Strbenac
Hello, The restrict function currently has no strand settings. This would be useful if I am creating fixed size windows, 50 bases wide, by sampling the start positions of the windows from a GRanges object. I'd like to restrict the GRanges object being sampled from, but only on the - stand when