[go: nahoru, domu]

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

Phased genotype in the VCF #9

Closed
bsb2014 opened this issue Aug 22, 2023 · 1 comment
Closed

Phased genotype in the VCF #9

bsb2014 opened this issue Aug 22, 2023 · 1 comment

Comments

@bsb2014
Copy link
bsb2014 commented Aug 22, 2023

Hi there

I assembled several human genomes, mapped their short reads to their de novo assemblies, called snps, and phased them using long reads. Because the references are different, I would like to convert vcf to the same reference gh38. Is it possible to use the transanno for that?

I saw the transanno can swap ref/alt. I am wondering if it also swaps the phased genotypes? such as 0|1 to 1|0 due to the ref swap.

Thanks

@bsb2014
Copy link
Author
bsb2014 commented Aug 24, 2023

I think transanno will do.

"rewrite allele frequency, INFO tags, FORMAT tags and a GT tag if REF and ALT columns are swapped."

@bsb2014 bsb2014 closed this as completed Aug 24, 2023
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