Was Patrick Murphy a Union Army drummer boy?

I am trying to find out if my great grandfather was a drummer boy in the Union Army during the Civil War. His name was Patrick Dennis Murphy and he was living in Boston. I have a Civil War sword in my possession that I was told belonged to him.