Github.com/aofarrel/vcfhunk

vcfhunk

Examine little parts of a big VCF file. Only useful for debugging and file comparsion on Terra.

Input: Array[File] of vcf.gz files
Output: Bunch of text files printing out certain lines of the file.

Be warned that this will unzip the VCF file.

quick bash version (no tail)

head -n 40 chr6_gdstovcf.vcf > “gdstovcf_head_0040.txt”
sed -n '510’p chr6_gdstovcf.vcf > “gdstovcf_line_0510.txt”
sed -n '511’p chr6_gdstovcf.vcf > “gdstovcf_line_0511.txt”
sed -n '512’p chr6_gdsto


This is a companion discussion topic for the original entry at github.com/aofarrel/vcfhunk