Changes between Version 1 and Version 2 of VCFAggregateScriptManual


Ignore:
Timestamp:
2014-09-16T19:49:43+02:00 (10 years ago)
Author:
jvelde
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VCFAggregateScriptManual

    v1 v2  
    1 Placeholder
     1= Running the VCF aggregration and de-sampling procedure =
    22
    3 http://sourceforge.net/projects/samtools/files/tabix/
    4 http://vcftools.sourceforge.net/
     3== 1. Install VCFtools and Tabix ==
     4
     5Download and install from: http://sourceforge.net/projects/samtools/files/tabix/ and http://vcftools.sourceforge.net/
     6Tabix needs to be compiled first. (use MAKE )
     7
     8== 2. Add location of VCFtools and Tabix to your path ==
     9
     10E.g. use
     11
     12export PATH=/Volumes/Users/Software/vcftools_0.1.10/bin/:/Volumes/Users/Software/tabix-0.2.6/:${PATH}
     13
     14Or a more permanent option (.bashrc file or so)
     15
     16== 3. Download and install Perl if you don't have it ==
     17
     18Go to: https://www.perl.org/
     19
     20== 4. Download the script and put in folder of choosing ==
    521
    622https://github.com/molgenis/ngs-utils/blob/master/scripts/vcf-fill-gtc.pl
     23
     24
     25= Aggregation procedure =
     26
     27== 1. Merge sample VCFs into one batch VCF ==
     28
     29vcf-merge CAR_*/*.vcf.sorted.filtered.gz | bgzip -c > merged.vcf.gz
     30
     31== 2. Create a summary VCF per batch ==
     32
     33vcf-fill-gtc.pl -vcfi merged.vcf.gz -vcfo stripped.vcf -ss -fv PASS -si -ll INFO > stripped.vcf.log
    734
    835Super important:
     
    1744export PATH=/Volumes/Users/Software/vcftools_0.1.10/bin/:/Volumes/Users/Software/tabix-0.2.6/:${PATH}
    1845
     46== Troubleshooting ==
    1947#
    2048# Prepare sample VCFs for one batch; e.g. CAR_Batch1_106Samples