Abnormally activated IDO1/TDO pathway of tryptophan in melanoma cells contributes to a diversified peptidome landscape which facilitates immune recognition. Here, TDO2 is linked to melanoma.