Add train column to alleles/polymorphism tables
* fix #1781