Skip to content

Change multiple inputs to tuples in annotate_vcf.nf #45

Description

@mgeaghan

Description of feature

Currently, in annotate_vcf.nf, the process takes multiple inputs:

val(cohort_name)
path(cohort_vcf)
path(cohort_vcf_tbi)
val(vep_assembly)
val(vep_species)
path(vep_cache)

This works because the pipeline is designed to work with a single cohort, so this process should only run once. Still, it is better practice to group related inputs together as tuples. This might look like:

input:
tuple val(cohort_name), path(cohort_vcf), path(cohort_vcf_tbi)
tuple val(vep_assembly), val(vep_species), path(vep_cache)

This groups all the sample info together and groups all the VEP info together.

Note: This is a nitpick and not something we need to change right now, it's just something to keep in mind for the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions