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

Interactive report tables #122

Merged
merged 72 commits into from
May 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
f59696e
New branch to get the pipeline to run again with the rnaseq changes
WackerO Apr 15, 2022
f9741c1
Added igenomes.config
WackerO Apr 15, 2022
6fe9e09
Some changes
WackerO Apr 19, 2022
869246f
another save
WackerO Apr 19, 2022
e7180c1
seems to work, just need to figure out igenomes...
WackerO Apr 20, 2022
eeaae6a
Seems to work know, however, I did not use params and instead just cr…
WackerO Apr 20, 2022
4fffb90
Updated Changelog and docu and added test profiles, also removed some…
WackerO Apr 21, 2022
f4dd6f8
Removed a write command
WackerO Apr 21, 2022
4c95a03
Updated Changelog
WackerO Apr 21, 2022
a170317
Updated nextflow config and schema
WackerO Apr 21, 2022
029511c
Fixed some linting and prettier stuff
WackerO Apr 21, 2022
8d6904c
Further linting fixes
WackerO Apr 21, 2022
7e0b849
Added libs to env.yml
WackerO Apr 21, 2022
9fcec59
More cleaning up, the nextflow params problem is solved, added a star…
WackerO Apr 28, 2022
2552dd6
Added rsem tests, replaced blacklist for pathway analysis with trycatch
WackerO Apr 29, 2022
934f0de
Removed some more occurrences of blacklist
WackerO Apr 29, 2022
93378e9
Fixed linting
WackerO Apr 29, 2022
0ee6911
Fixed usage.md format, update Changelog
WackerO Apr 29, 2022
5430974
Merge branch 'dev' into newseq2
WackerO Apr 29, 2022
7fdb229
Again removed the second redundant container definition in nextflow.c…
WackerO May 2, 2022
b6dee97
Merge branch 'newseq2' of https://github.com/WackerO/rnadeseq into ne…
WackerO May 2, 2022
fc86b90
Removed unnecessary closing # at bottom of yml files
WackerO May 2, 2022
65e39c8
Removed another #
WackerO May 2, 2022
a007576
Merge branch 'dev' into newseq2
WackerO May 3, 2022
fea9ba2
Made sample table sortable and searchable, but report title stuff is …
WackerO May 3, 2022
0777736
Fixed the broken title; that was because autoformat added two linebreaks
WackerO May 3, 2022
32ef43f
Removed blacklist parameter and test profile
WackerO May 3, 2022
15e6cd8
Updated configs
WackerO May 4, 2022
2d3f354
Changed configs, changed internal parameter name counts to gene_counts
WackerO May 4, 2022
4e709ef
Changed internal parameter name counts -> gene_counts
WackerO May 4, 2022
d7681bb
Update modules/local/deseq2.nf
WackerO May 4, 2022
d41518d
Update bin/DESeq2.R
WackerO May 4, 2022
65608e8
Update bin/DESeq2.R
WackerO May 4, 2022
8c4161a
Update bin/DESeq2.R
WackerO May 4, 2022
870d7eb
Update bin/DESeq2.R
WackerO May 4, 2022
c59167c
Update bin/DESeq2.R
WackerO May 4, 2022
7ff008e
Merge branch 'newseq2' of https://github.com/WackerO/rnadeseq into ne…
WackerO May 4, 2022
a8c6325
Changed flag name
WackerO May 4, 2022
53aa3f0
Fixed some PR comments, species library version is now printed in rep…
WackerO May 5, 2022
d49e362
Auto-fixed linting_comment with nf-core lint
WackerO May 5, 2022
99ddefc
Merge branch 'newseq2' into iatable
WackerO May 5, 2022
1078cee
Added logFCthreshold = 2 to some more test configs, renamed two test …
WackerO May 5, 2022
43a1c6e
Update bin/DESeq2.R
WackerO May 5, 2022
63fa271
Update bin/DESeq2.R
WackerO May 6, 2022
7dfe9cb
Update bin/DESeq2.R
WackerO May 6, 2022
d25b491
Update bin/DESeq2.R
WackerO May 6, 2022
8f73145
Applied some suggested changes to DESeq2.R, removed save copies of te…
WackerO May 6, 2022
a7d7ea5
Merge branch 'newseq2' of https://github.com/WackerO/rnadeseq into ne…
WackerO May 6, 2022
3562d94
Applied further suggestions
WackerO May 6, 2022
a4113f0
Fixed some errors, changed some remaining rawcounts to featurecounts
WackerO May 6, 2022
aa58784
Fixed space
WackerO May 6, 2022
628775c
Uploaded test datasets
WackerO May 6, 2022
6b505f1
Changed ci.yml for the new tests
WackerO May 6, 2022
815fc8f
Removed comment
WackerO May 9, 2022
f5109fc
Update bin/pathway_analysis.R
WackerO May 9, 2022
55e58e5
Update docs/usage.md
WackerO May 9, 2022
f73f8c7
Update docs/usage.md
WackerO May 9, 2022
8590319
Update docs/usage.md
WackerO May 9, 2022
ecbe993
Update nextflow.config
WackerO May 9, 2022
e6579d8
Applied some suggestions
WackerO May 9, 2022
d1ca507
Merge branch 'newseq2' of https://github.com/WackerO/rnadeseq into ne…
WackerO May 9, 2022
811b103
Added a comment
WackerO May 9, 2022
d29c58a
Update nextflow_schema.json
WackerO May 9, 2022
8a42bbd
Removed Lab ID from the report
WackerO May 11, 2022
756469c
Merge branch 'newseq2' of https://github.com/WackerO/rnadeseq into ne…
WackerO May 11, 2022
e05b9a1
Changed Schema groovy to match template
WackerO May 11, 2022
e1e0381
Merge branch 'newseq2' into iatable
WackerO May 11, 2022
5b07577
Added comment
WackerO May 11, 2022
7b9fde3
Merge branch 'newseq2' into iatable
WackerO May 11, 2022
d4e1e9d
Updated changelog
WackerO May 11, 2022
99c530e
Switched some more = for ~
WackerO May 11, 2022
726347f
tMerge branch 'newseq2' into iatable
WackerO May 11, 2022
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
1 change: 0 additions & 1 deletion .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,3 @@ jobs:
Thanks again for your contribution!
repo-token: ${{ secrets.GITHUB_TOKEN }}
allow-repeats: false
#
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,16 @@ jobs:
NXF_ANSI_LOG: false
strategy:
matrix:
config: ["test", "test_contrast_matrix", "test_contrast_list", "test_blacklist", "test_skip_pathway_analysis"]
config:
[
"test",
"test_contrast_matrix",
"test_contrast_list",
"test_skip_pathway_analysis",
"test_star_salmon",
"test_star_rsem",
"test_use_vst",
]
steps:
- name: Check out pipeline code
uses: actions/checkout@v2
Expand All @@ -89,5 +98,3 @@ jobs:
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/

