Skip to content

Commit 7d3a1e7

Browse files
authored
Merge pull request #80 from qbic-pipelines/release
Release1.3.1
2 parents 20700da + 16152d6 commit 7d3a1e7

File tree

6 files changed

+28
-12
lines changed

6 files changed

+28
-12
lines changed

.github/workflows/ci.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
3232
- name: Build new docker image
3333
if: env.GIT_DIFF
34-
run: docker build --no-cache . -t qbicpipelines/rnadeseq:1.3.0
34+
run: docker build --no-cache . -t qbicpipelines/rnadeseq:1.3.1
3535

3636
- name: Pull docker image
3737
if: ${{ !env.GIT_DIFF }}
3838
run: |
3939
docker pull qbicpipelines/rnadeseq:dev
40-
docker tag qbicpipelines/rnadeseq:dev qbicpipelines/rnadeseq:1.3.0
40+
docker tag qbicpipelines/rnadeseq:dev qbicpipelines/rnadeseq:1.3.1
4141
4242
- name: Install Nextflow
4343
run: |
@@ -69,13 +69,13 @@ jobs:
6969
7070
- name: Build new docker image
7171
if: env.GIT_DIFF
72-
run: docker build --no-cache . -t qbicpipelines/rnadeseq:1.3.0
72+
run: docker build --no-cache . -t qbicpipelines/rnadeseq:1.3.1
7373

7474
- name: Pull docker image
7575
if: ${{ !env.GIT_DIFF }}
7676
run: |
7777
docker pull qbicpipelines/rnadeseq:dev
78-
docker tag qbicpipelines/rnadeseq:dev qbicpipelines/rnadeseq:1.3.0
78+
docker tag qbicpipelines/rnadeseq:dev qbicpipelines/rnadeseq:1.3.1
7979
8080
- name: Install Nextflow
8181
run: |

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# qbic-pipelines/rnadeseq: Changelog
22

3+
## 1.3.1 - Almond Blossoms hotfix
4+
5+
### Added
6+
7+
- Bump versions to 1.3.1
8+
9+
### Fixed
10+
11+
- Fix bug plots requested boxplots
12+
13+
### Changed
14+
315
## 1.3.0 - Almond Blossoms
416

517
### Added

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ RUN apt-get update -qq && \
99
apt-get install -y zip procps ghostscript
1010

1111
# Add conda installation dir to PATH
12-
ENV PATH /opt/conda/envs/qbic-pipelines-rnadeseq-1.3.0/bin:$PATH
12+
ENV PATH /opt/conda/envs/qbic-pipelines-rnadeseq-1.3.1/bin:$PATH
1313

1414
# Dump the details of the installed packates to a file for posterity
15-
RUN conda env export --name qbic-pipelines-rnadeseq-1.3.0 > qbic-pipelines-rnadeseq-1.3.0.yml
15+
RUN conda env export --name qbic-pipelines-rnadeseq-1.3.1 > qbic-pipelines-rnadeseq-1.3.1.yml
1616

1717
# Instruct R processes to use these empty files instead of clashing with a local config
1818
RUN touch .Rprofile

bin/DESeq2.R

+7-3
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ if (!is.null(opt$contrasts_matrix)){
205205

206206
contname <- names(contrasts[i])
207207
results_DEseq_contrast <- as.data.frame(results_DEseq_contrast)
208+
print("Analyzing contrast:")
208209
print(contname)
209210
# Add gene name in table
210211
DE_genes_contrast_genename <- results_DEseq_contrast
@@ -268,6 +269,7 @@ if (!is.null(opt$contrasts_pairs)) {
268269
}
269270
results_DEseq_contrast <- results(cds, contrast=list(cont[1],cont[2]))
270271
results_DEseq_contrast <- as.data.frame(results_DEseq_contrast)
272+
print("Analyzing contrast:")
271273
print(contname)
272274
# Add gene name in table
273275
DE_genes_contrast_genename <- results_DEseq_contrast
@@ -294,6 +296,7 @@ if (is.null(opt$contrasts_matrix) & is.null(opt$contrasts_list) & is.null(opt$co
294296
for (contname in contrast_names) {
295297
results_DEseq_contrast <- results(cds, name=contname)
296298
results_DEseq_contrast <- as.data.frame(results_DEseq_contrast)
299+
print("Analyzing contrast:")
297300
print(contname)
298301

299302
# Adding gene name to table
@@ -413,12 +416,13 @@ if (!is.null(opt$genelist)){
413416
requested_genes_plot <- subset(gene_names, gene_name %in% gene_ids$requested_gene_name)
414417

415418
# Check that genes are in the cds table
416-
requested_genes_plot <- requested_genes_plot[which(requested_genes_plot$Ensemble_ID %in% row.names(cds)),]
419+
requested_genes_plot <- subset(requested_genes_plot, requested_genes_plot$Ensembl_ID %in% row.names(cds))
420+
417421
requested_genes_plot_Ensembl <- requested_genes_plot$Ensembl_ID
418422
requested_genes_plot_gene_name <- requested_genes_plot$gene_name
419423

420-
for (i in requested_genes_plot_Ensembl){
421-
boxplot_counts <- plotCounts(cds, gene=i, intgroup=c("combfactor"), returnData=TRUE, normalized = T)
424+
for (i in c(1:length(requested_genes_plot_Ensembl))){
425+
boxplot_counts <- plotCounts(cds, gene=requested_genes_plot_Ensembl[i], intgroup=c("combfactor"), returnData=TRUE, normalized = T)
422426
boxplot_counts$variable = row.names(boxplot_counts)
423427
plot <- ggplot(data=boxplot_counts, aes(x=combfactor, y=count, fill=combfactor)) +
424428
geom_boxplot(position=position_dodge()) +

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# You can use this file to create a conda environment for this pipeline:
22
# conda env create -f environment.yml
33
# use this to find packages: https://anaconda.org/
4-
name: qbic-pipelines-rnadeseq-1.3.0
4+
name: qbic-pipelines-rnadeseq-1.3.1
55
channels:
66
- conda-forge
77
- bioconda

nextflow.config

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ params {
4646

4747
// Container slug. Stable releases should specify release tag!
4848
// Developmental code should specify :dev
49-
process.container = 'qbicpipelines/rnadeseq:1.3.0'
49+
process.container = 'qbicpipelines/rnadeseq:1.3.1'
5050

5151
// Load base.config by default for all pipelines
5252
includeConfig 'conf/base.config'
@@ -102,7 +102,7 @@ manifest {
102102
description = 'Downstream differential gene expression analysis with DESeq2'
103103
mainScript = 'main.nf'
104104
nextflowVersion = '>=19.04'
105-
version = '1.3.0'
105+
version = '1.3.1'
106106
}
107107

108108
// Function to ensure that resource requirements don't go beyond

0 commit comments

Comments
 (0)