vcf.gz file Modified
1
0
Entering edit mode
3.8 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.

ChIP-Seq • 510 views
ADD COMMENT
1
Entering edit mode
3.8 years ago
gunzip -c in.vcf.gz |  awk -F '\t' '/^#/ {print;next;} {OFS="\t";if($7==".") $7="PASS";print}'
ADD COMMENT

Login before adding your answer.

Traffic: 1948 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6