Skip to content

Commit 9350da0

Browse files
committed
removing samtools from test, and ignoring geno, ind
1 parent 39754f4 commit 9350da0

2 files changed

Lines changed: 11 additions & 19 deletions

File tree

tests/test_humanpopgen.nf.test

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ nextflow_pipeline {
7171
def stable_name_authentication = getAllFilesFromDir("$outputDir/authentication" , includeDir: false , ignore: null , ignoreFile: null , include: unstable_patterns_auth)
7272

7373
// Damage manipulation
74-
def stable_content_damage_manipulation = getAllFilesFromDir("$outputDir/damage_manipulation" , includeDir: false , ignore: unstable_patterns_auth , ignoreFile: null , include: ['*', '**/*'] )
74+
def stable_content_damage_manipulation = getAllFilesFromDir("$outputDir/damage_manipulation" , includeDir: false , ignore: ['**/*.{bam,bai}'] , ignoreFile: null , include: ['*', '**/*'] )
7575
def stable_name_damage_manipulation = getAllFilesFromDir("$outputDir/damage_manipulation" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*.{bam,bai}'] )
7676

7777
// Deduplication - TODO -> snapshot both lists are empty!?
@@ -83,8 +83,8 @@ nextflow_pipeline {
8383
def stable_name_final_bams = getAllFilesFromDir("$outputDir/final_bams" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*.{bam,bai}'] )
8484

8585
// Genotyping
86-
def stable_content_genotyping = getAllFilesFromDir("$outputDir/genotyping" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*'] )
87-
def stable_name_genotyping = getAllFilesFromDir("$outputDir/genotyping" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*.tbi'] )
86+
def stable_content_genotyping = getAllFilesFromDir("$outputDir/genotyping" , includeDir: false , ignore: ['**/*.{geno,ind,snp,tsv}'] , ignoreFile: null , include: ['**/*'] )
87+
def stable_name_genotyping = getAllFilesFromDir("$outputDir/genotyping" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*.{geno,ind,snp,tsv}'] )
8888

8989
// Mapping (incl. bam_input flasgstat)
9090
def stable_content_mapping = getAllFilesFromDir("$outputDir/mapping" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*.flagstat'] )
@@ -103,10 +103,6 @@ nextflow_pipeline {
103103
def stable_content_readfiltering = getAllFilesFromDir("$outputDir/read_filtering" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*.flagstat'] )
104104
def stable_name_readfiltering = getAllFilesFromDir("$outputDir/read_filtering" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*.{bam,bai}'] )
105105

106-
// Samtools
107-
def stable_content_samtools = getAllFilesFromDir("$outputDir/samtools" , includeDir: false , ignore: unstable_patterns_auth , ignoreFile: null , include: ['*', '**/*'] )
108-
def stable_name_samtools = getAllFilesFromDir("$outputDir/samtools" , includeDir: false , ignore: null , ignoreFile: null , include: ['**/*.{bam,bai}'] )
109-
110106
// MultiQC
111107
def stable_name_multiqc = getAllFilesFromDir("$outputDir/multiqc" , includeDir: false , ignore: null , ignoreFile: null , include: ['*', '**/*'] )
112108

@@ -133,7 +129,6 @@ nextflow_pipeline {
133129
{ assert snapshot( stable_content_metagenomics , stable_name_metagenomics*.name ).match("metagenomics") },
134130
{ assert snapshot( stable_content_preprocessing , stable_name_preprocessing*.name ).match("preprocessing") },
135131
{ assert snapshot( stable_content_readfiltering , stable_name_readfiltering*.name ).match("read_filtering") },
136-
{ assert snapshot( stable_content_samtools , stable_name_samtools*.name ).match("samtools") },
137132
{ assert snapshot( stable_name_multiqc*.name ).match("multiqc") },
138133

139134
// Versions

tests/test_humanpopgen.nf.test.snap

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -302,28 +302,25 @@
302302
"genotyping": {
303303
"content": [
304304
[
305-
"pileupcaller_genotypes_hs37d5_chr21-MT.geno:md5,242578419851a5778619d3b3b31e2f73",
306-
"pileupcaller_genotypes_hs37d5_chr21-MT.ind:md5,15eaec5196fdd95b4914a3714464b721",
307-
"pileupcaller_genotypes_hs37d5_chr21-MT.snp:md5,c100677fddc9dafe928c5b0a85621c72",
308-
"pileupcaller_genotypes_hs37d5_chr21-MT_coverage.tsv:md5,6b3362405ca6ab80306d7bf658918d4d"
305+
309306
],
310307
[
311-
308+
"pileupcaller_genotypes_hs37d5_chr21-MT.geno",
309+
"pileupcaller_genotypes_hs37d5_chr21-MT.ind",
310+
"pileupcaller_genotypes_hs37d5_chr21-MT.snp",
311+
"pileupcaller_genotypes_hs37d5_chr21-MT_coverage.tsv"
312312
]
313313
],
314314
"meta": {
315315
"nf-test": "0.8.4",
316316
"nextflow": "25.04.0"
317317
},
318-
"timestamp": "2025-05-23T10:23:08.46738"
318+
"timestamp": "2025-05-23T11:48:39.954805"
319319
},
320320
"damage_manipulation": {
321321
"content": [
322322
[
323-
"JK2067_JK2067_hs37d5_chr21-MT_trimmed.bam:md5,e4b0a68714ed18e46c2cfe812cdae7aa",
324-
"JK2067_JK2067_hs37d5_chr21-MT_trimmed.bam.bai:md5,877d54dca22c55dae49f727ef835aed4",
325-
"JK2067_downsampled_JK2067_downsampled_hs37d5_chr21-MT_trimmed.bam:md5,0ede97d89412001b9e3d575f21478b77",
326-
"JK2067_downsampled_JK2067_downsampled_hs37d5_chr21-MT_trimmed.bam.bai:md5,b7ff326b850a8d3c58c342a5ef48ae58"
323+
327324
],
328325
[
329326
"JK2067_JK2067_hs37d5_chr21-MT_trimmed.bam",
@@ -336,7 +333,7 @@
336333
"nf-test": "0.8.4",
337334
"nextflow": "25.04.0"
338335
},
339-
"timestamp": "2025-05-23T10:46:43.00917"
336+
"timestamp": "2025-05-23T11:48:39.584699"
340337
},
341338
"final_bams": {
342339
"content": [

0 commit comments

Comments
 (0)