Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement gVCF merging logic (SNPs only) #80

Open
arostamianfar opened this issue Jan 23, 2018 · 1 comment
Open

Implement gVCF merging logic (SNPs only) #80

arostamianfar opened this issue Jan 23, 2018 · 1 comment

Comments

@arostamianfar
Copy link
Contributor

arostamianfar commented Jan 23, 2018

Currently, the only supported merge strategy is MOVE_TO_CALLS, which only merges samples that have the exact reference_name:start_position:end_position:reference_bases:alternate_bases.

For gVCF files, we like to add 0/0 to samples that don't have a variant. For instance, "sample1" has a non-variant from position 1-100, "sample2" has a variant 1/0 in position 55. We should output a single row at position 55 for both "sample1" and "sample2" that has 0/0 and 1/0 for "sample1" and "sample2", respectively.

We currently have a merging logic for gVCF files (merge_with_non_variants_strategy.py). It can handle non-variants, but needs to be cleaned up and tested further. It also depends on a fix in the intervaltree library (see chaimleib/intervaltree#63).

This task is only for supporting merging SNPs with non-variants.

@pbilling
Copy link

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

2 participants