Relativistic explanation of attraction between two parallel currents This has been answered a lot of times, and I have been reading about it on many websites, including PSE, but I still don't get it. So please don't mark it as a duplicate unless it really is one.
Two parallel wires at rest don't attract or repel each other because both of them have roughly the same amount of electrons and protons, so their net charges are mostly zero.
If there's a current (in both wires, same direction), the attraction between the wires can be calculated


*

*using Ampère's force law

*using the Maxwell equations (the current creates a magnetic field)

*using Special Relativity


I want to understand the third case.
Take the reference frame of the moving electrons. Due to relativistic length contraction, the protons get closer together, so the number of protons per length unit is higher than that of the electrons. So far so good.
At this point, all answers to this question just go like

Because wire 2 has more protons than electrons (per length unit), the electrons in wire 1 are attracted to wire 2, so the two wires attract each other.

But wire 1 has more protons too! Both wires become effectively positively charged due to the movement of the electrons. Because both wires are positively charged, they should repel each other.
Yes the electrons in wire 1 are attracted to wire 2 because of wire 2's net positive charge. But the protons in wire 1 are repelled from wire 2 because of the same reason. And there are more protons (per unit length) in wire 1, so the repellent force is stronger than the attraction.
So, again: Why do the wires attract each other?
EDIT: Maybe it has to do with the fact that the electrons can "re-arrange" themselves to counterbalance the positive charge? But then both wires would again have zero net charge.
EDIT 2: Here are some PSE posts and websites that try to answer this question:
Relativity and Current in Wire
https://www.physicsforums.com/threads/why-do-two-wires-with-currents-in-the-same-direction-attract.454353/ (multiple answers)
https://www.quora.com/Why-do-two-wires-with-current-flowing-in-the-same-direction-attract-each-other-and-two-wires-with-current-flowing-in-opposite-direction-repel (first answer)
However, as I said, they don't go into my interpretation that both wires should have the same net charge and thus should repel each other.
 A: As far as your comment goes, you mean there is an absolute symmetry between the 2 wires. Maybe, but one thing I must tell you that when you are considering the electrons in WIRE 1, the relativistic effects will be as follows:


*

*The electrons in their reference frame will consider the protons IN WIRE 2 to be in motion.

*Then due to relativistic length contraction, the electrons will observe that WIRE 2 has a higher positive charge density. So the electrons will face more Coulombic attraction from the WIRE 2 than repulsion from the electrons in that wire.

*Most importantly, where I think you are going wrong, the electrons in WIRE 1 will NEVER see the protons in WIRE 1 to be MORE as you say. That is, electrons in WIRE 1 will see that WIRE 2 has a higher positive charge density than WIRE 1 always due to special relativity and nothing else. On the other hand, in a similar fashion, electrons in WIRE 2 will see that WIRE 1 has a higher positive charge density than WIRE 2 always due to special relativity and nothing else.


Hope your doubt has been resolved.
A: I realize this post is a bit old, but I had this exact same question for quite a long time and never dedicated any time to figuring it out until now.  I'd like to take a stab at explaining the discrepancy you've identified (which is the same issue I'd been having).  Disclaimer: I'm not a physicist but only an electrical engineer with limited education in physics.
First, the electric and magnetic fields are different sides of the same coin, as seen from different reference frames.  I won't go into detail, but there is a "legit" reference here from the University of Virginia.
Perhaps the results in some examples can have the forces be cleanly divided by magnetic or electric fields based on the reference frame you're considering, while in other cases, such as the one you brought up, both forces are needed to explain the phenomenon in certain frames.  
I realize this conclusion may conflict with @SchrodingersCat's, but as I understand it, if you want to look at the problem from the electron frame of wire 1, you will in fact see an increased positive charge density in wire 1 as well as wire 2, and the repulsive Coulombic electric field force applies.  
If you then consider, in the same reference frame, the magnetic field observed by the motion of the positive charges in wire 1 and 2, you can explain an attractive force due to motion of charge coupled with magnetism.  I assume the result of a net attractive force can be explained by the math, where the magnetic effects overcome the electric for the electron frame of reference - but alas that calculation is beyond me.
Again, I'm not an expert, so if someone sees a flaw in my explanation then please correct me! 
A: This argument is often used to support the idea that magnetism is a relativistic effect. However, it only works for parallel currents. The currents must also be carried by identical charges moving at the same as speed in the same direction. The positive background is a complication. My opinion is that this argument is only confusing. 
A: This may be oversimplifying things... but if you are moving in the frame of reference of the electrons, the (counterbalancing) positive charges (lattice) will appear to be moving the other way. This is in effect a positive current in the opposite direction, providing the same force as before. No relativity required there.
You may need to adjust your question to address "electrons in free space" if you want to get past that point.
A: "Riding on an electron of Wire 1" you see the prevalence of positive charge on Wire 2. More positive charge there, per unit length, due to Lorentz contraction. So YOUR electron, the one you ride on, get's attracted. This is as it should be.
You do not worry, riding on your electron, what the positive charges on your wire (Wire 1) see themselves. YOU are attracted to Wire 2. To check from OUTSIDE, moving frame of reference,  what forces are "felt" by positive charges in your wire, you have to use full EM theory. ALTERNATIVELY, you switch to a point of view (frame of reference) of a positive charge on your wire. Then you feel the attraction again.
