moved the file writing to the PercentCoverage script so that only the logic is in Subfunctions.pm
align_contigs does pretty much the same thing as PercentCoverage, but is specifically supposed to align contigs to a reference.
Merge pull request #81 from juliema/align_contigs

Align contigs