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

taffy view with a --region SEGVs when stdin as input #62

Open
diekhans opened this issue Jul 16, 2024 · 4 comments
Open

taffy view with a --region SEGVs when stdin as input #62

diekhans opened this issue Jul 16, 2024 · 4 comments

Comments

@diekhans
Copy link

% ./bin/taffy view --region=Anc0refChr0:10-100 < tests/dupe_test.maf
#taf version:1 scoring:N/A
Segmentation fault (core dumped)

It would be useful to be able to select regions from a stream rather than an indexed
taf.

@benedictpaten
Copy link
Collaborator

benedictpaten commented Jul 16, 2024 via email

@diekhans
Copy link
Author

diekhans commented Jul 17, 2024 via email

@glennhickey
Copy link
Contributor

The crash is fixed in #62. Thanks for reporting it.

I guess the other issue is that you want region queries without the index. This is certainly possible and would be analogous to bcftools view -t (where the current taffy view -r matches bcftools view -r), but I don't personally have any plans to implement it anytime soon. In your use case, why not just pull the exact region out of the bigMaf?

@diekhans
Copy link
Author

diekhans commented Jul 17, 2024 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

3 participants