How do you launch a spike?
Solution 1:
The other answer is (edit: was) incorrect. Space will split your cells into half, and when these cells go over the virus they will just split more, not feed the virus.
To launch a virus, you should hover your mouse in the direction of the virus (careful not to run into it) and spam W. This will spew out tiny food parts from your cell which will feed the virus.
When the virus gets big enough from being fed, it will split into 2 smaller viruses, shooting out in the opposite direction to where the last food part got absorbed.
Keeping away from viruses is the best way to avoid this. You can also counter-feed the virus in the opposite direction, hoping feed it last before it splits and thus firing the virus towards the person attempting to split you.
Solution 2:
Feed the spikes your own mass until it pops to send out spurs. The key for feeding is W. The spur will shoot out the direction you fed, so if you fed from the left, the spur will shoot out right.
You can't really avoid them if they hit you point blank... but if you keep your distance and are smaller you could probably maneuver around them.