I need to use `samtools view` with an index and a ...
# modules
a
I need to use
samtools view
with an index and a BED, but it appears to not support both? Am I missing something here?
e.g.
samtools view -o ${prefix}.bam -L ${bed} ${bam}
a
AFAICT this has nothing to really do with taking an index? The module just isn’t set up to take a bed file of regions as input at all? Probably should be added as an optional input
a
Oops, yep I meant the other way around. Sigh I really didn’t want to have to fix up another core module.
😆 1