sanger-pathogens / Bio-Tradis

A set of tools to analyse the output from TraDIS analyses
https://sanger-pathogens.github.io/Bio-Tradis/
Other
22 stars 29 forks source link

include last base of annotation in insertion count #82

Closed lbarquist closed 6 years ago

lbarquist commented 6 years ago

This fixes issue #81 , where @ppgardne observed insertion indices never goes to 1 in an artificial experiment with tiled reads -- the last base of genome annotations was being unintentionally excluded from read count sums, due to use of a < rather than <= to. This is unlikely to have serious effects on real data, as it only affected insertions in the last base of an annotation (or trimmed annotation with the -trim flags), and all processed libraries would be affected in the same way.