forked from nf-core/ampliseq
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglosed.nf.test
More file actions
47 lines (42 loc) · 2.03 KB
/
Copy pathglosed.nf.test
File metadata and controls
47 lines (42 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
nextflow_pipeline {
name "Test pipeline with GloSED"
script "../main.nf"
tag "pipeline"
profile "test_glosed"
test("-profile test_glosed") {
when {
params {
outdir = "$outputDir"
}
}
then {
// stable_name: All files + folders in ${params.outdir}/ with a stable name
def stable_name = getAllFilesFromDir(params.outdir, relative: true, includeDir: true, ignore: ['pipeline_info/*.{html,json,txt}'])
assert workflow.success
assertAll(
{ assert snapshot(
// pipeline versions.yml file for multiqc from which Nextflow version is removed because we test pipelines on multiple Nextflow versions
removeNextflowVersion("$outputDir/pipeline_info/software_versions.yml"),
// All stable path name, with a relative path
stable_name,
// Manually chosen files for content checks
path("$outputDir/overall_summary.tsv"),
path("$outputDir/barrnap/rrna.arc.gff"),
path("$outputDir/barrnap/rrna.bac.gff"),
path("$outputDir/barrnap/rrna.euk.gff"),
path("$outputDir/barrnap/rrna.mito.gff"),
path("$outputDir/cutadapt/cutadapt_summary.tsv"),
path("$outputDir/dada2/ASV_seqs.fasta"),
path("$outputDir/dada2/ASV_table.tsv"),
path("$outputDir/dada2/ref_taxonomy.glosed.txt"),
path("$outputDir/dada2/DADA2_stats.tsv"),
path("$outputDir/dada2/DADA2_table.tsv"),
path("$outputDir/input/Samplesheet.tsv"),
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() }
)
}
}
}