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

halExtract --root makes corrupt output #263

Open
glennhickey opened this issue Feb 17, 2023 · 0 comments
Open

halExtract --root makes corrupt output #263

glennhickey opened this issue Feb 17, 2023 · 0 comments

Comments

@glennhickey
Copy link
Collaborator

This was raised here: ComparativeGenomicsToolkit/cactus#933

And it's easy enough to reproduce

halExtract evolverMammals.hal --root Anc1 Anc1.hal --inMemory
hal2maf Anc1.hal Anc1.maf --inMemory
<segfault>

The file can be repaired with another extract (!)

halExtract Anc1.hal Anc1.fix.hal --inMemory
hal2maf Anc1.fix.hal Anc1.maf --inMemory
<works!>

So the --root cutting option of halExtract must be forgetting to update a link somehwere.

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

1 participant