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
in
main.nfline 267 create a channel ofref_panels. when using %s for string interpolation, %s is not replaced. would following code correctly create a channel ofref_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