a ruby script for parsing snp matrices into postgres