Changes between Version 27 and Version 28 of SOPs/variant_calling


Ignore:
Timestamp:
10/18/18 12:25:33 (6 years ago)
Author:
gbell
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SOPs/variant_calling

    v27 v28  
    8080}}}
    8181
     82Summarize variant statistics for each sample (with 'bcftools stats') and plot them.
     83{{{
     84bcftools stats -F <ref.fa> -s - <results.vcf> > <results.vcf.stats.txt>
     85plot-vcfstats -p vcfstats <results.vcf.stats.txt>
     86}}}
     87
    8288Prepare file of known SNPs for use with vcf-annotate.
    8389Start with tab-delimited file (ex: SNP137.bed) that looks like
     
    132138}}}
    133139
     140== Create a consensus sequence by applying VCF variants to a reference genome file ==
     141
     142{{{
     143bgzip All_samples.variants.withTags.vcf
     144tabix -p vcf All_samples.variants.withTags.vcf.gz
     145samtools faidx Ref_genome.fa chr1:1-1000 | bcftools consensus All_samples.variants.withTags.vcf.gz > chr1_1_1000.consensus.fa
     146}}}
    134147
    135148== Original page ==