Hi Mike,
Rather than duplicate effort here, I'd suggest that you go see the tutorial video on Transpositions to help you understand some of the issues that go along with scoring for transposing instruments, and how to handle those when you find them in MIDI files.
You can find that at the
Transpositions Tutorial Video page.
Enjoy
Sherry