Study into link between immune system genes and diabetes