HenrikBengtsson / aroma.seq

🔬 R package: aroma.seq: High-Throughput Sequence Analysis using the Aroma Framework
https://github.com/HenrikBengtsson/aroma.seq
0 stars 1 forks source link

mpileup(): Assert that BAM files have been indexed #47

Closed HenrikBengtsson closed 5 years ago

HenrikBengtsson commented 5 years ago

This can be done by adding:

## Assert that all BAMs have been indexed
stopifnot(all(vapply(bams, FUN = hasIndex, FUN.VALUE = FALSE)))