So some guy got upset on another thread because the game forced him to wipe out either the BOS or the railroad, and he felt that it was a moral choice he wouldn't make. I can't find the thread which is why I'm starting a new one.
Just want to point out to him or anyone else that if you don't want to kill off your friends then you can finish the game as the minutemen without doing so.
1) Get kicked out of the institute. You can do this early on by killing father then escaping the institute. Or at the latest you can play the institute up to the battle of bunker hill, but you have to kill the Coursor and free the Synths and in the subsequent conversation with father pick choices in the conversation that results in him kicking you out.
2) Don't get too far in the BOS or railroad main quests. Don't do underground undercover or blind betrayl.
3) After you wipe out the institute you're still good with the BOS, you can also talk to people in the railroad besides Desdemona. If you talk to Desdemona though she will flip out at you for wiping out all the Synths and everyone in the railroad will attack you.
So hope that makes people who don't want to kill off a fraction other than the institute happy.