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

Report warning message when analyzing data with two replicates #7289

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
18 changes: 10 additions & 8 deletions modules/nf-core/anota2seq/anota2seqrun/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ process ANOTA2SEQ_ANOTA2SEQRUN {
tuple val(meta2), path(samplesheet), path(counts)

output:
tuple val(meta), path("*.translated_mRNA.anota2seq.results.tsv") , emit: translated_mrna
tuple val(meta), path("*.total_mRNA.anota2seq.results.tsv") , emit: total_mrna
tuple val(meta), path("*.translation.anota2seq.results.tsv") , emit: translation
tuple val(meta), path("*.buffering.anota2seq.results.tsv") , emit: buffering
tuple val(meta), path("*.mRNA_abundance.anota2seq.results.tsv") , emit: mrna_abundance
tuple val(meta), path("*.Anota2seqDataSet.rds") , emit: rdata
tuple val(meta), path("*.fold_change.png") , emit: fold_change_plot
tuple val(meta), path("*.translated_mRNA.anota2seq.results.tsv") , emit: translated_mrna, optional: true
tuple val(meta), path("*.total_mRNA.anota2seq.results.tsv") , emit: total_mrna, optional: true
tuple val(meta), path("*.translation.anota2seq.results.tsv") , emit: translation, optional: true
tuple val(meta), path("*.buffering.anota2seq.results.tsv") , emit: buffering, optional: true
tuple val(meta), path("*.mRNA_abundance.anota2seq.results.tsv") , emit: mrna_abundance, optional: true
tuple val(meta), path("*.Anota2seqDataSet.rds") , emit: rdata, optional: true
tuple val(meta), path("*.fold_change.png") , emit: fold_change_plot, optional: true
tuple val(meta), path("*.interaction_p_distribution.pdf") , emit: interaction_p_distribution_plot, optional: true
tuple val(meta), path("*.residual_distribution_summary.jpeg") , emit: residual_distribution_summary_plot, optional: true
tuple val(meta), path("*.residual_vs_fitted.jpeg") , emit: residual_vs_fitted_plot, optional: true
Expand All @@ -33,5 +33,7 @@ process ANOTA2SEQ_ANOTA2SEQRUN {
task.ext.when == null || task.ext.when

script:
template 'anota2seqrun.r'
"""
Rscript ${projectDir}/modules/nf-core/anota2seq/anota2seqrun/templates/anota2seqrun.r --output_prefix ${task.ext.prefix ?: meta.id} --sample_treatment_col ${sample_treatment_col} --reference_level ${reference} --target_level ${target} --sample_file ${samplesheet} --count_file ${counts}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can't do this, it won't work on cloud providers. Why are you trying to move away from the use of the template?

"""
}
Loading
Loading