-
Notifications
You must be signed in to change notification settings - Fork 10
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
Issue 106 #114
Merged
Merged
Issue 106 #114
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
8d7f2ea
MOve heatmap and compute gene scores into subworkflow
nschcolnicov 01b75cf
Merge branch 'dev' of https://github.com/nf-core/nanostring into issu…
nschcolnicov 0746e28
Merge branch 'dev' of https://github.com/nf-core/nanostring into issu…
nschcolnicov 206dda6
Updated scores and heatmap modules, and created subworkflow for them
nschcolnicov 9067aa8
Updated modules and subworkflow
nschcolnicov bf5362b
Remove print statement
nschcolnicov 32e2eab
Update changelog
nschcolnicov e3531a4
Addressing PR comments
nschcolnicov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
File renamed without changes.
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 @@ | ||
nextflow.enable.moduleBinaries = true |
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 | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -5,13 +5,12 @@ process CREATE_GENE_HEATMAP { | |||||||||||||
container "community.wave.seqera.io/library/bioconductor-complexheatmap_r-base_r-circlize_r-dplyr_pruned:58d1af3dbaeba617" | ||||||||||||||
|
||||||||||||||
input: | ||||||||||||||
path annotated_counts | ||||||||||||||
path counts | ||||||||||||||
tuple val(meta), path(annotated_endo_data), path(normalized_counts) | ||||||||||||||
path heatmap_genes_to_filter | ||||||||||||||
|
||||||||||||||
output: | ||||||||||||||
path "*gene_heatmap_mqc.png", emit: gene_heatmap | ||||||||||||||
path "versions.yml" , emit: versions | ||||||||||||||
tuple val(meta), path("*gene_heatmap_mqc.png"), emit: gene_heatmap | ||||||||||||||
path "versions.yml" , emit: versions | ||||||||||||||
|
||||||||||||||
when: | ||||||||||||||
task.ext.when == null || task.ext.when | ||||||||||||||
|
@@ -20,7 +19,7 @@ process CREATE_GENE_HEATMAP { | |||||||||||||
def args = task.ext.args ?: '' | ||||||||||||||
|
||||||||||||||
""" | ||||||||||||||
compute_gene_heatmap.R $annotated_counts $counts $heatmap_genes_to_filter $args | ||||||||||||||
compute_gene_heatmap.R $annotated_endo_data $normalized_counts $heatmap_genes_to_filter $args | ||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Something like this can make it easier to read in the log :)
Suggested change
|
||||||||||||||
|
||||||||||||||
cat <<-END_VERSIONS > versions.yml | ||||||||||||||
"${task.process}": | ||||||||||||||
|
@@ -34,5 +33,23 @@ process CREATE_GENE_HEATMAP { | |||||||||||||
r-fs: \$(Rscript -e "library(fs); cat(as.character(packageVersion('fs')))") | ||||||||||||||
END_VERSIONS | ||||||||||||||
""" | ||||||||||||||
|
||||||||||||||
stub: | ||||||||||||||
""" | ||||||||||||||
touch gene_heatmap_mqc.png | ||||||||||||||
|
||||||||||||||
cat <<-END_VERSIONS > versions.yml | ||||||||||||||
"${task.process}": | ||||||||||||||
r-base: \$(echo \$(R --version 2>&1) | sed 's/^.*R version //; s/ .*\$//') | ||||||||||||||
r-dplyr: \$(Rscript -e "library(dplyr); cat(as.character(packageVersion('dplyr')))") | ||||||||||||||
r-ggplot2: \$(Rscript -e "library(ggplot2); cat(as.character(packageVersion('ggplot2')))") | ||||||||||||||
r-rlang: \$(Rscript -e "library(rlang); cat(as.character(packageVersion('rlang')))") | ||||||||||||||
bioconductor-ComplexHeatmap: \$(Rscript -e "library(ComplexHeatmap); cat(as.character(packageVersion('ComplexHeatmap')))") | ||||||||||||||
r-circlize: \$(Rscript -e "library(circlize); cat(as.character(packageVersion('circlize')))") | ||||||||||||||
r-yaml: \$(Rscript -e "library(yaml); cat(as.character(packageVersion('yaml')))") | ||||||||||||||
r-fs: \$(Rscript -e "library(fs); cat(as.character(packageVersion('fs')))") | ||||||||||||||
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something like this can make it easier to read in the log :)