Entering edit mode
3.7 years ago
sskimvd
•
0
Hello The filter column in the vcf.gz file is all "." Is there a way to replace "." with "PASS"? Thank you.
Hello The filter column in the vcf.gz file is all "." Is there a way to replace "." with "PASS"? Thank you.
gunzip -c in.vcf.gz | awk -F '\t' '/^#/ {print;next;} {OFS="\t";if($7==".") $7="PASS";print}'
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.