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

Pass variant names via the GBWT #741

Open
glennhickey opened this issue Mar 27, 2019 · 2 comments
Open

Pass variant names via the GBWT #741

glennhickey opened this issue Mar 27, 2019 · 2 comments

Comments

@glennhickey
Copy link
Collaborator

There are two ways to look at variation inside SVs

  • Run the calling in something like --recall mode, but turn on graph augmentation. Then compare the insertion sequences that are called back to the input. This is what we did at the hackathon
  • Preserve the paths of SVs from the input VCF to construction. Then run vg as a snp caller on each path. I've got a run going on chr1 for this, by way of hacking vg construct -a to write a normal (instead of alt) path for input variants.

That second option simply does not scale to whole genome, because xg cannot index all the paths from the input vcf. So it's best just to use the GBWT. To that end, we'd need to

  • have an option to write human readable alt sequence names (fairly trivial) provided the input vcf contains unique ids (often the case)
  • input the GBWT to toil-vg call with an option to call on GBWT threads in addition to or instead normal paths
  • input the GBWT to vg call (if possible) so that the path name can get passed into the VCF info field (if not calling on the path directly).

Calling on the SV paths directly allows using different parameters for snps than svs (probably necessary). But doing SVs and nested variation at the same time will have a chance at resolving breakpoints.

@adamnovak
Copy link
Member

adamnovak commented Mar 28, 2019 via email

@glennhickey
Copy link
Collaborator Author

glennhickey commented Mar 28, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants