CdgL is a degenerate nucleotide cyclase domain protein affecting flagellin synthesis and motility in Bacillus thuringiensis.