apriha/snps

Add `SNPs.merge` method

Closed this issue · 0 comments

To simplify merging SNPs, add a merge method to the SNPs class, and in the process obsolete the SNPsCollection class. The merge method should accept an iterable of SNPs objects. In this manner, SNPs objects can be merged after the fact, vs. requiring a SNPsCollection from the beginning to merge SNPs.

Similar functionality to SNPsCollection should be provided, such as sorting SNPs after the merge and identifying discrepant genotypes and positions.

Properties of the SNPs objects will need to be merged and behavior defined (e.g., source, build, discrepant_XY_snps, etc.).