Changes between Version 1 and Version 2 of VCFAggregateScriptManual
- Timestamp:
- 2014-09-16T19:49:43+02:00 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VCFAggregateScriptManual
v1 v2 1 Placeholder 1 = Running the VCF aggregration and de-sampling procedure = 2 2 3 http://sourceforge.net/projects/samtools/files/tabix/ 4 http://vcftools.sourceforge.net/ 3 == 1. Install VCFtools and Tabix == 4 5 Download and install from: http://sourceforge.net/projects/samtools/files/tabix/ and http://vcftools.sourceforge.net/ 6 Tabix needs to be compiled first. (use MAKE ) 7 8 == 2. Add location of VCFtools and Tabix to your path == 9 10 E.g. use 11 12 export PATH=/Volumes/Users/Software/vcftools_0.1.10/bin/:/Volumes/Users/Software/tabix-0.2.6/:${PATH} 13 14 Or a more permanent option (.bashrc file or so) 15 16 == 3. Download and install Perl if you don't have it == 17 18 Go to: https://www.perl.org/ 19 20 == 4. Download the script and put in folder of choosing == 5 21 6 22 https://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 29 vcf-merge CAR_*/*.vcf.sorted.filtered.gz | bgzip -c > merged.vcf.gz 30 31 == 2. Create a summary VCF per batch == 32 33 vcf-fill-gtc.pl -vcfi merged.vcf.gz -vcfo stripped.vcf -ss -fv PASS -si -ll INFO > stripped.vcf.log 7 34 8 35 Super important: … … 17 44 export PATH=/Volumes/Users/Software/vcftools_0.1.10/bin/:/Volumes/Users/Software/tabix-0.2.6/:${PATH} 18 45 46 == Troubleshooting == 19 47 # 20 48 # Prepare sample VCFs for one batch; e.g. CAR_Batch1_106Samples