Skip to content

Commit f92c4d8

Browse files
committed
excluding bams and bcftools stats
1 parent 7fa2ca6 commit f92c4d8

2 files changed

Lines changed: 9 additions & 17 deletions

File tree

tests/test_long.nf.test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ nextflow_pipeline {
6969

7070
// Damage_manipulation
7171
// def stable_content_damage_manipulation = getAllFilesFromDir("$outputDir/damage_manipulation" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*csv'] )
72-
def stable_content_damage_manipulation = getAllFilesFromDir("$outputDir/damage_manipulation" , includeDir: false , ignore: ['**/*out_MCMC_*.csv'], ignoreFile: null , include: ['*', '**/*'] )
72+
def stable_content_damage_manipulation = getAllFilesFromDir("$outputDir/damage_manipulation" , includeDir: false , ignore: ['**/*out_MCMC_*.csv'], ignoreFile: null , include: ['*'] )
7373
def stable_name_damage_manipulation = getAllFilesFromDir("$outputDir/damage_manipulation" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*.{bam,bai,csv}'] )
7474

7575
// Final_bams
@@ -86,8 +86,8 @@ nextflow_pipeline {
8686
def stable_name_preprocessing = getAllFilesFromDir("$outputDir/preprocessing" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*.{zip,log,html}'] )
8787

8888
// Genotyping
89-
def stable_content_genotyping = getAllFilesFromDir("$outputDir/genotyping" , includeDir: false , ignore: ['**/*.{tbi,vcf.gz,stats.txt}'] , ignoreFile: null , include: ['**/*'] )
90-
def stable_name_genotyping = getAllFilesFromDir("$outputDir/genotyping" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*.{tbi,stats.txt}'] )
89+
def stable_content_genotyping = getAllFilesFromDir("$outputDir/genotyping" , includeDir: false , ignore: ['**/*.{tbi,vcf.gz,txt}'] , ignoreFile: null , include: ['**/*'] )
90+
def stable_name_genotyping = getAllFilesFromDir("$outputDir/genotyping" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*.{tbi,txt}'] )
9191
// We need to collect the vcfs separately to run more specific md5sum checks on the header (contnts are unstable due to same reasons as BAMs, explained above).
9292
def genotyping_vcfs = getAllFilesFromDir("$outputDir/genotyping" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*.vcf.gz'] )
9393

tests/test_long.nf.test.snap

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,11 @@
131131
"genotyping": {
132132
"content": [
133133
[
134-
"JK2782_Mammoth_MT_Krause.bcftools_stats.txt:md5,0209763fc0b335ce95da0ebc77a35085",
135-
"JK2802_Mammoth_MT_Krause.bcftools_stats.txt:md5,b0692b1f9382add5d456397e320854f3"
134+
136135
],
137136
[
137+
"JK2782_Mammoth_MT_Krause.bcftools_stats.txt",
138+
"JK2802_Mammoth_MT_Krause.bcftools_stats.txt",
138139
"JK2782_Mammoth_MT_Krause.vcf.gz.tbi",
139140
"JK2802_Mammoth_MT_Krause.vcf.gz.tbi"
140141
]
@@ -143,21 +144,12 @@
143144
"nf-test": "0.9.2",
144145
"nextflow": "25.04.8"
145146
},
146-
"timestamp": "2025-11-21T09:52:57.182743"
147+
"timestamp": "2025-11-21T12:25:09.798359"
147148
},
148149
"damage_manipulation": {
149150
"content": [
150151
[
151-
"JK2782_JK2782_TGGCCGATCAACGA_BAM_Mammoth_MT_Krause_rescaled.bam:md5,6d72046d47139efaebe0942f523f7c5c",
152-
"JK2782_JK2782_TGGCCGATCAACGA_BAM_Mammoth_MT_Krause_rescaled.bam.bai:md5,2995466253f1dd5e3a98b4ac3bc5ecc8",
153-
"JK2782_JK2782_TGGCCGATCAACGA_Mammoth_MT_Krause_rescaled.bam:md5,ea89b8755d5e43705f3582eabed381d2",
154-
"JK2782_JK2782_TGGCCGATCAACGA_Mammoth_MT_Krause_rescaled.bam.bai:md5,b5d36ad74aad6dbff018936dacd653f3",
155-
"Stats_out_MCMC_hist.pdf:md5,851d6989eabc80e932f56f5d7c231967",
156-
"Stats_out_MCMC_post_pred.pdf:md5,28d30f5902e9e007de5625d3653a67af",
157-
"Stats_out_MCMC_trace.pdf:md5,27eea4b15a8493f2f63d083154533851",
158-
"Stats_out_MCMC_hist.pdf:md5,e0075e072ebe30b37d99fe73ff73a8c9",
159-
"Stats_out_MCMC_post_pred.pdf:md5,9d95b808d833534f7cfcd42edcd597bb",
160-
"Stats_out_MCMC_trace.pdf:md5,a02c59b1902b4a6b1ff36943a06e43fb"
152+
161153
],
162154
[
163155
"JK2782_JK2782_TGGCCGATCAACGA_BAM_Mammoth_MT_Krause_rescaled.bam",
@@ -176,7 +168,7 @@
176168
"nf-test": "0.9.2",
177169
"nextflow": "25.04.8"
178170
},
179-
"timestamp": "2025-11-21T09:52:56.93062"
171+
"timestamp": "2025-11-21T12:25:09.714361"
180172
},
181173
"final_bams": {
182174
"content": [

0 commit comments

Comments
 (0)