#
2 changes: 0 additions & 2 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,3 @@ jobs:
lint_log.txt
lint_results.md
PR_number.txt

#
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

### Added

- [#122](https://github.com/qbic-pipelines/rnadeseq/pull/122) Add searchable/sortable tables to report
- [#118](https://github.com/qbic-pipelines/rnadeseq/pull/118) Add parameter "--input_type" (and change --rawcounts to --gene_counts) to process featurecounts, rsem and salmon output from the new rnaseq; add igenomes.config to process different species
- [#104](https://github.com/qbic-pipelines/rnadeseq/pull/104) Add parameter "--skip_pathway_analysis"
- Bump versions to 1.4.0dev
- Add parameter "--min_DE_genes"
Expand All @@ -14,12 +16,14 @@

### Changed

- [#115](https://github.com/qbic-pipelines/rnadeseq/pull/115) Template update
- [#117](https://github.com/qbic-pipelines/rnadeseq/pull/117) Turned LabID optional for report output in RNAseq_report.Rmd
- Removed assets/report_options.yml
- [#110](https://github.com/qbic-pipelines/rnadeseq/pull/110) Changed report to use rlog normalization by default, vst is used if --skip_rlog is enabled

### Fixed

- [#118](https://github.com/qbic-pipelines/rnadeseq/pull/118) Removed blacklist parameter and config and instead added trycatch to ignore pathways with errors
- [#105](https://github.com/qbic-pipelines/rnadeseq/pull/105) Fixed relevel and added test_relevel.config
- [#106](https://github.com/qbic-pipelines/rnadeseq/pull/106) Fixed `--logFCthreshold` bug
- [#108](https://github.com/qbic-pipelines/rnadeseq/pull/108) Fixed blacklist file not working
Expand Down
115 changes: 59 additions & 56 deletions assets/RNAseq_report.Rmd

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/email_template.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
========================================
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qbic-pipelines/rnadeseq v${version}
========================================
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Run Name: $runName

<% if (success){
Expand Down
329 changes: 252 additions & 77 deletions bin/DESeq2.R

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions bin/Execute_report.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ option_list = list(
make_option(c("-l", "--genelist"), type="character", default=NULL, help="path to gene list file", metavar="character"),
make_option(c("-q", "--quote"), type="character", default=NULL, help="path to the signed quote PDF file", metavar="character"),
make_option(c("-g", "--organism"), type="character", default=NULL, help="Organism, e.g. Hsapiens."),
make_option(c("-c", "--species_library"), type="character", default=NULL, help="Library name. Example format: org.At.tair.db", metavar="character"),
make_option(c("-b", "--batch_effect"), action="store_true", default=FALSE, help="Batch effect correction."),
make_option(c("-f", "--log_FC"), type="double", default=NULL, help="Log Fold Change threshold to consider a gene DE."),
make_option(c("-x", "--revision"), type="character", default=NULL, help="rnadeseq workflow revision", metavar="character"),
Expand Down Expand Up @@ -43,6 +44,7 @@ rmarkdown::render(opt$report, output_file = opt$output, knit_root_dir = wd, outp
path_min_DEG = opt$min_DEG_pathway,
path_quote = opt$quote,
organism = opt$organism,
species_library = opt$species_library,
batch_effect = opt$batch_effect,
log_FC = opt$log_FC,
nsub_genes = opt$nsub_genes,
Expand Down
356 changes: 169 additions & 187 deletions bin/pathway_analysis.R

Large diffs are not rendered by default.

438 changes: 438 additions & 0 deletions conf/igenomes.config

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions conf/test.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Defines input files and everything required to run a fast and simple pipeline test.

Use as follows:
nextflow run nf-core/rnadeseq -profile test,<docker/singularity> --outdir <OUTDIR>
nextflow run qbic-pipelines/rnadeseq -profile test,<docker/singularity> --outdir <OUTDIR>

----------------------------------------------------------------------------------------
*/
Expand All @@ -19,7 +19,7 @@ params {
max_time = 48.h
// Input data
metadata = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/Sample_preparations.tsv'
rawcounts = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/merged_gene_counts.txt'
gene_counts = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/merged_gene_counts.txt'
model = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/design.txt'
genelist = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/requested_genes.txt'
logFCthreshold = 2
Expand All @@ -28,5 +28,5 @@ params {
versions = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/software_versions.csv'
multiqc = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/MultiQC.zip'
quote = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/offer_example.pdf'
species = 'mmusculus'
genome = 'GRCm38'
}
5 changes: 3 additions & 2 deletions conf/test_contrast_list.config
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ params {
max_time = 48.h
// Input data
metadata = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/Sample_preparations.tsv'
rawcounts = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/merged_gene_counts.txt'
gene_counts = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/merged_gene_counts.txt'
model = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/design.txt'
genelist = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/requested_genes.txt'
contrast_list = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/contrast_list.tsv'
project_summary = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/summary.tsv'
versions = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/software_versions.csv'
multiqc = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/MultiQC.zip'
species = 'mmusculus'
genome = 'GRCm38'
quote = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/offer_example.pdf'
logFCthreshold = 2
}
5 changes: 3 additions & 2 deletions conf/test_contrast_matrix.config
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ params {
max_time = 48.h
// Input data
metadata = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/Sample_preparations.tsv'
rawcounts = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/merged_gene_counts.txt'
gene_counts = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/merged_gene_counts.txt'
model = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/design.txt'
genelist = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/requested_genes.txt'
contrast_table = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/contrasts.tsv'
project_summary = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/summary.tsv'
versions = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/software_versions.csv'
multiqc = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/MultiQC.zip'
species = 'mmusculus'
genome = 'GRCm38'
quote = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/offer_example.pdf'
logFCthreshold = 2
}
7 changes: 4 additions & 3 deletions conf/test_relevel.config
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ params {
max_time = 48.h
// Input data
metadata = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/Sample_preparations.tsv'
rawcounts = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/merged_gene_counts.txt'
gene_counts = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/merged_gene_counts.txt'
model = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/design.txt'
relevel = 'https://raw.githubusercontent.com/SusiJo/rnadeseq/dev/testdata/relevel.tsv'
genelist = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/requested_genes.txt'
//report_options = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/report_options.yml'
project_summary = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/summary.tsv'
versions = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/software_versions.csv'
multiqc = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/MultiQC.zip'
species = 'mmusculus'
quote = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/offer_example.pdf'
genome = 'GRCm38'
quote = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/offer_example.pdf'
logFCthreshold = 2
}
8 changes: 5 additions & 3 deletions conf/test_skip_pathway_analysis.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,26 @@
* -------------------------------------------------
* Defines bundled input files and everything required
* to run a fast and simple test. Use as follows:
* nextflow run qbic-pipelines/rnadeseq -profile test
* nextflow run qbic-pipelines/rnadeseq -profile test_skip_pathway_analysis
*/

params {
config_profile_name = 'Test profile'
config_profile_name = 'Test skip pathway analysis'
config_profile_description = 'Minimal test dataset to check pipeline function'
// Limit resources so that this can run on Travis
max_cpus = 2
max_memory = 6.GB
max_time = 48.h
// Input data
metadata = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/Sample_preparations.tsv'
rawcounts = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/merged_gene_counts.txt'
gene_counts = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/merged_gene_counts.txt'
model = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/design.txt'
genelist = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/requested_genes.txt'
project_summary = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/summary.tsv'
versions = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/software_versions.csv'
multiqc = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/MultiQC.zip'
quote = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/offer_example.pdf'
skip_pathway_analysis = true
genome = 'GRCm38'
logFCthreshold = 2
}
21 changes: 13 additions & 8 deletions conf/test_blacklist.config → conf/test_star_rsem.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,31 @@
* -------------------------------------------------
* Defines bundled input files and everything required
* to run a fast and simple test. Use as follows:
* nextflow run qbic-pipelines/rnadeseq -profile test_contrast_list
* nextflow run qbic-pipelines/rnadeseq -profile test_star_rsem
*/

params {
config_profile_name = 'Test blacklist'
config_profile_name = 'Test star rsem'
config_profile_description = 'Minimal test dataset to check pipeline function'
// Limit resources so that this can run on Travis
max_cpus = 2
max_memory = 6.GB
max_time = 48.h
// Input data
metadata = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/Sample_preparations.tsv'
rawcounts = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/merged_gene_counts.txt'
model = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/design.txt'
metadata = 'testdata/QDESQ/QDESQ_Sample_preparations.tsv'
gene_counts = 'testdata/QDESQ/star_rsem/'
model = 'testdata/QDESQ/QDESQ_design.txt'
genelist = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/requested_genes.txt'
contrast_list = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/contrast_list.tsv'
logFCthreshold = 2
//report_options = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/report_options.yml'
project_summary = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/summary.tsv'
versions = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/software_versions.csv'
multiqc = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/MultiQC.zip'
species = 'mmusculus'
quote = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/offer_example.pdf'
kegg_blacklist = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/kegg_blacklist.txt'
input_type = 'rsem'
genome = 'GRCh37'
// library = "org.Hs.eg.db"
// organism = "hsapiens"
// keytype = "ENSEMBL"
// gtf = "s3://ngi-igenomes/igenomes/Homo_sapiens/Ensembl/GRCh37/Annotation/Genes/genes.gtf"
}
34 changes: 34 additions & 0 deletions conf/test_star_salmon.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/*
* -------------------------------------------------
* Nextflow config file for running tests
* -------------------------------------------------
* Defines bundled input files and everything required
* to run a fast and simple test. Use as follows:
* nextflow run qbic-pipelines/rnadeseq -profile test_star_salmon
*/

params {
config_profile_name = 'Test star salmon'
config_profile_description = 'Minimal test dataset to check pipeline function'
// Limit resources so that this can run on Travis
max_cpus = 2
max_memory = 6.GB
max_time = 48.h
// Input data
metadata = 'testdata/QDESQ/QDESQ_Sample_preparations.tsv'
gene_counts = 'testdata/QDESQ/star_salmon/'
model = 'testdata/QDESQ/QDESQ_design.txt'
genelist = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/requested_genes.txt'
logFCthreshold = 2
//report_options = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/report_options.yml'
project_summary = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/summary.tsv'
versions = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/software_versions.csv'
multiqc = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/MultiQC.zip'
quote = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/offer_example.pdf'
input_type = 'salmon'
// genome = 'GRCh37'
library = "org.Hs.eg.db"
organism = "hsapiens"
keytype = "ENSEMBL"
gtf = "s3://ngi-igenomes/igenomes/Homo_sapiens/Ensembl/GRCh37/Annotation/Genes/genes.gtf"
}
8 changes: 4 additions & 4 deletions conf/test_use_vst.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
* -------------------------------------------------
* Defines bundled input files and everything required
* to run a fast and simple test. Use as follows:
* nextflow run qbic-pipelines/rnadeseq -profile test
* nextflow run qbic-pipelines/rnadeseq -profile test_use_vst
*/

params {
config_profile_name = 'Test profile'
config_profile_name = 'Test use vst'
config_profile_description = 'Minimal test dataset to check pipeline function'
// Limit resources so that this can run on Travis
max_cpus = 2
max_memory = 6.GB
max_time = 48.h
// Input data
metadata = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/Sample_preparations.tsv'
rawcounts = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/merged_gene_counts.txt'
gene_counts = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/merged_gene_counts.txt'
model = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/design.txt'
genelist = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/requested_genes.txt'
//report_options = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/report_options.yml'
Expand All @@ -26,6 +26,6 @@ params {
quote = 'https://raw.githubusercontent.com/qbic-pipelines/rnadeseq/dev/testdata/offer_example.pdf'
skip_pathway_analysis = false
use_vst = true
species = 'mmusculus'
genome = 'GRCm38'
logFCthreshold = 2
}
2 changes: 1 addition & 1 deletion docs/output.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ This directory contains the zipped results. When unzipping them, the following s
- `rlog_transformed_gene_counts.tsv`: normalized gene counts with the "regularized logarithm" approach. This normalization is used prior to PCA analysis and heatmap plotting of the gene counts.
- `vst_transformed_gene_counts.tsv`: normalized gene counts with the "variance stabilizing" transformation.
- `sizeFactor_libraries.tsv`: size factors for each sample.
- `DE_genes_tables/`: folder containing one tab-separated table for each of the contrasts in the analysis. Each table contains a list of all differentially expressed genes in the contrast, specifying the mean gene expression across all samples (baseMean), and the log2 fold change value and p-adjusted values (padj) for this contrast.
- `DE_genes_tables/`: folder containing one tab-separated table for each of the contrasts in the analysis. Each table contains a list of all differentially expressed genes in the contrast, specifying the mean gene expression across all samples (baseMean), and the log2 fold change value and p-adjusted values (padj) for this contrast. Files whose name contain "\_allgenes" are NOT filtered and therefore contain every gene investigated, whether significant or not (these are used for plotting and can be ignored while evaluating the results).
- `final_gene_table/final_gene_list_DESeq2.tsv`: table containing a list of all genes considered in the analysis. Here a summary of the log2 Fold Change and p-adjusted values for all contrasts is displayed. Additionally, the column **filter** shows if this gene was differentially expressed (DE) in any of the contrasts, or not (not_DE). The column **contrast_vector** contains for each contrast considered in the analysis a 1 if the gene was differentially expressed for this contrast or a 0 if it was not.
- `plots/`:
- `Heatmaps_of_distances.pdf/.svg`: heatmap of the pairwise euclidean distances among samples, when the rlog normalized gene counts are considered.
Expand Down
Loading