Bioconductor / Contributions

Contribute Packages to Bioconductor
131 stars 33 forks source link

simPIC #3323

Closed sagrikachugh closed 3 months ago

sagrikachugh commented 4 months ago

Update the following URL to point to the GitHub repository of the package you wish to submit to Bioconductor

Confirm the following by editing each check box to '[x]'

I am familiar with the essential aspects of Bioconductor software management, including:

For questions/help about the submission process, including questions about the output of the automatic reports generated by the SPB (Single Package Builder), please use the #package-submission channel of our Community Slack. Follow the link on the home page of the Bioconductor website to sign up.

bioc-issue-bot commented 4 months ago

Hi @sagrikachugh

Thanks for submitting your package. We are taking a quick look at it and you will hear back from us soon.

The DESCRIPTION file for this package is:

Package: simPIC
Version: 0.99.0
Date: 2023-02-02
Type: Package
Title: simPIC: A uniform quantification based method for simulating Paired-Insertion count matrices for single-cell ATAC sequencing data
Authors@R: person("Sagrika", "Chugh", role=c("aut","cre"), email = "sagrika.chugh@gmail.com", comment = c(ORCID = "0000-0002-8050-5214"))
Depends: SingleCellExperiment
Imports: 
    BiocGenerics,
    checkmate (>= 2.0.0),
    fitdistrplus,
    matrixStats,
    Matrix,
    stats,
    SummarizedExperiment,
    actuar,
    rlang,
    S4Vectors,
    ggplot2,
    methods,
    scales,
    scuttle
Description: simPIC is a package for simulating single-cell ATAC-seq count data.
    It provides a user-friendly, well documented interface for data simulation.
    Functions are proided for parameter estimation, realistic scATAC-seq data simulation, and comparing real and simulated datasets.
biocViews: SingleCell, ATACSeq, Software, Sequencing, ImmunoOncology, DataImport
License: GPL-3
Encoding: UTF-8
Suggests: 
    knitr,
    rmarkdown,
    BiocStyle,
    testthat (>= 3.0.0)
VignetteBuilder: knitr
RoxygenNote: 7.3.1
Config/testthat/edition: 3
lshep commented 3 months ago

Note: In your vignette you use counts <- readRDS("../inst/extdata/test.rds"); you should not hard code a path to the file and instead use what you did inside your examples counts <- readRDS(system.file("extdata","test.rds", package = "simPIC")) .

bioc-issue-bot commented 3 months ago

Your package has been added to git.bioconductor.org to continue the pre-review process. A build report will be posted shortly. Please fix any ERROR and WARNING in the build report before a reviewer is assigned or provide a justification on why you feel the ERROR or WARNING should be granted an exception.

IMPORTANT: Please read this documentation for setting up remotes to push to git.bioconductor.org. All changes should be pushed to git.bioconductor.org moving forward. It is required to push a version bump to git.bioconductor.org to trigger a new build report.

Bioconductor utilized your github ssh-keys for git.bioconductor.org access. To manage keys and future access you may want to active your Bioconductor Git Credentials Account

bioc-issue-bot commented 3 months ago

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on the Bioconductor Single Package Builder.

Congratulations! The package built without errors or warnings on all platforms.

Please see the build report for more details.

The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): simPIC_0.99.0.tar.gz

Links above active for 21 days.

Remember: if you submitted your package after July 7th, 2020, when making changes to your repository push to git@git.bioconductor.org:packages/simPIC to trigger a new build. A quick tutorial for setting up remotes and pushing to upstream can be found here.

bioc-issue-bot commented 3 months ago

A reviewer has been assigned to your package for an indepth review. Please respond accordingly to any further comments from the reviewer.

HelenaLC commented 3 months ago

Thanks for submitting your package to Bioc, it's in fantastic shape already! A few minor points (mostly suggestions/optional improvements); please report back with what's been addressed and how, or any questions you might have.

misc

code

switch(pm.distr, 
    gamma={ 
        ...
    },
    weibull={
        ...
    })
simPICsimulatePeakMean <- \(..., 
    pm.distr=c("gamma", "weibull", ...)) {
    pm.distr <- match.arg(pm.distr)
    ...
}

docs

bioc-issue-bot commented 3 months ago

Received a valid push on git.bioconductor.org; starting a build for commit id: 686954114190a577860c47b992ab5383ee91bc66

bioc-issue-bot commented 3 months ago

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on the Bioconductor Single Package Builder.

