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

One unitig is unexpectedly missing after HiC phasing #159

Open
zhangrengang opened this issue Jul 26, 2021 · 11 comments
Open

One unitig is unexpectedly missing after HiC phasing #159

zhangrengang opened this issue Jul 26, 2021 · 11 comments

Comments

@zhangrengang
Copy link

The below is a unitig graph: the unitigs A and B is allelic (confirmed by aligning to reference). After HiC phasing, unitig A is in hic.hap2.p_ctg, but unitig B is missing in hic.hap1.p_ctg.
360截图1674010985115114

The following is the corresponding HiC heatmap:
360截图16740117171547

By the way, some switch errors are observed, but they can be corrected manually.

@chhylp123
Copy link
Owner

It is possible... how long of A and B?

@zhangrengang
Copy link
Author

About 1M bp.

@zhangrengang
Copy link
Author

In total, two issues of this type are observed in my assembly: one is ~1 Mbp (the above) and the other is ~400 Kbp. The 400kb is somewhat different as follows: the unitig C seems to be homozygous; it is in hap1 but not in hap2 after HiC phasing.
360截图17571118107135135
360截图17401210488969

@chhylp123
Copy link
Owner

Thanks. Can you also find unitig B in hap2?

@zhangrengang
Copy link
Author

No. I combine hap1 and hap2 in HiC heatmap, so it will be present in the heatmap if it is in either haps.

@chhylp123
Copy link
Owner

It is interesting. Is this possible that you can share the bin file with us for debugging?

@zhangrengang
Copy link
Author

I am sorry that the data is not my own, so I can not share.

@chhylp123
Copy link
Owner

I see. Thanks for reporting this issue.

@chhylp123
Copy link
Owner

Could you please have a try with the current release (https://github.com/chhylp123/hifiasm/releases/tag/0.16.1)? I guess it should be able to resolve this issue.

@zhangrengang
Copy link
Author

Thanks. I have tried and the missed unitig is present this time.

@chhylp123
Copy link
Owner

Thanks a lot!

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

2 participants