mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
update tests
This commit is contained in:
parent
3cbf5c63e5
commit
881e9db4bf
3 changed files with 9 additions and 7 deletions
|
@ -47,7 +47,7 @@ output:
|
||||||
- hs_metrics:
|
- hs_metrics:
|
||||||
type: file
|
type: file
|
||||||
description: Alignment metrics files generated by picard CollectHsMetrics
|
description: Alignment metrics files generated by picard CollectHsMetrics
|
||||||
pattern: "*_collecthsmetrics.txt"
|
pattern: "*_metrics.txt"
|
||||||
- wgs_metrics:
|
- wgs_metrics:
|
||||||
type: file
|
type: file
|
||||||
description: Alignment metrics files generated by picard CollectWgsMetrics
|
description: Alignment metrics files generated by picard CollectWgsMetrics
|
||||||
|
|
|
@ -6,18 +6,20 @@ include { BAM_QC_PICARD } from '../../../../subworkflows/nf-core/bam_qc_picard/m
|
||||||
|
|
||||||
workflow test_bam_qc_picard_wgs {
|
workflow test_bam_qc_picard_wgs {
|
||||||
input = [ [ id:'test', single_end:false ], // meta map
|
input = [ [ id:'test', single_end:false ], // meta map
|
||||||
file(params.test_data['sarscov2']['illumina']['test_single_end_bam'], checkIfExists: true)
|
file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true)
|
||||||
]
|
]
|
||||||
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
||||||
|
|
||||||
BAM_QC_PICARD ( input, [], [], [] )
|
BAM_QC_PICARD ( input, fasta, [], [] )
|
||||||
}
|
}
|
||||||
|
|
||||||
workflow test_bam_qc_picard_targetted {
|
workflow test_bam_qc_picard_targetted {
|
||||||
input = [ [ id:'test', single_end:false ], // meta map
|
input = [ [ id:'test', single_end:false ], // meta map
|
||||||
file(params.test_data['sarscov2']['illumina']['test_paired_end_bam'], checkIfExists: true)
|
file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true)
|
||||||
]
|
]
|
||||||
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
||||||
bait = file(params.test_data['sarscov2']['genome']['baits_interval_list'], checkIfExists: true)
|
bait = file(params.test_data['sarscov2']['genome']['baits_interval_list'], checkIfExists: true)
|
||||||
target = file(params.test_data['sarscov2']['genome']['targets_interval_list'], checkIfExists: true)
|
target = file(params.test_data['sarscov2']['genome']['targets_interval_list'], checkIfExists: true)
|
||||||
|
|
||||||
BAM_QC_PICARD ( input, [], bait, target )
|
BAM_QC_PICARD ( input, fasta, bait, target )
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,4 +30,4 @@
|
||||||
- path: ./output/picard/test.CollectMultipleMetrics.base_distribution_by_cycle_metrics
|
- path: ./output/picard/test.CollectMultipleMetrics.base_distribution_by_cycle_metrics
|
||||||
- path: ./output/picard/test.CollectMultipleMetrics.quality_by_cycle_metrics
|
- path: ./output/picard/test.CollectMultipleMetrics.quality_by_cycle_metrics
|
||||||
- path: ./output/picard/test.CollectMultipleMetrics.quality_distribution_metrics
|
- path: ./output/picard/test.CollectMultipleMetrics.quality_distribution_metrics
|
||||||
- path: ./output/picard/test_collecthsmetrics.txt
|
- path: ./output/picard/test.CollectHsMetrics.coverage_metrics
|
||||||
|
|
Loading…
Reference in a new issue