Skip to content

Commit d6a6dd9

Browse files
committed
unstable content in MVA outputs
1 parent 827f35c commit d6a6dd9

2 files changed

Lines changed: 17 additions & 16 deletions

File tree

tests/default.nf.test

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,12 @@ nextflow_pipeline {
9595
def genotyping_vcfs = getAllFilesFromDir("$outputDir/genotyping" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*.vcf.gz'] )
9696

9797
// Metagenomics
98-
def stable_content_metagenomics = getAllFilesFromDir("$outputDir/metagenomics" , includeDir: false , ignore: ['**/*.biom', '**/*table.tsv'] , ignoreFile: null , include: ['**/*'] )
99-
def stable_name_metagenomics = getAllFilesFromDir("$outputDir/metagenomics" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*.biom', '**/*table.tsv'] )
98+
def stable_content_metagenomics = getAllFilesFromDir("$outputDir/metagenomics" , includeDir: false , ignore: ['**/*.biom', '**/*table.tsv'], ignoreFile: null , include: ['**/*'] )
99+
def stable_name_metagenomics = getAllFilesFromDir("$outputDir/metagenomics" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*.biom', '**/*table.tsv'] )
100100

101-
def stable_content_consensus = getAllFilesFromDir("$outputDir/consensus_sequence" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*'] )
102-
// def stable_name_consensus = getAllFilesFromDir("$outputDir/consensus_sequence" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*.biom', '**/*table.tsv'] )
101+
// Consensus sequence generation
102+
// All files have unstable content due to the inclusion of timestamps and/or inconsistent order of input files, causing different ordering in the outputs.
103+
def stable_name_consensus = getAllFilesFromDir("$outputDir/consensus_sequence", includeDir: false , ignore: null , ignoreFile: null , include: ['**/*'] )
103104

104105
// MultiQC
105106
def stable_name_multiqc = getAllFilesFromDir("$outputDir/multiqc" , includeDir: false , ignore: null , ignoreFile: null , include: ['*', '**/*'] )
@@ -143,7 +144,7 @@ nextflow_pipeline {
143144
}
144145
).match("genotyping_vcfs")},
145146
{ assert snapshot( stable_content_metagenomics , stable_name_metagenomics*.name ).match("metagenomics") },
146-
{ assert snapshot( stable_content_consensus ).match("consensus_sequence") }, //, stable_name_consensus*.name ).match("consensus") },
147+
{ assert snapshot( stable_name_consensus*.name ).match("consensus_sequence") },
147148
{ assert snapshot( stable_name_multiqc*.name ).match("multiqc") },
148149

149150
// Versions

tests/default.nf.test.snap

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -638,23 +638,23 @@
638638
"consensus_sequence": {
639639
"content": [
640640
[
641-
"multivcfanalyzer_Mammoth_MT_Krause_fullAlignment.fasta.gz:md5,252786f408af4ec39aa65cf4d82ae2e3",
642-
"multivcfanalyzer_Mammoth_MT_Krause_snpAlignment.fasta.gz:md5,84722bf9f9d6a9b45c9c458967b7ff1c",
643-
"multivcfanalyzer_Mammoth_MT_Krause_snpAlignmentIncludingRefGenome.fasta.gz:md5,dfd55ba523afb96b55240a755b1cc239",
644-
"multivcfanalyzer_Mammoth_MT_Krause_info.txt:md5,ddc9cb3c96d1dedbef099a787a995778",
645-
"multivcfanalyzer_Mammoth_MT_Krause_snpStatistics.tsv:md5,ab8bb611fa9ce205429f078431f6a5c2",
646-
"multivcfanalyzer_Mammoth_MT_Krause_snpTable.tsv:md5,24a5cbf56991689a7f450edbd6bb4c36",
647-
"multivcfanalyzer_Mammoth_MT_Krause_snpTableForSnpEff.tsv:md5,45065e7284578c205be58cb8a135829a",
648-
"multivcfanalyzer_Mammoth_MT_Krause_snpTableWithUncertaintyCalls.tsv:md5,b2a7bed2149eda22c7398d5e9b2530cf",
649-
"multivcfanalyzer_Mammoth_MT_Krause_structureGenotypes.tsv:md5,a73557d04f321eaf8f8153f6b92a0b82",
650-
"multivcfanalyzer_Mammoth_MT_Krause_structureGenotypes_noMissingData-Columns.tsv:md5,331923a5e63343b545aaac529663036c"
641+
"multivcfanalyzer_Mammoth_MT_Krause_fullAlignment.fasta.gz",
642+
"multivcfanalyzer_Mammoth_MT_Krause_snpAlignment.fasta.gz",
643+
"multivcfanalyzer_Mammoth_MT_Krause_snpAlignmentIncludingRefGenome.fasta.gz",
644+
"multivcfanalyzer_Mammoth_MT_Krause_info.txt",
645+
"multivcfanalyzer_Mammoth_MT_Krause_snpStatistics.tsv",
646+
"multivcfanalyzer_Mammoth_MT_Krause_snpTable.tsv",
647+
"multivcfanalyzer_Mammoth_MT_Krause_snpTableForSnpEff.tsv",
648+
"multivcfanalyzer_Mammoth_MT_Krause_snpTableWithUncertaintyCalls.tsv",
649+
"multivcfanalyzer_Mammoth_MT_Krause_structureGenotypes.tsv",
650+
"multivcfanalyzer_Mammoth_MT_Krause_structureGenotypes_noMissingData-Columns.tsv"
651651
]
652652
],
653653
"meta": {
654654
"nf-test": "0.9.3",
655655
"nextflow": "25.10.3"
656656
},
657-
"timestamp": "2026-03-26T15:37:31.582708"
657+
"timestamp": "2026-03-27T15:04:37.119992"
658658
},
659659
"deduplication": {
660660
"content": [

0 commit comments

Comments
 (0)