Molecular constraints on CDR3 for thymic selection of MHC-restricted TCRs from a random pre-selection repertoire