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

Is there support for translation between stable coordinate and segment/local coordinate for GAF? #16

Open
SHuang-Broad opened this issue Dec 12, 2020 · 1 comment
Labels
question Further information is requested

Comments

@SHuang-Broad
Copy link

Hello Heng,

I'm getting myself familiar with the GAF format.
One site of interest to me (an INS onto GRCh38), has several reads with the following column 6 (broken down for easier viewing):

>CHM13#0#chr18:67654357-67665821
<HG02145#2#h2tg000315l:763450-763480
>CHM13#0#chr18:67666067-67666203
>HG00735#1#h1tg000016l:20472026-20472231
>CHM13#0#chr18:67666258-67666722
<HG00621#2#h2tg000001l:12875529-12875687
>CHM13#0#chr18:67666724-67672585
>chr18:67453985-67471633

which translates, by hand (I did it, so there might be errors) to the segment coordinate

>s132736>s132737>s132738>s132739<s204376>s132742>s164264>s164265>s132745>s132746>s132747>s132748<s150020>s132750>s132751>chr18:67453985-67471633

I know that minigraph can output GAF in the second format via --vc.

I am wondering if there's any tool in gfatools that does this translation between the two coordinate systems? This way a sound round of mapping can be avoided.

Thanks!
Steve

@lh3 lh3 added the question Further information is requested label Dec 22, 2020
@lh3
Copy link
Owner

lh3 commented Dec 22, 2020

Sorry for the late response. mgutils.js in minigraph/misc can translate "--vc" output to stable output. However, there are no tools to do the opposite.

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

No branches or pull requests

2 participants