extract specific column vcf file code example
Example: bash view specific columns from vcf file
# Example usage using sed:
sed -n '/#/!p' input.vcf | cut -f 1,2,9,10 | less
# Sed removes the header info and then pipes to cut, which selects
# specific fields/columns to load