Added validation on mapper tool value
Refacored tophat command