Hello, I am trying to use the module <asereadcount...
# modules
r
Hello, I am trying to use the module asereadcounter, however, I am noticing that the module requires a bai and tbi file even though they are not really used in the module, and actually asereadcounter does not need them. What is the purpose of having them there?
a
I’m not familiar with the specific tool but I find an annoying number of tools require index files (with standardised names e.g.
<bam_name>.bai
) even if they don’t take them as explicit input. Is that the case here?
💯 2
Even if that is not the case for the
ASEReadCounter
tool it may be that it can use indexes if present to speed up the tool, in which case being able to supply them is useful.
If you don’t have indexes, and don’t need them for the tool in your case, you can just leave them out by using an empty value of
[]
e.g. if you have a channel with `meta, bam, vcf`:
Copy code
ch_in = my_channel.map{meta, bam, vcf -> [meta, bam, [], vcf, []]}
✅ 1
r
Thanks, I will leave them out. I don't have indexes (would need to build them) and the tool does not use them.