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

Giraffe integration for haplotype sampling #4053

Merged
merged 5 commits into from
Aug 15, 2023
Merged

Conversation

jltsiren
Copy link
Contributor

Changelog Entry

To be copied to the draft changelog by merger:

  • Giraffe can do haplotype sampling automatically if sufficient inputs are provided.
  • Simplified vg giraffe command line help; full list of options is still available with -h.

Description

vg giraffe runs haplotype sampling with the default options and --include-reference if it is given a GBZ graph, the corresponding haplotype information (with --haplotype-name) and kmer counts for the reads (with --kff-name). Names for the sample-specific graph/index files are based on the name of the input graph and basename of the KFF file. This can be overridden with options --index-basename and -N / --sample.

There is also a better kmer coverage estimation heuristic. If the most common kmer count above 1 is below median, the secondary peak close to 2x that will be used as the estimate.

I also changed the vg giraffe command line help to show only the most important options by default. The full help with all options is still available with -h.

@jltsiren jltsiren merged commit a5b6b30 into master Aug 15, 2023
2 checks passed
@jltsiren jltsiren deleted the giraffe-integration branch August 15, 2023 13:24
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

Successfully merging this pull request may close these issues.

2 participants