#!/usr/bin/perl -w
#
# compare_sequences.pl
# A script to compare two sequences and output the position and base change at each position
#
# janet.higgins@bbsrc.ac.uk, 22/02/2011
#
# Script used to compare the cured A and C versions of the naive reference sequences
# The unigene identifier needs to be the same in both sequences
# can also be used to compare a cured sequence to the naive reference sequence
# Input the sequences to be compare as fasta files
# Outputs a list of the unigene,position within the unigene,and the base in both versions of the sequence at this position
use FileHandle;
# Hashes
my %A=();
my %C=();
# Check arguments
unless(@ARGV == 3) {
print "Usage: compare_sequences.pl