Skip to content

Commit

Permalink
update .nf.test files
Browse files Browse the repository at this point in the history
  • Loading branch information
d4straub committed Jul 27, 2023
1 parent a1002f7 commit e30f162
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 12 deletions.
2 changes: 1 addition & 1 deletion conf/test_doubleprimers.config
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ params {
FW_primer = "NNNNCCTAHGGGRBGCAGCAG"
RV_primer = "GACTACHVGGGTATCTAATCC"
double_primer = true
dada_ref_taxonomy = false
skip_dada_taxonomy = true
input = "https://raw.githubusercontent.com/nf-core/test-datasets/ampliseq/samplesheets/Samplesheet_double_primer.tsv"
trunc_qmin = 30
skip_fastqc = true
Expand Down
3 changes: 2 additions & 1 deletion tests/pipeline/doubleprimers.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ nextflow_pipeline {
{ assert new File("$outputDir/qiime2/input/table.qza").exists() },
{ assert snapshot(path("$outputDir/input/Samplesheet_double_primer.tsv")).match("input") },
{ assert snapshot(path("$outputDir/multiqc/multiqc_data/multiqc_general_stats.txt"),
path("$outputDir/multiqc/multiqc_data/multiqc_cutadapt.txt")).match("multiqc") }
path("$outputDir/multiqc/multiqc_data/multiqc_cutadapt.txt")).match("multiqc") },
{ assert new File("$outputDir/summary_report/summary_report.html").exists() }
)
}
}
Expand Down
3 changes: 2 additions & 1 deletion tests/pipeline/fasta.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ nextflow_pipeline {
{ assert snapshot(path("$outputDir/dada2/ref_taxonomy.rdp_18.txt")).match("dada2") },
{ assert new File("$outputDir/dada2/ASV_tax_species.rdp_18.tsv").exists() },
{ assert new File("$outputDir/dada2/ASV_tax.rdp_18.tsv").exists() },
{ assert snapshot(path("$outputDir/input/ASV_seqs.fasta")).match("input") }
{ assert snapshot(path("$outputDir/input/ASV_seqs.fasta")).match("input") },
{ assert new File("$outputDir/summary_report/summary_report.html").exists() }
)
}
}
Expand Down
3 changes: 2 additions & 1 deletion tests/pipeline/iontorrent.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ nextflow_pipeline {
{ assert snapshot(path("$outputDir/input/Samplesheet_it_SE_ITS.tsv")).match("input") },
{ assert snapshot(path("$outputDir/multiqc/multiqc_data/multiqc_fastqc.txt"),
path("$outputDir/multiqc/multiqc_data/multiqc_general_stats.txt"),
path("$outputDir/multiqc/multiqc_data/multiqc_cutadapt.txt")).match("multiqc") }
path("$outputDir/multiqc/multiqc_data/multiqc_cutadapt.txt")).match("multiqc") },
{ assert new File("$outputDir/summary_report/summary_report.html").exists() }
)
}
}
Expand Down
3 changes: 2 additions & 1 deletion tests/pipeline/multi.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ nextflow_pipeline {
{ assert new File("$outputDir/qiime2/representative_sequences/filtered-sequences.qza").exists() },
{ assert new File("$outputDir/qiime2/representative_sequences/rep-seq.fasta").exists() },
{ assert snapshot(path("$outputDir/qiime2/representative_sequences/descriptive_stats.tsv"),
path("$outputDir/qiime2/representative_sequences/seven_number_summary.tsv")).match("qiime2") }
path("$outputDir/qiime2/representative_sequences/seven_number_summary.tsv")).match("qiime2") },
{ assert new File("$outputDir/summary_report/summary_report.html").exists() }
)
}
}
Expand Down
3 changes: 2 additions & 1 deletion tests/pipeline/novaseq.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ nextflow_pipeline {
{ assert new File("$outputDir/fastqc/S2_2_fastqc.html").exists() },
{ assert snapshot(path("$outputDir/input/Samplesheet_novaseq.tsv")).match("input") },
{ assert snapshot(path("$outputDir/multiqc/multiqc_data/multiqc_fastqc.txt"),
path("$outputDir/multiqc/multiqc_data/multiqc_general_stats.txt")).match("multiqc") }
path("$outputDir/multiqc/multiqc_data/multiqc_general_stats.txt")).match("multiqc") },
{ assert new File("$outputDir/summary_report/summary_report.html").exists() }
)
}
}
Expand Down
3 changes: 2 additions & 1 deletion tests/pipeline/pacbio_its.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ nextflow_pipeline {
path("$outputDir/SBDI/emof.tsv"),
path("$outputDir/SBDI/event.tsv")).match("SBDI") },
{ assert new File("$outputDir/SBDI/annotation.tsv").exists() },
{ assert new File("$outputDir/SBDI/asv-table.tsv").exists() }
{ assert new File("$outputDir/SBDI/asv-table.tsv").exists() },
{ assert new File("$outputDir/summary_report/summary_report.html").exists() }
)
}
}
Expand Down
3 changes: 2 additions & 1 deletion tests/pipeline/pplace.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ nextflow_pipeline {
{ assert new File("$outputDir/pplace/test_pplace.taxonomy.per_query.tsv").exists() },
{ assert new File("$outputDir/pplace/test_pplace.graft.test_pplace.epa_result.newick").exists() },
{ assert snapshot(path("$outputDir/multiqc/multiqc_data/multiqc_general_stats.txt"),
path("$outputDir/multiqc/multiqc_data/multiqc_cutadapt.txt")).match("multiqc") }
path("$outputDir/multiqc/multiqc_data/multiqc_cutadapt.txt")).match("multiqc") },
{ assert new File("$outputDir/summary_report/summary_report.html").exists() }
)
}
}
Expand Down
3 changes: 2 additions & 1 deletion tests/pipeline/reftaxcustom.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ nextflow_pipeline {
{ assert snapshot(path("$outputDir/input/Samplesheet.tsv")).match("input") },
{ assert snapshot(path("$outputDir/multiqc/multiqc_data/multiqc_fastqc.txt"),
path("$outputDir/multiqc/multiqc_data/multiqc_general_stats.txt"),
path("$outputDir/multiqc/multiqc_data/multiqc_cutadapt.txt")).match("multiqc") }
path("$outputDir/multiqc/multiqc_data/multiqc_cutadapt.txt")).match("multiqc") },
{ assert new File("$outputDir/summary_report/summary_report.html").exists() }
)
}
}
Expand Down
3 changes: 2 additions & 1 deletion tests/pipeline/single.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ nextflow_pipeline {
{ assert snapshot(path("$outputDir/input/Samplesheet_single_end.tsv")).match("input") },
{ assert snapshot(path("$outputDir/multiqc/multiqc_data/multiqc_fastqc.txt"),
path("$outputDir/multiqc/multiqc_data/multiqc_general_stats.txt"),
path("$outputDir/multiqc/multiqc_data/multiqc_cutadapt.txt")).match("multiqc") }
path("$outputDir/multiqc/multiqc_data/multiqc_cutadapt.txt")).match("multiqc") },
{ assert new File("$outputDir/summary_report/summary_report.html").exists() }
)
}
}
Expand Down
3 changes: 2 additions & 1 deletion tests/pipeline/sintax.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ nextflow_pipeline {
{ assert new File("$outputDir/sintax/ASV_tax_sintax.unite-fungi.tsv").exists() },
{ assert new File("$outputDir/sintax/ref_taxonomy_sintax.txt").exists() },
{ assert snapshot(path("$outputDir/multiqc/multiqc_data/multiqc_general_stats.txt"),
path("$outputDir/multiqc/multiqc_data/multiqc_cutadapt.txt")).match("multiqc") }
path("$outputDir/multiqc/multiqc_data/multiqc_cutadapt.txt")).match("multiqc") },
{ assert new File("$outputDir/summary_report/summary_report.html").exists() }
)
}
}
Expand Down
3 changes: 2 additions & 1 deletion tests/pipeline/test.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ nextflow_pipeline {
path("$outputDir/SBDI/emof.tsv"),
path("$outputDir/SBDI/event.tsv")).match("SBDI") },
{ assert new File("$outputDir/SBDI/annotation.tsv").exists() },
{ assert new File("$outputDir/SBDI/asv-table.tsv").exists() }
{ assert new File("$outputDir/SBDI/asv-table.tsv").exists() },
{ assert new File("$outputDir/summary_report/summary_report.html").exists() }
)
}
}
Expand Down

0 comments on commit e30f162

Please sign in to comment.