-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from CenterForMedicalGeneticsGhent/dev
Release PR v1.0.0
- Loading branch information
Showing
46 changed files
with
355 additions
and
1,011 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
sample,fastq_1,fastq_2 | ||
test1,https://github.com/CenterForMedicalGeneticsGhent/nf-cmgg-test-datasets/raw/main/data/genomics/homo_sapiens/illumina/fastq/test_R1.fastq.gz,https://github.com/CenterForMedicalGeneticsGhent/nf-cmgg-test-datasets/raw/main/data/genomics/homo_sapiens/illumina/fastq/test_R2.fastq.gz | ||
test2,https://github.com/CenterForMedicalGeneticsGhent/nf-cmgg-test-datasets/raw/main/data/genomics/homo_sapiens/illumina/fastq/test_R1.fastq.gz, | ||
cram,crai | ||
https://github.com/CenterForMedicalGeneticsGhent/nf-cmgg-test-datasets/raw/main/data/genomics/homo_sapiens/illumina/cram/test.cram,https://github.com/CenterForMedicalGeneticsGhent/nf-cmgg-test-datasets/raw/main/data/genomics/homo_sapiens/illumina/cram/test.cram.crai | ||
https://github.com/CenterForMedicalGeneticsGhent/nf-cmgg-test-datasets/raw/main/data/genomics/homo_sapiens/illumina/cram/test2.cram, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,4 +31,5 @@ params { | |
// Genome references | ||
genome = 'hg38' | ||
bin_sizes = "10,5" | ||
species = "Hsapiens" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,4 +28,5 @@ params { | |
// Genome references | ||
genome = 'hg38' | ||
bin_sizes = "10,5" | ||
species = "Hsapiens" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
FROM mambaorg/micromamba:1.4-focal | ||
|
||
LABEL version="0.0.1" maintainer="Nicolas Vannieuwkerke <[email protected]>" | ||
LABEL version="0.0.3" maintainer="Nicolas Vannieuwkerke <[email protected]>" | ||
|
||
RUN micromamba install -y --name base -c conda-forge -c bioconda -c defaults \ | ||
bioconductor-qdnaseq==1.34.0 \ | ||
bioconductor-biobase==2.58.0 \ | ||
bioconductor-bsgenome==1.66.3 \ | ||
ucsc-bigwigaverageoverbed==377 \ | ||
r-biocmanager==1.30.21 \ | ||
r-xml==3.99_0.14 \ | ||
r-restfulr==0.0.15 \ | ||
bioconductor-rtracklayer==1.58.0 \ | ||
r-r.cache==0.16.0 \ | ||
r-lsr==0.5.2 \ | ||
&& micromamba clean --all --yes | ||
|
||
ARG MAMBA_DOCKERFILE_ACTIVATE=1 | ||
ENV PATH "$MAMBA_ROOT_PREFIX/bin:$PATH" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
process GET_BSGENOME { | ||
tag "$genome" | ||
label 'process_single' | ||
|
||
container "cmgg/qdnaseq:0.0.4" | ||
|
||
input: | ||
val(genome) | ||
val(species) | ||
env R_LIBS_USER | ||
|
||
output: | ||
path("BSgenome.${species}.UCSC.${genome}") , emit: genome | ||
path "versions.yml" , emit: versions | ||
|
||
when: | ||
task.ext.when == null || task.ext.when | ||
|
||
script: | ||
template "get_bsgenome.R" | ||
|
||
stub: | ||
""" | ||
mkdir BSgenome.${species}.UCSC.${genome} | ||
cat <<-END_VERSIONS > versions.yml | ||
"${task.process}": | ||
r-biocmanager: 3.17 | ||
END_VERSIONS | ||
""" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env Rscript | ||
|
||
# load required packages | ||
library(BiocManager) | ||
|
||
dir.create("./BSgenome.${species}.UCSC.${genome}") | ||
|
||
install("BSgenome.${species}.UCSC.${genome}", lib="BSgenome.${species}.UCSC.${genome}") | ||
|
||
sink("versions.yml") | ||
cat("\\"task.process\\":\n") | ||
cat(" r-biocmanager: 1.30.21\n") |
Oops, something went wrong.