Comparative transcriptome profiling reveals that brassinosteroid-mediated lignification plays an important role in garlic adaption to salt stress.