On one or more platforms, the build results were: "ERROR". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.

Please see the build report for more details.

The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): simPIC_0.99.1.tar.gz

Links above active for 21 days.

Remember: if you submitted your package after July 7th, 2020, when making changes to your repository push to git@git.bioconductor.org:packages/simPIC to trigger a new build. A quick tutorial for setting up remotes and pushing to upstream can be found here.

bioc-issue-bot commented 3 months ago

Received a valid push on git.bioconductor.org; starting a build for commit id: e876fcbb6129604f58ab5cafcebc66d150f865f5

bioc-issue-bot commented 3 months ago

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on the Bioconductor Single Package Builder.

On one or more platforms, the build results were: "ERROR". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.

Please see the build report for more details.

The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): simPIC_0.99.2.tar.gz

Links above active for 21 days.

Remember: if you submitted your package after July 7th, 2020, when making changes to your repository push to git@git.bioconductor.org:packages/simPIC to trigger a new build. A quick tutorial for setting up remotes and pushing to upstream can be found here.

bioc-issue-bot commented 3 months ago

Received a valid push on git.bioconductor.org; starting a build for commit id: 304c22f4cee7ccd0586e9b98ea5c185c3d569f21

bioc-issue-bot commented 3 months ago

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on the Bioconductor Single Package Builder.

On one or more platforms, the build results were: "ERROR". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.

Please see the build report for more details.

The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): simPIC_0.99.3.tar.gz

Links above active for 21 days.

Remember: if you submitted your package after July 7th, 2020, when making changes to your repository push to git@git.bioconductor.org:packages/simPIC to trigger a new build. A quick tutorial for setting up remotes and pushing to upstream can be found here.

sagrikachugh commented 3 months ago

@HelenaLC @lshep Thank you for reviewing my package. I have addressed all the comments/suggestions but I am stuck with a new error from BiocCheck::BiocCheckGitClone(".") that says system file simPIC.Rproj found. I have tried multiple times and have this in my .gitignore and it should not be tracked. Here are the contents of my .gitignore file -

simPIC.Rproj .Rproj.user .Rhistory .RData .Ruserdata /doc/ /Meta/

Could you please advice me how to avoid this error?

sagrikachugh commented 3 months ago

Hi Bioconductor team,

I am having issues with BiocCheck::BiocCheckGitClone() that says system file simPIC.Rproj found. I have this file in my .gitignore so it should not be tracked. Despite multiple attempts the error still persists.

Could you please advice me how to fix this?

Here is my .gitignore file

simPIC.Rproj .Rproj.user .Rhistory .RData .Ruserdata /doc/ /Meta/

Thanks, Sagrika

On Sun, 10 Mar 2024 at 12:26 am, bioc-issue-bot @.***> wrote:

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on the Bioconductor Single Package Builder.

On one or more platforms, the build results were: "ERROR". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.

Please see the build report http://bioconductor.org/spb_reports/simPIC_buildreport_20240309082627.html for more details.

The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): simPIC_0.99.3.tar.gz https://bioconductor.org/spb_reports/simPIC_0.99.3.tar.gz

Links above active for 21 days.

— Reply to this email directly, view it on GitHub https://github.com/Bioconductor/Contributions/issues/3323#issuecomment-1986857088, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFNN4ONZQTCAB5XTB7AM2EDYXMEZXAVCNFSM6AAAAABD67HR4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBWHA2TOMBYHA . You are receiving this because you were mentioned.Message ID: @.***>

bioc-issue-bot commented 3 months ago

Received a valid push on git.bioconductor.org; starting a build for commit id: 575c79a8a7ba5a07f5f9304725b7e0ccbeaf13df

bioc-issue-bot commented 3 months ago

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on the Bioconductor Single Package Builder.

Congratulations! The package built without errors or warnings on all platforms.

Please see the build report for more details.

The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): simPIC_0.99.4.tar.gz

Links above active for 21 days.

Remember: if you submitted your package after July 7th, 2020, when making changes to your repository push to git@git.bioconductor.org:packages/simPIC to trigger a new build. A quick tutorial for setting up remotes and pushing to upstream can be found here.

sagrikachugh commented 3 months ago

@HelenaLC Thank you for taking the time to review my package. I have addressed all your comments/suggestions. Also, I was able to solve my recent .gitignore issue that I raised earlier. Here is a detail of all the addressed suggestions-

