Soak the clams in a pot of cold salted water for an hour. Then scrub them to remove any sand on the shells.
Bring a separate large pot of salted water to a boil. Add the spaghetti and cook until al dente. Drain and set aside.
While the spaghetti cooks, heat the olive oil in a large skillet with the garlic, shallot, red pepper flakes, a pinch of salt and a few grinds of black pepper. Saute until the shallot and garlic have softened and are golden, 3-4 minutes. Swirl in the butter. When the butter has melted, add the tomatoes and cook for 2 minutes.
Add the clams and wine. Shake the pot, put the cover on and allow to cook until the clams open, about 10 minutes. Sprinkle the basil over the top. Add the spaghetti and stir to coat the pasta with the sauce. Divide into 2 bowls. Serve with crusty bread.
* Discard any clams that are cracked or do not open.