https://github.com/connor-lab/ncov2019-artic-nf
Raw File
Tip revision: 8af5152cf7107c3a369b996f5bad3473d329050c authored by Matt Bull on 08 April 2021, 15:56:30 UTC
Fix params.gff undefined and remove CLIMB upload (#99)
Tip revision: 8af5152
typing.nf

include {typeVariants} from '../modules/typing.nf'
include {mergeTypingCSVs} from '../modules/typing.nf'

workflow Genotyping {
    take:
      ch_variantCalls
      ch_refGff
      ch_refFasta
      ch_typingYaml

    main:
      typeVariants(ch_variantCalls.combine(ch_refGff).combine(ch_refFasta).combine(ch_typingYaml))
      mergeTypingCSVs(typeVariants.out.typing_csv.toList().map{ [ it ] }.combine(typeVariants.out.variants_csv.toList().map{ [ it ] }))
}
back to top