in reply to Compare fasta files

At first glance:-

Further points:-

They may be other problems but clear up the ones above and the debugging task will get smaller.

Update: OP added code tags, fixed some of the subscripting problems and indented code while I was posting so much of my advice is moot.

Cheers,

JohnGG

Replies are listed 'Best First'.
Re^2: Compare fasta files
by davido (Cardinal) on Nov 20, 2016 at 00:17 UTC

    Update: OP added code tags and indented code while I was posting so my advice to indent code is moot.

    Not quite. One of the Janitors fixed the formatting, adding code tags and paragraph or br tags to make what your browser renders appear more like what the OP seemed to intend. In so doing, it was also necessary to remove </ ... >, which was inexplicably wrapping every line of code. In the "edit" mode one can see how text was entered, making it possible, though often labor intensive to decipher and restore original intent.


    Dave