Thank you for your valuable time and suggestion. The perl script is not working in my case because i have two different MSA gene files which are of different lengths (Same organisms in both the file i.e. 45 in total ). The perl script requires files to have equal length of the sequences.
I can do it manually now because i have 2 small file with 45 sp. entries but want to do it in command line so that if required can be done in command line in less time.