Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
b9992f3
refactor: Remove R files from v0.1.0
NMNS93 May 30, 2025
1a709f3
feat: Update HOME files with latest README and dependencies. Add LICE…
NMNS93 May 30, 2025
09831c5
Fix: Update URL to pipeline files
NMNS93 May 30, 2025
6c42364
test: Add new test suite for WGBS and pipeline features
NMNS93 May 30, 2025
a8b44c3
test: Add CAMDAC test check to testthat.R
NMNS93 May 30, 2025
7d3c549
chore: Add attributes file for github code scanning
NMNS93 May 30, 2025
ea13ac1
feat: Add Dockerfile
NMNS93 May 30, 2025
1e76d4c
feat: Add refactored CAMDAC v0.2.0 R files
NMNS93 May 30, 2025
503f14b
docs: Add docs HTML files
NMNS93 May 30, 2025
8b97706
fix: Adjust arguments for RRBS paired end counting. Refactor warnings…
NMNS93 Sep 17, 2025
7f88414
chore: Resolve conflict to merge branch 'main' into v0.2.0.
NMNS93 Sep 18, 2025
3f184e4
chore: Add warning for RRBS regions arg.
NMNS93 Sep 18, 2025
411d6a2
feat: Add RRBS segment subsetting feature.
NMNS93 Sep 18, 2025
0ca73bc
refactor: Remove redundant rrbs tumor preprocessing function
NMNS93 Sep 18, 2025
7401842
feat: Skip if no file found. fix: Segment subset empty return value i…
NMNS93 Sep 18, 2025
d5469e6
fix: Invalid syntax in allele counts
NMNS93 Sep 18, 2025
259ec9b
fix: Output path ordering for get_allele_counts
NMNS93 Sep 18, 2025
1565971
refactor: Minor edit to allele_counts call in preprocess_rrbs_tumor
NMNS93 Sep 18, 2025
52f8d94
feat: Add input validation for CamConfig string inputs
NMNS93 Sep 18, 2025
eea7aef
fix: Input validation warning for CamConfig
NMNS93 Sep 18, 2025
51cb4d4
fix: Pass min cov for min tumour argument in RRBS.
NMNS93 Sep 18, 2025
c6343f1
Fix: corrected parameter in get_allele_counts in preprocess_rrbs_norm…
Lesky47 Sep 18, 2025
1729191
feat: Install ASCAT v3.2.0
NMNS93 Sep 21, 2025
053acb3
chore: Use CAMDAC main for Docker install
NMNS93 Sep 21, 2025
cd83535
docs: Add notes on ASCAT upgrade.
NMNS93 Sep 21, 2025
6e63442
refactor: Use bitwise flags to select BAM flags for paired end files.…
NMNS93 Sep 21, 2025
0604ca9
docs: Update test files in README.
NMNS93 Sep 21, 2025
8349bc4
docs: Update CAMDAC install in Dockerfile
NMNS93 Sep 21, 2025
fed5034
chore: Fix docstring in pipeline.R
NMNS93 Sep 21, 2025
481534f
docs: Update dockerfile to install from local directory. Fix typo in …
NMNS93 Sep 21, 2025
70843d3
feat: Add new module logger for CAMDAC
NMNS93 Sep 22, 2025
17aaa50
test: Add explicit test skips for files that have been depreciated
NMNS93 Sep 22, 2025
0d28a06
test: Remove false test URL from download file fixture
NMNS93 Sep 22, 2025
d57f8b8
feat: Add log statements for cleaner user logs
NMNS93 Sep 22, 2025
bf7b6c9
docs: Render Rmd to README.md
NMNS93 Sep 22, 2025
11cb73c
docs: Update documentation HTML.
NMNS93 Sep 22, 2025
6c4253f
refactor: Rename all RRBS and WGBS loggers to CAMDAC
NMNS93 Sep 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 19 additions & 3 deletions .Rbuildignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
^pipeline_files$
^tests/testthat/results$
^tests/testthat/pf_rrbs$
^renv$
^renv\.lock$
^\.Rproj$
^\.Rproj\.user$
^LICENSE\.md$
^README\.Rmd$
^data/.+$
^docs/.+$
^fork/.+$
^tests/.+$
\.Rprofile
\.renvignore
\.here
\.gitignore
\.DS_Store
^_pkgdown\.yml$
^\.github$
^test_.*$
^vignettes/.+$
^refs/.+$
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs/** linguist-vendored
53 changes: 46 additions & 7 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,9 +1,48 @@
.lintr
.vscode
*.pdf
*.Rhistory
.Rhistory
.RData*
.Rproj.user
archive/
data/
docs/example_*
docs/wgbs.nf
*.tar.gz
pipeline_files/
test_result/
tests/testthat/pf_rrbs
tests/testthat/results
tests/testthat/result*
renv/
.drake/
TEST/
*.RData
pipeline_files/*
slurm/
results/
transfer.zip
*./vanloo-main/
code/**/*.png
code/**/*.stats
code/**/*.bigWig
code/*/*
camdac_paper/
*.drawio
*.docx
.DS_Store
.here
.Rprofile
man/
CAMDAC_manual/manual_figures/*.svg
inst/doc
*.json
temp/
wgbs_test/
test_*.R
.lintr
*.code-workspace
*dev.md
tests/testthat/result*
local/
wgbs_asm/
test_wgbs_asm/
result*
CAMDAC_manual/
*.log.lintr
data/
bin/
65 changes: 38 additions & 27 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: CAMDAC
Title: Copy-number Aware Methylation Deconvolution and Analysis of Cancers
Version: 0.1.0
Version: 0.2.0
Authors@R:
c(
person(given = "Elizabeth",
Expand All @@ -10,6 +10,9 @@ Authors@R:
family = "Mensah",
role = c("aut", "cre"),
email="nana.mensah@crick.ac.uk"),
person(given = "Siqi",
family = "Lai",
role = c("aut")),
person(given = "Carla",
family = "Castignani",
role = c("aut")),
Expand All @@ -25,44 +28,52 @@ License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.2
RoxygenNote: 7.3.1
Suggests:
testthat (>= 3.0.0),
devtools,
testthat,
pryr,
devtools,
tictoc,
mockr,
tidyr,
knitr,
rmarkdown,
pkgdown,
usethis
rcmdcheck
biocViews:
Imports:
Rsamtools,
fs,
qs,
fst,
parallel,
doParallel,
gtable,
stats,
optparse,
logger
Depends:
R (>= 3.6.2),
ASCAT,
stringr,
readr,
scales,
rtracklayer,
R.utils,
Battenberg,
data.table (>= 1.14.6),
foreach,
GenomicRanges,
GenomicAlignments,
Rsamtools,
scales,
GenomeInfoDb,
IRanges,
S4Vectors,
logging,
ggplot2,
gridExtra,
gtable,
data.table,
readr,
dplyr,
parallel,
doParallel,
devtools,
fst,
fs,
gridExtra,
grid,
stringr,
png,
grid
Remotes: VanLoo-Lab/ascat/ASCAT@v3.2.0,
VignetteBuilder: knitr
Config/testthat/edition: 3
Config/testthat/start-first: test_download*
MASS,
ASCAT (>= 3.0.0)
Depends:
R (>= 3.6.2)
Remotes:
Battenberg=NMNS93/battenberg@dev-ascat3,
ASCAT=Vanloo-Lab/ascat/ASCAT/@44ddd3080723a2c3640d1cfead13437a093c21d1
VignetteBuilder: rmarkdown
49 changes: 49 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Use a lightweight R base image
FROM rocker/r-ver:4.4.0
# Set the working directory
WORKDIR /app

# Install system dependencies (if needed)
# For example, if your package needs external libraries, install them here
RUN chmod 1777 /tmp
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
&& apt-get install -y libxml2 libodbc1 \
&& apt-get install -y libz-dev libbz2-dev bzip2-doc zlib1g-dev \
&& apt-get install -y liblzma-dev libcurl4-openssl-dev wget \
&& apt-get install -y default-jre git curl bzip2 pandoc

# Install alleleCounter
RUN git clone https://github.com/cancerit/alleleCount.git \
&& cd alleleCount && bash ./setup.sh /usr/local
RUN echo 'export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH' >> ~/.bashrc
RUN echo 'export PATH=/usr/local/bin:$PATH' >> ~/.bashrc

# Set WORKDIR
WORKDIR /app

# Install CAMDAC
RUN R -q -e 'install.packages("remotes")'
RUN R -q -e 'install.packages("devtools")'

# Create ~/.R directory and configure Makevars file for R-specific flags.
# Required for bioconductor packages used in Battenberg install.
RUN mkdir -p /root/.R && \
echo 'CXXFLAGS=-Wall -Wno-format-security' >> /root/.R/Makevars && \
echo 'CFLAGS=-Wall -Wno-format-security' >> /root/.R/Makevars

# Copy only DESCRIPTION and (optionally) NAMESPACE to install deps first
COPY DESCRIPTION NAMESPACE* ./
RUN R -q -e 'remotes::install_deps(".", dependencies = TRUE, upgrade = "never", lib = "/usr/local/lib/R/site-library")'

# Generate docs
RUN R -q -e 'devtools::document()'

# Install CAMDAC from local directories
COPY R ./R/
COPY vignettes ./vignettes/
COPY man ./man/
RUN Rscript -e 'remotes::install_local(".", dependencies = TRUE, upgrade = "never", lib = "/usr/local/lib/R/site-library")'

# Set command to be use
CMD ["/usr/local/bin/Rscript"]
Loading