[Bioc-devel] Organizing committee for BioC2020

2019-09-18 Thread Aedin Culhane
Dear Bioconductor Developer Community, The organizing committee for BioC2020, to be held in Boston on July 29-31, needs organizers to help in planning the event. Participation involves attending approximately monthly remote meetings plus taking on responsibilities in one or more of the areas

Re: [Bioc-devel] read_bed()

2019-09-18 Thread Michael Lawrence via Bioc-devel
I'd suggest separating the operations on the data from the interface. You can have both, one layer for programming and another for interactive analysis. On Wed, Sep 18, 2019 at 5:05 AM Bhagwat, Aditya wrote: > > In the end I endeavour to end up with a handful of verbs, with which I can do > all

Re: [Bioc-devel] read_bed()

2019-09-18 Thread Bhagwat, Aditya
In the end I endeavour to end up with a handful of verbs, with which I can do all tasks in a project. Regarding the BED files: they're basic bed files, with additional metadata columns to allow traceback. But for the purpose of multicrispr, non need to restrict to those files only. You

Re: [Bioc-devel] read_bed()

2019-09-18 Thread Bhagwat, Aditya
Hi Michael, That's a software design dilemma I've encountered a few times. One approach is to keep the "verb" functions bare. E.g. read_bed would only read a bedfile, and plot_bed would somehow plot it. Advantage: if read_bed doesn't depend on anything else, other functions can depend on it,

Re: [Bioc-devel] read_bed()

2019-09-18 Thread Michael Lawrence via Bioc-devel
I'm not sure if a function called read_bed() should be plotting or printing. Is your BED file a known BED variant, i.e., maybe there is a better name for the file type than "bed"? On Wed, Sep 18, 2019 at 3:17 AM Bhagwat, Aditya wrote: > > Actually, > > I will keep multicrispr::read_bed(), but

Re: [Bioc-devel] read_bed()

2019-09-18 Thread Bhagwat, Aditya
Actually, I will keep multicrispr::read_bed(), but wrap it around rtracklayer::import.bed, and additionally plot and print range summaries. Aditya From: Bioc-devel [bioc-devel-boun...@r-project.org] on behalf of Bhagwat, Aditya

Re: [Bioc-devel] read_bed()

2019-09-18 Thread Bhagwat, Aditya
(Typo corrected to avoid confusion) Michael, rtracklayer::import.bed() indeed works perfectly for me, so I am dropping multicrispr::read_bed(). In order to avoid the overkill of `require(tracklayer)` for multicrispr users, does it make

Re: [Bioc-devel] read_bed()

2019-09-18 Thread Bhagwat, Aditya
Michael, rtracklayer::import.bed() indeed works perfectly for me, so I am dropping multicrispr::read_bed. In order to avoid the overkill of `require(tracklayer` for multicrispr users, does it make sense to import/re-export read.bed in

Re: [Bioc-devel] read_bed()

2019-09-18 Thread Bhagwat, Aditya
Thank you Michael :-) Aditya From: Michael Lawrence [lawrence.mich...@gene.com] Sent: Tuesday, September 17, 2019 8:49 PM To: Bhagwat, Aditya Cc: Michael Lawrence; bioc-devel@r-project.org Subject: Re: [Bioc-devel] read_bed() I think you probably made a