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

hal2chain for faster halLiftover #193

Open
badoi opened this issue Feb 15, 2021 · 5 comments
Open

hal2chain for faster halLiftover #193

badoi opened this issue Feb 15, 2021 · 5 comments
Assignees

Comments

@badoi
Copy link

badoi commented Feb 15, 2021

I saw that the hal2chain tool was shelved. Is it possible to make a chain based on the hal file to speed up cross-species alignment? This would provide a cross-species chain that would be faster than halLiftover which requires querying the hal file and bottlenecks simultaneous liftOvers. And if this chain works w/ the liftOver tool in place of the pairwise alignments, then that could work quite well with current tools that work w/ liftOver.

Current scenario:

halLiftover file.hal sourceSpeices input.bed targetSpecies output.bed

Example scenario:

hal2chain file.hal sourceSpeices targetSpecies > hal.sourceSpeicesToTargetSpecies.chain.gz
liftOver input.bed hal.sourceSpeicesToTargetSpecies.chain.gz output.bed unlifted.bed
@diekhans
Copy link
Collaborator

diekhans commented Feb 15, 2021 via email

@badoi
Copy link
Author

badoi commented Feb 15, 2021

Thanks Mark! I'll test drive this chain building tool. Will get back to you on it.

@DustinSokolowski
Copy link

Hey @diekhans

This script works great to make a chain file compatible with transmap but it's actually backward for the normal convention.

So for normal liftOver or other tools (e.g., TOGA) the source species needs to be switched.

Best!
Dustin

@diekhans
Copy link
Collaborator

diekhans commented May 16, 2023 via email

@diekhans diekhans self-assigned this May 16, 2023
@DustinSokolowski
Copy link

Hey!

It works great! I figured it would be good to put this here for anyone else getting weird results. and wondering what could be up.

Dustin

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