Wash the basil leaves and dry with paper towels. Peel the garlic cloves, divide them into two parts and remove the germ inside. Make a crosswise incision on the top of the tomatoes, plunge into boiling water and take them out after 1 minute. Remove the peel and the seeds with the help of a knife. In a mortar, crush gently the basil and the garlic cloves, adding slowly the oil. Add the almonds, the chopped tomatoes and other oil. Continue to work until the pesto sauce is grainy but very creamy. Cook the pasta in salted water and drain it after the time indicated on the package. Pour into a bowl with the pesto, adding a few tablespoons of grated pecorino.