Entering edit mode
3.7 years ago
kumar.vinod81
▴
340
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,
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?