ensure to close db - attempting to resolve data corruption
trim trailing underscore from pedigree name