Entering edit mode
6.9 years ago
mayara_salvian
•
0
I have a vcf file and I would like to remove four columns (CHROM,POS,ID,REF). I used the following command to extract these columns of my vcf file, but it's not working.
vcf-subset -c CHROM,POS,ID,REF my.vcf > out.vcf
What else should I add to that command?
if you want to remove headers and first 4 columns:
If you want to retain headers, but remove first 4 columns:
with sed: