Fix to not miss last sequence in file
Fixing dereplicate option
Merge pull request #223 from jaredbischof/master

Fixing bugs.