Praise be to Allaah.
There is nothing wrong with raising pigs and rats to carry
out scientific experiments on them, so long as you do not touch the pig
except with a barrier, such as gloves, or you wash your hands after touching
See also the answer to questions no.
And Allah knows best.