I must say I didn't know about these events.
Check it on Wikipedia. You have two main samurai vs westerners confrontations :
- The aforementioned Shimonoseki Straits crisis (France, Britain, the Netherlands and USA against Chosu clan)
- The British bombardment of Kagoshima
Aside from that, several french advisors joined the shogunate army during the Boshin War. A Spanish and several Russian war vessel also called port during that time but they were on far more friendly terms