Changes between Version 27 and Version 28 of SOPs/variant_calling
- Timestamp:
- 10/18/18 12:25:33 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SOPs/variant_calling
v27 v28 80 80 }}} 81 81 82 Summarize variant statistics for each sample (with 'bcftools stats') and plot them. 83 {{{ 84 bcftools stats -F <ref.fa> -s - <results.vcf> > <results.vcf.stats.txt> 85 plot-vcfstats -p vcfstats <results.vcf.stats.txt> 86 }}} 87 82 88 Prepare file of known SNPs for use with vcf-annotate. 83 89 Start with tab-delimited file (ex: SNP137.bed) that looks like … … 132 138 }}} 133 139 140 == Create a consensus sequence by applying VCF variants to a reference genome file == 141 142 {{{ 143 bgzip All_samples.variants.withTags.vcf 144 tabix -p vcf All_samples.variants.withTags.vcf.gz 145 samtools faidx Ref_genome.fa chr1:1-1000 | bcftools consensus All_samples.variants.withTags.vcf.gz > chr1_1_1000.consensus.fa 146 }}} 134 147 135 148 == Original page ==