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

Order of samples in family SNV and SV VCFs is different #650

Open
sitems opened this issue Nov 30, 2024 · 1 comment
Open

Order of samples in family SNV and SV VCFs is different #650

sitems opened this issue Nov 30, 2024 · 1 comment

Comments

@sitems
Copy link

sitems commented Nov 30, 2024

I am doing trio analysis, and noticed that the order of sample names in call_sv/genome/${FAM}_sv.vcf.gz and call_snv/genome/${FAM}_snv.vcf.gz is different, what causes small problems in my downstream analyses. It would be great if the order was the same.

@jemten jemten added enhancement Improvement for existing functionality Effort low and removed enhancement Improvement for existing functionality labels Dec 2, 2024
@jemten
Copy link
Collaborator

jemten commented Dec 2, 2024

Thanks for submitting the issue @sitems.
I agree that it would be preferable to have them in the same order and we'll try to fix this in an upcoming release. In the meantime you can reorder the sample columns of your vcf using bcftools view --samples sample1,sample2,sample3 input.vcf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants