Segmentation fault in bcftools while changing the sample names
Hi, Actually I've a .vcf file containing 800 samples but the sample's names in the file are very long so I want to change them with a new file containing the new name in a txt file with following command:
bcftools reheader --samples sample_id.txt filtered_uncomp.vcf -o filtered_name_changed.vcf
but it return the following
Segmentation fault
Sample name are saved in a .txt file with one sample name in each line.
Any suggestion!
Thanks,
• 2,876 views
•
link
1 answer
Thanks all, actually there was a white space in one of the names in sample_id.txt, I removed it and it worked fine. Even I tried to remove the post just after 5 minutes of posting it but I could not find a delete button. Thanks,
• 0 views
•
link
Log in to answer this question.
try renaming fewer (or even a single sample first) - see how that works out, if it does work then one of you names causes problems and will need to find which
what's the version of bcftools ?
please try reorder arguments to see if it works?