Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Zhenghongc opened this issue Aug 31, 2023 · 0 comments
Open

Comments

@Zhenghongc
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant