Skip to content

can't correctly read ref_panels when using %s for string interpolation #36

@Zhenghongc

Description

@Zhenghongc

in main.nf line 267 create a channel of ref_panels. when using %s for string interpolation, %s is not replaced. would following code correctly create a channel of ref_panels?
inp = Channel.from(params.ref_panels) .combine(Channel.from(params.chromosomes.split(','))) .flatMap { ref_name, ref_m3vcf, ref_vcf ,chrm-> vcf = sprintf(ref_vcf, chrm) m3vcf = sprintf(ref_m3vcf, chrm) return [ [ ref_name, file(m3vcf), file(vcf)] ] }
thanks, Hongchen Zheng

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions