Entering edit mode
9.2 years ago
xinhui.wang
▴
550
I am running vcftool on multi vcf documents. I could run vcftools with one vcf document and how could I run with a list of vcf documents?
Actually I would like to generate a ped file with many vcf input file. I tried
ls *vcf | xargs vcf-merge > merged.vcf
However, it could not work with an error message as
exited with status 255; abortingxargs: vcf-merge
In bioinfo data processing, xargs is often safer and more convenient than for loops.
I agree. The for loop suggestion was before OP added details.