Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Make optional to merge non same overlappings variants in MongoDB #574
When loading variants into one database, we may find two types of overlapping variants: Variants from different files that are in the same position with same reference and alternate (same variant), and variants that are not same but overlapping.
With the two steps load #288 we started merging variants that were just overlapping, and not just the same variant. This nice feature has been working well, but it may be unneeded or unwanted in some scenarios. It also increases the loading time and final database size.
If this merge is not needed, load may be faster, and we can filter out much of the documents from the first collection.
To upgrade from OpenCGA 1.0.x to 1.1.0, this migration script must be executed for all Variant databases.