Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Filtering VCF variants based on sequencing coverage

    Hello:
    I have produced a set of variants using the following pipeline

    Code:
    ## SORT BAM FILE FROM REF MAPPING ##
    samtools sort r.bam" r_sorted"
    ## CREATE LIST OF POTENTIAL SNP OR INDEL ##
    samtools mpileup -uf ref.fa r_sorted.bam > r.bcf
    ## PARSE POTENTIAL SNP OR INDEL USING BAYESIAN INFERENCE ##
    bcftools view -bvcg r.bcf > r2.bcf
    ## BCF FILE IS CONVERTED VIEWABLE FORM ##
    bcftools view r2.bcf > r.vcf
    I want to do a preliminary filtering of the resulting variants based on sequencing depth. So, I have written a short script that does so by using the DP4 values from the FILTER column.

    Code:
    gi|110645304|ref|NC_002516.2|	314283	.	G	T	222	.	DP=67;VDB=0.0384;AF1=1;AC1=2;[B]DP4=0,1,31,27[/B];MQ=58;FQ=-169;PV4=0.47,1,0.37,1	GT:PL:GQ	1/1:255,142,0:99
    In this example I would add the first two values of the DP4 (reference coverage) and make sure that they are low enough. I would also ass the last two values of the DP4 (SNP coverage) and make sure they are not undercovered or overcovered. I guess my question is whether this is an ok approach.

    For more information, I am working with hiseq sequencing data, it is a single sample and it is bacterial whole genome.

    Thanks

Latest Articles

Collapse

  • seqadmin
    Recent Advances in Sequencing Analysis Tools
    by seqadmin


    The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
    05-06-2024, 07:48 AM
  • seqadmin
    Essential Discoveries and Tools in Epitranscriptomics
    by seqadmin




    The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
    04-22-2024, 07:01 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, 05-10-2024, 06:35 AM
0 responses
19 views
0 likes
Last Post seqadmin  
Started by seqadmin, 05-09-2024, 02:46 PM
0 responses
22 views
0 likes
Last Post seqadmin  
Started by seqadmin, 05-07-2024, 06:57 AM
0 responses
21 views
0 likes
Last Post seqadmin  
Started by seqadmin, 05-06-2024, 07:17 AM
0 responses
21 views
0 likes
Last Post seqadmin  
Working...
X