Biological invasions at the gene level