Molecular modeling of biological systems for medical and pharmaceutical applications: molecular modeling of the onset of autoimmune diseases