misc

code

docs

@lshep I have addressed your suggestion and updated counts <- readRDS(system.file("extdata","test.rds", package = "simPIC")) in the vignette. Also, I was able to resolve my earlier issue with .gitignore

Thanks, Sagrika

HelenaLC commented 3 months ago

Thanks for this; I think most comments have been sufficiently addressed. Couple comments outstanding...

Also, please try and address any NOTEs in the build report above, e.g.

bioc-issue-bot commented 3 months ago

Received a valid push on git.bioconductor.org; starting a build for commit id: 3b626a3237934afb0b58f7e1fb060e4499454413

bioc-issue-bot commented 3 months ago

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on the Bioconductor Single Package Builder.

Congratulations! The package built without errors or warnings on all platforms.

Please see the build report for more details.

The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): simPIC_0.99.5.tar.gz

Links above active for 21 days.

Remember: if you submitted your package after July 7th, 2020, when making changes to your repository push to git@git.bioconductor.org:packages/simPIC to trigger a new build. A quick tutorial for setting up remotes and pushing to upstream can be found here.

sagrikachugh commented 3 months ago

@HelenaLC Thanks for the additional comments. I have now addressed them as follows

HelenaLC commented 3 months ago

Thanks for this. Just to say that "the output from [...] is consistent across iterations" is exactly what vapply is made for; see ?vapply: "vapply is similar to sapply, but has a pre-specified type of return value, so it can be safer (and sometimes faster) to use." Here, the output should always be an integer vector of length nPeaks, so you'd use vapply(seq_len(nCells), sim_true_counts, integer(nPeaks)). I'd recommend getting in the habit of using lapply when outputs are not consistent, and vapply when they are! I'll accept once that NOTE is cleared as I feel it is very simple to resolve (and in our experience doesn't happen usually after acceptance...)

bioc-issue-bot commented 3 months ago

Received a valid push on git.bioconductor.org; starting a build for commit id: 0980afdc48e9762a75743e1afa00c520c29b690d

bioc-issue-bot commented 3 months ago

Dear Package contributor,

This is the automated single package builder at bioconductor.org.

Your package has been built on the Bioconductor Single Package Builder.

Congratulations! The package built without errors or warnings on all platforms.

Please see the build report for more details.

The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): simPIC_0.99.6.tar.gz

Links above active for 21 days.

Remember: if you submitted your package after July 7th, 2020, when making changes to your repository push to git@git.bioconductor.org:packages/simPIC to trigger a new build. A quick tutorial for setting up remotes and pushing to upstream can be found here.

sagrikachugh commented 3 months ago

@HelenaLC Thanks, I have updated simPICsimulateTrueCounts function of simPICsimulate.R to use vapply.

bioc-issue-bot commented 3 months ago

Your package has been accepted. It will be added to the Bioconductor nightly builds.

Thank you for contributing to Bioconductor!

Reviewers for Bioconductor packages are volunteers from the Bioconductor community. If you are interested in becoming a Bioconductor package reviewer, please see Reviewers Expectations.

jwokaty commented 3 months ago

The default branch of your GitHub repository has been added to Bioconductor's git repository as branch devel.

To use the git.bioconductor.org repository, we need an 'ssh' key to associate with your github user name. If your GitHub account already has ssh public keys (https://github.com/sagrikachugh.keys is not empty), then no further steps are required. Otherwise, do the following:

  1. Add an SSH key to your github account
  2. Submit your SSH key to Bioconductor

See further instructions at

https://bioconductor.org/developers/how-to/git/

for working with this repository. See especially

https://bioconductor.org/developers/how-to/git/new-package-workflow/ https://bioconductor.org/developers/how-to/git/sync-existing-repositories/

to keep your GitHub and Bioconductor repositories in sync.

Your package will be included in the next nigthly 'devel' build (check-out from git at about 6 pm Eastern; build completion around 2pm Eastern the next day) at

https://bioconductor.org/checkResults/

(Builds sometimes fail, so ensure that the date stamps on the main landing page are consistent with the addition of your package). Once the package builds successfully, you package will be available for download in the 'Devel' version of Bioconductor using BiocManager::install("simPIC"). The package 'landing page' will be created at

https://bioconductor.org/packages/simPIC

If you have any questions, please contact the bioc-devel mailing list (https://stat.ethz.ch/mailman/listinfo/bioc-devel); this issue will not be monitored further.