def compareSequences(getExactSubmatches, imgfile, imgsize, afile, bfile, k, m): a = kfasta.FastaSequence(afile) b = kfasta.FastaSequence(bfile) matches = getExactSubmatches(a, b, k, m) buildComparisonImage(imgfile, imgsize[0], imgsize[1], kfasta.getSequenceLength(afile), kfasta.getSequenceLength(bfile), matches)
def compareSequences(getExactSubmatches, imgfile, imgsize, afile, bfile, k, m): a = kfasta.FastaSequence(afile) b = kfasta.FastaSequence(bfile) matches = getExactSubmatches(a, b, k, m) buildComparisonImage( imgfile, imgsize[0], imgsize[1], kfasta.getSequenceLength(afile), kfasta.getSequenceLength(bfile), matches )