Re: [Bioc-devel] groHMM Bioconductor

2025-01-24 Thread Pariksheet Nanda via Bioc-devel
Hi Tulip, The R NEWS file says "Strict R headers are now the default. This removes the legacy definitions of PI, Calloc, Realloc and Free: use M_PI, R_Calloc, R_Realloc or R_Free instead" here: https://cran.r-project.org/doc/manuals/r-devel/NEWS.html so the patch below fixes the source compi

Re: [Bioc-devel] Adding additional validity checks when calling setter methods of inherited S4Vectors::DataFrame class

2025-01-04 Thread Pariksheet Nanda via Bioc-devel
Hi Lluís, > So your setter method `[<-` could have this call inside it, and this > would prevent the creation of an invalid object. Thank you for solving my issue! I wasn't successful trying something similar earlier because I was passing no arguments to callNextMethod(), but retrying your s

[Bioc-devel] Merging or renaming a fork, and appropriate journal for package updates

2021-12-01 Thread Pariksheet Nanda
Hi folks, I'm wrapping up my dissertation and one of the chapters touches on a summer of patching a Bioconductor package that currently lives as a separate GitHub fork (the list of changes is here [1]). 2 of the questions I've been asked by a member of my committee are whether to: (1) assoc

Re: [Bioc-devel] [External] Re: Strange "internal logical NA value has been modified" error

2021-10-16 Thread Pariksheet Nanda
Hi folks, The fault was my directly overwriting the value of an R object pointing to NA with an integer value: # ./R/TSSHMM-class.R ... converged <- NA .Call(C_train, PACKAGE = "tsshmm", converged, ... # src/R_wrap_tsshmm.c ...

Re: [Bioc-devel] Strange "internal logical NA value has been modified" error

