scan_spike_contigs() works, but scan_spiked_bam throws the following error:
Tabulating read pair coverage (may take a while)...Done.
Tiling 300bp bins across the genome...Error in tileGenome(si, tilewidth = binwidth, cut.last.tile.in.chrom = TRUE) :
'seqlengths' must be a non-empty numeric vector
scan_spike_contigs() works, but scan_spiked_bam throws the following error:
Tabulating read pair coverage (may take a while)...Done. Tiling 300bp bins across the genome...Error in tileGenome(si, tilewidth = binwidth, cut.last.tile.in.chrom = TRUE) : 'seqlengths' must be a non-empty numeric vector
Which function should be used?