If each antibody was coded by one gene , it would take millions of genes to protect against any type of antigen . To achieve the diversity of antibodies needed to protect against any type of antigen , the immune system would require millions of genes coding for different antibodies , if each antibody was encoded by one gene .