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
    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
  • seqadmin
    Current Approaches to Protein Sequencing
    by seqadmin


    Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
    04-04-2024, 04:25 PM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, Yesterday, 08:47 AM
0 responses
14 views
0 likes
Last Post seqadmin  
Started by seqadmin, 04-11-2024, 12:08 PM
0 responses
60 views
0 likes
Last Post seqadmin  
Started by seqadmin, 04-10-2024, 10:19 PM
0 responses
60 views
0 likes
Last Post seqadmin  
Started by seqadmin, 04-10-2024, 09:21 AM
0 responses
54 views
0 likes
Last Post seqadmin  
Working...
X