Pierre Lindenbaum<p>how to use <a href="https://genomic.social/tags/nextflow" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nextflow</span></a> "multiMap' to transform a channel if the 'input' of an existing module doesn't fit your needs.</p><p>eg: you want </p><p> tuple val(meta), path(bam),path(bed)</p><p>while the module was designed the following way:</p><p> tuple val(meta1), path(bed)<br> tuple val(meta2), path(bam)<br> <br><a href="https://gist.github.com/lindenb/fbd76e5887754a7831d95422ea58f499" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gist.github.com/lindenb/fbd76e</span><span class="invisible">5887754a7831d95422ea58f499</span></a></p><p>thanks a lot <span class="h-card" translate="no"><a href="https://genomic.social/@mbp" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>mbp</span></a></span> for the tip !</p><p><a href="https://genomic.social/tags/nextflow" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nextflow</span></a> <a href="https://genomic.social/tags/multimap" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>multimap</span></a> <a href="https://genomic.social/tags/nfcore" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nfcore</span></a> <a href="https://genomic.social/tags/bioinformatics" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bioinformatics</span></a></p>