2021-10-13 Thread Pariksheet Nanda
Hi Hervé, On 10/13/21 12:43 PM, Hervé Pagès wrote: On 12/10/2021 15:43, Pariksheet Nanda wrote: The function in question is: replace_unstranded <- function (gr) { idx <- strand(gr) == "*" if (length(idx) == 0L)    ^ Not related to the &

Re: [Bioc-devel] [External] Re: Strange "internal logical NA value has been modified" error

2021-10-13 Thread Pariksheet Nanda
nt. Actually, I liked Henrik's UBSAN suggestion, which requires the least amount of work. I think I'd then try  R -d valgrind -f /tests/testthat.R and then further into the weeds... actually from the section of R-exts you mention  R_C_BOUNDS_CHECK=yes R -f /tests/testthat.R migh

Re: [Bioc-devel] Strange "internal logical NA value has been modified" error

2021-10-12 Thread Pariksheet Nanda
You might have success running under valgrind, something like R -d valgrind -f minimal_script.R. Hope those suggestions help! Martin On 10/12/21, 6:43 PM, "Bioc-devel on behalf of Pariksheet Nanda" wrote: Hi folks, I've been told to ask some of my more fun questions o

Re: [Bioc-devel] Strange "internal logical NA value has been modified" error

2021-10-12 Thread Pariksheet Nanda
Hi all, On 10/12/21 6:43 PM, Pariksheet Nanda wrote: Error in `...`: internal logical NA value has been modified In the R source code, this error is in src/main/memory.c so I was thinking one way of investigating might be to run `R --debugger gdb`, then running R to load the symbols and

[Bioc-devel] Strange "internal logical NA value has been modified" error

2021-10-12 Thread Pariksheet Nanda
Hi folks, I've been told to ask some of my more fun questions on this mailing list instead of Slack. I'm climbing the ladder of submitting my first Bioconductor package (https://gitlab.com/coregenomics/tsshmm) and feel like there are gremlins that keep adding rungs to the top of the ladder.

Re: [Bioc-devel] GLAD quotation

2019-08-22 Thread Pariksheet Nanda
Hi Patricia, Whoops, my mistake! GLAD is indeed a Bioconductor package: $ R -q > BiocManager::available("glad") [1] "GLAD" "GladiaTOX" > You don't need to purchase any software license. You can install the package freely inside R. See: https://bioconductor.org/packages/release/bioc/html/GL

Re: [Bioc-devel] GLAD quotation

2019-08-22 Thread Pariksheet Nanda
Hi Patricia, You've got the wrong e-mail address. Bioconductor doesn't sell proprietary software licenses. This mailing list is for developers to discuss technical matters with the R or Bioconductor software packages. I don't know what the website or e-mail address you need for purchasing the GLA

Re: [Bioc-devel] IRanges should support long vectors

2019-05-28 Thread Pariksheet Nanda
iring a GRanges is not as reasonable? I don't even know of a sane way to mock a BSgenome object for writing tests. It's irritating to have to use actual small genomes for tests. Pariksheet On Tue, May 28, 2019 at 3:35 AM Pages, Herve wrote: > Hi Pariksheet, > > On 5/25/19 12:49,

[Bioc-devel] IRanges should support long vectors

2019-05-25 Thread Pariksheet Nanda
Hello, R 3.0 added support for long vectors, but it's not yet possible to use them with IRanges. Without long vector support it's not possible to construct an IRanges object with more than 2^31 elements: > ir <- IRanges(start = 1:(2^31 - 1), width = 1) > ir <- IRanges(start = 1:2^31, width = 1)

Re: [Bioc-devel] BiocManager to install Depends/Imports/Suggests

2018-07-09 Thread Pariksheet Nanda
Hi Levi, Why not use devtools which already does this? Setting `dependencies = TRUE` installs the packages listed in Imports and Suggests, and BiocManager::repositories() like BiocInstaller::biocinstallRepos() returns a list of repositories. See inline below: On Mon, Jul 9, 2018 at 4:51 AM, Lev

Re: [Bioc-devel] How best to remap S4Vectors::Hits indices?

2018-05-24 Thread Pariksheet Nanda
Hi all, > I want to compare a subset of GRanges for hits, but revert to > the original GRanges indices when returning the results. For now I will recreate the Hits object: https://github.com/coregenomics/nascentrna/commit/e04e52b6db37bccde1dde7e85b262afe5c3d723c#diff-ee43ece522f0957d1699554637a9b

[Bioc-devel] How best to remap S4Vectors::Hits indices?

2018-05-22 Thread Pariksheet Nanda
Hi folks, I'm working on a package that does some trivial GRanges position classifications; primarily to standardize nomenclature according to the literature in workflows. The API for S4Vectors::Hits() generally doesn't seem amenable to modify Hits objects, except for the remapHits() feature (whi

Re: [Bioc-devel] BiocInstaller: next generation

2018-05-09 Thread Pariksheet Nanda
Hi Henrik, On Thu, May 10, 2018 at 1:21 AM, Henrik Bengtsson < henrik.bengts...@gmail.com> wrote: > > > May I suggest the package name: > > * Bioconductor > > The potential downside would be possible confusions between the version of > this package versus the actual Bioconductor repository. Could

Re: [Bioc-devel] Including data for @examples to run

2018-04-26 Thread Pariksheet Nanda
Hi Adam, On Wed, Apr 25, 2018 at 2:35 PM, Adam Price wrote: > > There are a few reasons why I'm using \dontrun{} for my examples and want > to know if there is any way to actually run my examples. > > My package incorporates some automated data management and requires in > practice that certain d

Re: [Bioc-devel] BiocCheck - warning: files are over 5MB

2018-03-10 Thread Pariksheet Nanda
> disk efficient compression algorithm Whoops, meant to say compression format. Pariksheet [[alternative HTML version deleted]] ___ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel

Re: [Bioc-devel] BiocCheck - warning: files are over 5MB

2018-03-10 Thread Pariksheet Nanda
Hi Claris, On Sat, Mar 10, 2018 at 2:49 AM, Claris Baby via Bioc-devel < bioc-devel@r-project.org> wrote: > > [1] "The following files are over 5MB in size: > 'dataset/Caenorhabditis_elegans.WBcel235.dna.chromosome.I.fa'." > This as well as other data like .gff files, that are being used > for

Re: [Bioc-devel] parallel processing in R?

2017-12-11 Thread Pariksheet Nanda
Hi Bhakti, On Mon, Dec 11, 2017 at 12:19 PM, Dwivedi, Bhakti wrote: > Is there a way to parallelize ConsensusClusterPlus package? > https://bioconductor.org/packages/release/bioc/html/ > ConsensusClusterPlus.html > We are developing a R shiny tool that performs consensus clustering in > addition

Re: [Bioc-devel] Help with R CMD check NOTEs

2017-10-18 Thread Pariksheet Nanda
Hi Anusha, On Wed, Oct 18, 2017 at 2:30 PM, Anusha Nagari < anusha.nag...@utsouthwestern.edu> wrote: > > Can you please let me know how to go about the following NOTE. Or if this is something that should be really taken care of for a successful package build and install: > > * checking re-building

Re: [Bioc-devel] Help with R CMD check NOTEs

2017-10-18 Thread Pariksheet Nanda
e stem ‘/fig3’ is not portable Hmm... I think we'll have to look at the exact vignette to see what's going on. Presumably that's a LaTeX vignette. Can you advise the package name you are working on and/or link to the the source code? > Anusha Pariksheet --- Pariksheet Nanda P

[Bioc-devel] Cannot install Bioconductor packages with biocLite() after loading QuasR

2017-09-03 Thread Pariksheet Nanda
Rsamtools_1.29.1 [41] matrixStats_0.52.2 GenomicAlignments_1.13.5 [43] ShortRead_1.35.1 assertthat_0.2.0 [45] SummarizedExperiment_1.7.5 stringi_1.1.5 [47] RCurl_1.95-4.8 VariantAnnotation_1.23.8 > Pariksheet --- Pariksheet Nanda PhD Candidate in Genetics and Genomics System Adm

Re: [Bioc-devel] Iterating over BSgenomeViews returns DNAString instead of BSgenomeViews

2017-04-12 Thread Pariksheet Nanda
On Fri, Apr 7, 2017 at 1:13 AM, Hervé Pagès wrote: > > This is the expected behavior. > > Some background: BSgenomeViews are list-like objects where the *list > elements* (i.e. the elements one extracts with [[) are the DNA > sequences from the views --snip-- > The important difference is that wit

[Bioc-devel] Iterating over BSgenomeViews returns DNAString instead of BSgenomeViews

2017-04-05 Thread Pariksheet Nanda
Biobase_2.35.1 [9] matrixStats_0.52.1 Matrix_1.2-9 [11] GenomeInfoDbData_0.99.0bitops_1.0-6 [13] RCurl_1.95-4.8 DelayedArray_0.1.7 [15] compiler_3.5.0 Rsamtools_1.27.15 [17] XML_3.98-1.6 > BiocInstaller::biocValid() [1] TRUE > --- Pariksheet Nanda PhD Ca

Re: [Bioc-devel] OrganismDb package for Drosophila.melanogaster

2016-11-17 Thread Pariksheet Nanda
On Tue, Nov 15, 2016 at 7:34 PM, Martin Morgan wrote: > On 11/15/2016 09:52 AM, Obenchain, Valerie wrote: >> On 11/15/2016 03:32 AM, Pariksheet Nanda wrote: >>> >>> It would be great to have an OrganismDb package for >>> Drosophila.melanogaster, simil

[Bioc-devel] OrganismDb package for Drosophila.melanogaster

2016-11-15 Thread Pariksheet Nanda
at creating a dm6 UCSC "refGene" TxDb. I imagine one would query the UCSC public MySQL server and then do the SQLite conversion. Although the conversion to SQLite seems a bit finagly as the datatypes differ between MySQL and SQLite and I'm having a hard time finding a well supported too