mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-21 10:48:18 +00:00
Add BAM indexes as input for optitype module. (#1388)
This commit is contained in:
parent
18e72fa0be
commit
73aaecbc3a
5 changed files with 10 additions and 4 deletions
|
@ -8,7 +8,7 @@ process OPTITYPE {
|
|||
'quay.io/biocontainers/optitype:1.3.5--0' }"
|
||||
|
||||
input:
|
||||
tuple val(meta), path(bam)
|
||||
tuple val(meta), path(bam), path(bai)
|
||||
|
||||
output:
|
||||
tuple val(meta), path("${prefix}"), emit: output
|
||||
|
|
|
@ -22,6 +22,10 @@ input:
|
|||
type: file
|
||||
description: BAM file
|
||||
pattern: "*.{bam}"
|
||||
- bai:
|
||||
type: file
|
||||
description: BAM index file
|
||||
pattern: "*.{bai}"
|
||||
|
||||
output:
|
||||
- meta:
|
||||
|
|
|
@ -192,7 +192,8 @@ params {
|
|||
test_paired_end_umi_unsorted_bam = "${test_data_dir}/genomics/homo_sapiens/illumina/bam/umi/test.paired_end.umi_unsorted.bam"
|
||||
test_paired_end_umi_unsorted_tagged_bam = "${test_data_dir}/genomics/homo_sapiens/illumina/bam/umi/test.paired_end.unsorted_tagged.bam"
|
||||
test_paired_end_hla = "${test_data_dir}/genomics/homo_sapiens/illumina/bam/example_hla_pe.bam"
|
||||
|
||||
test_paired_end_hla_sorted_bam = "${test_data_dir}/genomics/homo_sapiens/illumina/bam/example_hla_pe.sorted.bam"
|
||||
test_paired_end_hla_sorted_bam_bai = "${test_data_dir}/genomics/homo_sapiens/illumina/bam/example_hla_pe.sorted.bam.bai"
|
||||
test2_paired_end_sorted_bam = "${test_data_dir}/genomics/homo_sapiens/illumina/bam/test2.paired_end.sorted.bam"
|
||||
test2_paired_end_sorted_bam_bai = "${test_data_dir}/genomics/homo_sapiens/illumina/bam/test2.paired_end.sorted.bam.bai"
|
||||
test2_paired_end_name_sorted_bam = "${test_data_dir}/genomics/homo_sapiens/illumina/bam/test2.paired_end.name.sorted.bam"
|
||||
|
|
|
@ -6,7 +6,8 @@ include { OPTITYPE } from '../../../modules/optitype/main.nf'
|
|||
|
||||
workflow test_optitype {
|
||||
input = [ [ id:'test', seq_type:'dna' ], // meta map
|
||||
file(params.test_data['homo_sapiens']['illumina']['test_paired_end_hla'], checkIfExists: true)
|
||||
file(params.test_data['homo_sapiens']['illumina']['test_paired_end_hla_sorted_bam'], checkIfExists: true),
|
||||
file(params.test_data['homo_sapiens']['illumina']['test_paired_end_hla_sorted_bam_bai'], checkIfExists: true)
|
||||
]
|
||||
|
||||
OPTITYPE ( input )
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
- path: output/optitype/test/test_coverage_plot.pdf
|
||||
- path: output/optitype/test/test_result.tsv
|
||||
contains:
|
||||
- "1446"
|
||||
- "1439"
|
||||
|
|
Loading…
Reference in a new issue