Improving bacterial genomic characterisation in M. bovis and E. coli