Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heatmap error, datasources, shorten filenames #225

Merged
merged 17 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified .devcontainer/devcontainer.json
100644 → 100755
Empty file.
Empty file modified .editorconfig
100644 → 100755
Empty file.
Empty file modified .gitattributes
100644 → 100755
Empty file.
Empty file modified .github/.dockstore.yml
100644 → 100755
Empty file.
Empty file modified .github/CONTRIBUTING.md
100644 → 100755
Empty file.
Empty file modified .github/ISSUE_TEMPLATE/bug_report.yml
100644 → 100755
Empty file.
Empty file modified .github/ISSUE_TEMPLATE/feature_request.yml
100644 → 100755
Empty file.
Empty file modified .github/PULL_REQUEST_TEMPLATE.md
100644 → 100755
Empty file.
Empty file modified .github/workflows/awsfulltest.yml
100644 → 100755
Empty file.
Empty file modified .github/workflows/awstest.yml
100644 → 100755
Empty file.
Empty file modified .github/workflows/branch.yml
100644 → 100755
Empty file.
Empty file modified .github/workflows/ci.yml
100644 → 100755
Empty file.
Empty file modified .github/workflows/clean-up.yml
100644 → 100755
Empty file.
Empty file modified .github/workflows/fix-linting.yml
100644 → 100755
Empty file.
Empty file modified .github/workflows/linting.yml
100644 → 100755
Empty file.
Empty file modified .github/workflows/linting_comment.yml
100644 → 100755
Empty file.
Empty file modified .github/workflows/push_github_container_reg.yml
100644 → 100755
Empty file.
Empty file modified .gitignore
100644 → 100755
Empty file.
Empty file modified .gitpod.yml
100644 → 100755
Empty file.
Empty file modified .nf-core.yml
100644 → 100755
Empty file.
Empty file modified .pre-commit-config.yaml
100644 → 100755
Empty file.
Empty file modified .prettierignore
100644 → 100755
Empty file.
Empty file modified .prettierrc.yml
100644 → 100755
Empty file.
3 changes: 3 additions & 0 deletions CHANGELOG.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- [#225](https://github.com/qbic-pipelines/rnadeseq/pull/225) Added param for pathway analysis datasources
- [#215](https://github.com/qbic-pipelines/rnadeseq/pull/215) Added gene_name to boxplot titles and filenames; increased threshold before overlapping PCA labels are hidden
- [#213](https://github.com/qbic-pipelines/rnadeseq/pull/213) Added smrnaseq input support
- [#212](https://github.com/qbic-pipelines/rnadeseq/pull/212) Added computational methods if no --software_versions
Expand All @@ -17,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- [#225](https://github.com/qbic-pipelines/rnadeseq/pull/225) Shortened names of some output files
- [#219](https://github.com/qbic-pipelines/rnadeseq/pull/219) Release 2.2 to master
- [#220](https://github.com/qbic-pipelines/rnadeseq/pull/220) Commit suggestions from PR review for release 2.2
- [#218](https://github.com/qbic-pipelines/rnadeseq/pull/218) Preparing release 2.2 with version bumps
Expand All @@ -34,6 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- [#225](https://github.com/qbic-pipelines/rnadeseq/pull/225) Fixed too many devices error from tryCatch around normalized heatmaps
- [#212](https://github.com/qbic-pipelines/rnadeseq/pull/212) Fixed movability of interactive gostplots
- [#208](https://github.com/qbic-pipelines/rnadeseq/pull/208) Fixed relevel bug, the function should now finally work!
- [#207](https://github.com/qbic-pipelines/rnadeseq/pull/207) Fixed check of samples in counts vs metadata
Expand Down
Empty file modified CITATIONS.md
100644 → 100755
Empty file.
Empty file modified CODE_OF_CONDUCT.md
100644 → 100755
Empty file.
Empty file modified Dockerfile
100644 → 100755
Empty file.
Empty file modified LICENSE
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
96 changes: 66 additions & 30 deletions assets/RNAseq_report.Rmd
100644 → 100755

Large diffs are not rendered by default.

Empty file modified assets/adaptivecard.json
100644 → 100755
Empty file.
Empty file modified assets/email_template.html
100644 → 100755
Empty file.
Empty file modified assets/email_template.txt
100644 → 100755
Empty file.
Empty file modified assets/methods_description_template.yml
100644 → 100755
Empty file.
Empty file modified assets/multiqc_config.yml
100644 → 100755
Empty file.
Empty file modified assets/nf-core-rnadeseq_logo_light.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/references.bibtex
100644 → 100755
Empty file.
Empty file modified assets/schema_input.json
100644 → 100755
Empty file.
Empty file modified assets/sendmail_template.txt
100644 → 100755
Empty file.
Empty file modified assets/slackreport.json
100644 → 100755
Empty file.
2 changes: 2 additions & 0 deletions bin/Execute_report.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ option_list = list(
make_option("--set_background", action="store_true", default=TRUE, help="Whether to use a background list for pathway analysis; if true, will only consider expressed genes (i.e. mean counts > 0) for PA."),
make_option("--custom_background", type="character", default=NULL, help="Path to a custom background list TXT for pathway analysis; if provided, will only consider genes in that list for PA."),
make_option(c("-w", "--min_DEG_pathway"), type="integer", default=NULL, help="min. number of genes DE in a pathway for this pathway to be considered enriched.", metavar="integer"),
make_option("--datasources", type="character", default=NULL, help="Which datasources to use for pathway analysis.", metavar="character"),

make_option(c("-s", "--proj_summary"), type="character", default=NULL, help="Project summary file", metavar="character"),
make_option(c("--path_quote"), type="character", default=NULL, help="Path to the quote PDF", metavar="character"),
Expand Down Expand Up @@ -82,6 +83,7 @@ rmarkdown::render(opt$report, output_file = opt$output, knit_root_dir = wd, outp
custom_background = opt$custom_background,
keytype = opt$keytype,
min_DEG_pathway = opt$min_DEG_pathway,
datasources = opt$datasources,

path_proj_summary = opt$proj_summary,
path_quote = opt$path_quote,
Expand Down
Empty file modified conf/base.config
100644 → 100755
Empty file.
Empty file modified conf/igenomes.config
100644 → 100755
Empty file.
Empty file modified conf/modules.config
100644 → 100755
Empty file.
Empty file modified conf/test.config
100644 → 100755
Empty file.
Empty file modified conf/test_batcheffect.config
100644 → 100755
Empty file.
Empty file modified conf/test_contrast_list.config
100644 → 100755
Empty file.
Empty file modified conf/test_contrast_matrix.config
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions conf/test_custom_gmt.config
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ params {
run_pathway_analysis = true
genome = 'GRCm38'
custom_gmt = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/gprofiler_full_mmusculus.ENSG.gmt'
datasources = 'KEGG,REAC'
}
Empty file modified conf/test_full.config
100644 → 100755
Empty file.
Empty file modified conf/test_no_multiqc.config
100644 → 100755
Empty file.
Empty file modified conf/test_relevel.config
100644 → 100755
Empty file.
Empty file modified conf/test_smrnaseq.config
100644 → 100755
Empty file.
Empty file modified conf/test_star_rsem.config
100644 → 100755
Empty file.
Empty file modified conf/test_star_salmon.config
100644 → 100755
Empty file.
Empty file modified conf/test_use_vst.config
100644 → 100755
Empty file.
Empty file modified docs/README.md
100644 → 100755
Empty file.
Empty file modified docs/images/nf-core-rnadeseq_logo_dark.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/images/nf-core-rnadeseq_logo_light.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/output.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ If pathway analysis was run, this directory contains the zipped pathway analysis

- `*_gost_pathway_venn_diagram.pdf/png`
- Venn diagrams showing the numbers of enriched pathways when using a background gene list vs when not using a bg list.
- `*_KEGG_pathway_enrichment_plot.pdf/png`
- `*_pathway_enrichment_plot.pdf/png`
- Barplots showing the proportion of differentially expressed genes in the pathway.
- `KEGG_pathways/`
- Contains the KEGG pathways graphs with the log fold change of the differentially expressed genes.
Expand Down
Empty file modified docs/usage.md
100644 → 100755
Empty file.
Empty file modified environment.yml
100644 → 100755
Empty file.
Empty file modified lib/nfcore_external_java_deps.jar
100644 → 100755
Empty file.
Empty file modified main.nf
100644 → 100755
Empty file.
Empty file modified modules.json
100644 → 100755
Empty file.
2 changes: 2 additions & 0 deletions modules/local/report.nf
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ process REPORT {
def custom_gmt_opt = custom_gmt.name != 'NO_FILE3' ? "--custom_gmt $custom_gmt" : ''
def set_background_opt = params.set_background ? "--set_background TRUE" : "--set_background FALSE"
def custom_background_opt = custom_background.name != 'NO_FILE7' ? "--custom_background $custom_background" : ''
def datasources_opt = params.datasources ? "--datasources $params.datasources" : ''

def quote_opt = params.quote != 'NO_FILE5' ? "--path_quote $params.quote" : ''
def software_versions_opt = params.software_versions != 'NO_FILE6' ? "--software_versions $params.software_versions" : ''
Expand Down Expand Up @@ -76,6 +77,7 @@ process REPORT {
--species_library $params.species_library \
--keytype $params.keytype \
--min_DEG_pathway $params.min_DEG_pathway \
$datasources_opt \
$quote_opt \
$software_versions_opt \
--proj_summary $proj_summary \
Expand Down
Empty file modified modules/local/samplesheet_check.nf
100644 → 100755
Empty file.
Empty file modified modules/nf-core/custom/dumpsoftwareversions/main.nf
100644 → 100755
Empty file.
Empty file modified modules/nf-core/custom/dumpsoftwareversions/meta.yml
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions nextflow.config
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ params {
custom_gmt = 'NO_FILE3'
set_background = true
custom_background = 'NO_FILE7'
datasources = null

// Additional args for the report
project_summary = null
Expand Down
6 changes: 5 additions & 1 deletion nextflow_schema.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
},
"custom_gmt": {
"type": "string",
"description": "Path to custom GMT file for gost query, this allows e.g. to query older versions of databases for pathway analysis, not necessary if --skip_pathway_analysis = true."
"description": "Path to custom GMT file for gost query, this allows e.g. to query older versions of databases for pathway analysis, not necessary if --skip_pathway_analysis = true. If --datasources is set, the GMT file will be filtered for these datasources."
},
"set_background": {
"type": "boolean",
Expand All @@ -140,6 +140,10 @@
"type": "integer",
"default": 1,
"description": "Integer indicating how many genes in a pathway must be differentially expressed to be considered as enriched, and report these pathways in tables and the final report. The default value is 1."
},
"datasources": {
"type": "string",
"description": "Which datasources to use for pathway analysis, comma-separated string like 'KEGG,REAC'. See param 'sources' on https://rdrr.io/cran/gprofiler2/man/gost.html for a list of available sources. If not set, will use all sources. If set while a --custom_gmt is provided, will filter the GMT for these datasources (will not filter for the GO subtypes like GO:BP, just for GO)."
}
}
},
Expand Down
Empty file modified pyproject.toml
100644 → 100755
Empty file.
Empty file modified subworkflows/local/input_check.nf
100644 → 100755
Empty file.
Empty file modified testdata/MultiQC.zip
100644 → 100755
Empty file.
Empty file modified testdata/QDESQ/QDESQ_Sample_preparations.tsv
100644 → 100755
Empty file.
Empty file modified testdata/QDESQ/QDESQ_design.txt
100644 → 100755
Empty file.
Empty file modified testdata/QDESQ/star_rsem/QDESQ081AU.genes.results
100644 → 100755
Empty file.
Empty file modified testdata/QDESQ/star_rsem/QDESQ082A4.genes.results
100644 → 100755
Empty file.
Empty file modified testdata/QDESQ/star_rsem/QDESQ083AC.genes.results
100644 → 100755
Empty file.
Empty file modified testdata/QDESQ/star_rsem/QDESQ084AK.genes.results
100644 → 100755
Empty file.
Empty file modified testdata/QDESQ/star_rsem/QDESQ085AS.genes.results
100644 → 100755
Empty file.
Empty file modified testdata/QDESQ/star_rsem/QDESQ086A2.genes.results
100644 → 100755
Empty file.
Empty file modified testdata/QDESQ/star_rsem/QDESQ087AA.genes.results
100644 → 100755
Empty file.
Empty file modified testdata/QDESQ/star_rsem/QDESQ088AI.genes.results
100644 → 100755
Empty file.
Empty file modified testdata/QDESQ/star_salmon/QDESQ081AU/quant.sf
100644 → 100755
Empty file.
Empty file modified testdata/QDESQ/star_salmon/QDESQ082A4/quant.sf
100644 → 100755
Empty file.
Empty file modified testdata/QDESQ/star_salmon/QDESQ083AC/quant.sf
100644 → 100755
Empty file.
Empty file modified testdata/QDESQ/star_salmon/QDESQ084AK/quant.sf
100644 → 100755
Empty file.
Empty file modified testdata/QDESQ/star_salmon/QDESQ085AS/quant.sf
100644 → 100755
Empty file.
Empty file modified testdata/QDESQ/star_salmon/QDESQ086A2/quant.sf
100644 → 100755
Empty file.
Empty file modified testdata/QDESQ/star_salmon/QDESQ087AA/quant.sf
100644 → 100755
Empty file.
Empty file modified testdata/QDESQ/star_salmon/QDESQ088AI/quant.sf
100644 → 100755
Empty file.
Empty file modified testdata/Sample_preparations.tsv
100644 → 100755
Empty file.
Empty file modified testdata/contrast_list.tsv
100644 → 100755
Empty file.
Empty file modified testdata/contrast_matrix.tsv
100644 → 100755
Empty file.
Empty file modified testdata/design.txt
100644 → 100755
Empty file.
Empty file modified testdata/design_batcheffect.txt
100644 → 100755
Empty file.
Empty file modified testdata/gprofiler_full_mmusculus.ENSG.gmt
100644 → 100755
Empty file.
Empty file modified testdata/merged_gene_counts.txt
100644 → 100755
Empty file.
Empty file modified testdata/offer_example.pdf
100644 → 100755
Empty file.
Empty file modified testdata/relevel.tsv
100644 → 100755
Empty file.
Empty file modified testdata/report_options.yml
100644 → 100755
Empty file.
Empty file modified testdata/requested_genes.txt
100644 → 100755
Empty file.
Empty file modified testdata/smrnaseq/counts/QABCD00001_mature.sorted.idxstats
100644 → 100755
Empty file.
Empty file.
Empty file modified testdata/smrnaseq/counts/QABCD00002_mature.sorted.idxstats
100644 → 100755
Empty file.
Empty file.
Empty file modified testdata/smrnaseq/counts/QABCD00003_mature.sorted.idxstats
100644 → 100755
Empty file.
Empty file.
Empty file modified testdata/smrnaseq/counts/QABCD00004_mature.sorted.idxstats
100644 → 100755
Empty file.
Empty file.
Empty file modified testdata/smrnaseq/counts/QABCD00005_mature.sorted.idxstats
100644 → 100755
Empty file.
Empty file.
Empty file modified testdata/smrnaseq/counts/QABCD00006_mature.sorted.idxstats
100644 → 100755
Empty file.
Empty file.
Empty file modified testdata/smrnaseq/counts/QABCD00007_mature.sorted.idxstats
100644 → 100755
Empty file.
Empty file.
Empty file modified testdata/smrnaseq/counts/QABCD00008_mature.sorted.idxstats
100644 → 100755
Empty file.
Empty file.
Empty file modified testdata/smrnaseq/design.txt
100644 → 100755
Empty file.
Empty file modified testdata/smrnaseq/requested_genes.txt
100644 → 100755
Empty file.
Empty file modified testdata/smrnaseq/samplesheet.tsv
100644 → 100755
Empty file.
Empty file modified testdata/software_versions.csv
100644 → 100755
Empty file.
Empty file modified testdata/software_versions_rsem.yml
100644 → 100755
Empty file.
Empty file modified testdata/software_versions_salmon.yml
100644 → 100755
Empty file.
Empty file modified testdata/software_versions_smrnaseq.yml
100644 → 100755
Empty file.
Empty file modified testdata/summary.tsv
100644 → 100755
Empty file.
Empty file modified tests/test.yml
100644 → 100755
Empty file.
Empty file modified tests/test_batcheffect.yml
100644 → 100755
Empty file.
Empty file modified tests/test_contrast_list.yml
100644 → 100755
Empty file.
Empty file modified tests/test_contrast_matrix.yml
100644 → 100755
Empty file.
Empty file modified tests/test_custom_gmt.yml
100644 → 100755
Empty file.
Empty file modified tests/test_full.yml
100644 → 100755
Empty file.
Empty file modified tests/test_no_multiqc.yml
100644 → 100755
Empty file.
Empty file modified tests/test_relevel.yml
100644 → 100755
Empty file.
Empty file modified tests/test_smrnaseq.yml
100644 → 100755
Empty file.
Empty file modified tests/test_star_rsem.yml
100644 → 100755
Empty file.
Empty file modified tests/test_star_salmon.yml
100644 → 100755
Empty file.
Empty file modified tests/test_use_vst.yml
100644 → 100755
Empty file.
Empty file modified tower.yml
100644 → 100755
Empty file.
Empty file modified workflows/rnadeseq.nf
100644 → 100755
Empty file.
Loading