title: insert header to a file
body: <p>I would like to hear your directions on how to insert lines of header (all lines in a file) to another file (more bigger, several GB). I prefer the Unix/awk/sed ways of do that job.</p>
  
  <pre><code># header I need to insert to another, they are in a file named "header".
  
  
  ##fileformat=VCFv4.0
  ##fileDate=20090805
  ##source=myImputationProgramV3.1
  ##reference=1000GenomesPilot-NCBI36
  ##phasing=partial
  ##INFO=&lt;ID=NS,Number=1,Type=Integer,Description="Number of Samples With Data"&gt;
  ##INFO=&lt;ID=DP,Number=1,Type=Integer,Description="Total Depth"&gt;
  ##INFO=&lt;ID=AF,Number=.,Type=Float,Description="Allele Frequency"&gt;
  ##INFO=&lt;ID=AA,Number=1,Type=String,Description="Ancestral Allele"&gt;
  ##INFO=&lt;ID=DB,Number=0,Type=Flag,Description="dbSNP membership, build 129"&gt;
  ##INFO=&lt;ID=H2,Number=0,Type=Flag,Description="HapMap2 membership"&gt;
  ##FILTER=&lt;ID=q10,Description="Quality below 10"&gt;
  ##FILTER=&lt;ID=s50,Description="Less than 50% of samples have data"&gt;
  ##FORMAT=&lt;ID=GT,Number=1,Type=String,Description="Genotype"&gt;
  ##FORMAT=&lt;ID=GQ,Number=1,Type=Integer,Description="Genotype Quality"&gt;
  ##FORMAT=&lt;ID=DP,Number=1,Type=Integer,Description="Read Depth"&gt;
  ##FORMAT=&lt;ID=HQ,Number=2,Type=Integer,Description="Haplotype Quality"&gt;
  #CHROM POS     ID        REF ALT    QUAL FILTER INFO 
  </code></pre>