Greetings. I have found that in my particular data set that the most sensitive factor for true variants versus false positives is actually the DP4 (the total number) rather than the QUAL score or depth (DP). Is there a program or little script to filter by the total DP4? Thanks!
Announcement
Collapse
No announcement yet.
X
-
filtering a VCF with javascript
I wrote a tool named vcffilterjs to filter a VCF using a javascript expression: See: https://github.com/lindenb/jvarkit#-...ascript-rhino-
Example:
wth
Code:function accept() { var DP4=variant.getAttribute("DP4"); if(DP4==null || DP4.size()!=4) return false; return DP4.get(0)+DP4.get(1)+DP4.get(2)+DP4.get(3)<10; } accept();
Code:$ curl "https://raw.github.com/CBMi-BiG/snpEff/master/tests/vcf_homo.vcf" | \ java -jar dist/vcffilterjs.jar SCRIPT_FILE=filter.js 2> /dev/null
Code:(...) #CHROM POS ID REF ALT QUAL FILTER INFO FORMAT s_1_ACAGTGA_sort.bam Y 3720217 . A G 8.65 . AC=2;AF1=1;AN=2;CI95=0.5,1;DP=2;DP4=0,0,0,1;FQ=-30;G3=4.415e-15,5.291e-06,1;MQ=38;SF=5 GT:GQ:PL 0/0:61:60,6,0 Y 3721230 . C G 21.80 . AC=2;AF1=1;AN=2;CI95=0.5,1;DP=2;DP4=0,0,0,2;FQ=-33;G3=1.456e-17,8.564e-07,1;MQ=29;SF=3 GT:GQ:PL 1/1:61:60,6,0 Y 3744605 . C A 3.98 . AC=2;AF1=1;AN=2;CI95=0.5,1;DP=2;DP4=0,0,0,2;FQ=-33;G3=1.468e-15,8.599e-07,1;MQ=19;SF=2 GT:GQ:PL 0/0:61:60,6,0 Y 9945223 . ATTT ATTTT 19.80 . AC=4;AF1=1;AN=4;CI95=0.5,1;DP=2;DP4=0,0,0,2;FQ=-40.5;G3=2.906e-18,8.564e-07,1;INDEL;MQ=45;SF=0,2 GT:GQ:PL 1/1:61:60,6,0
Latest Articles
Collapse
-
by seqadmin
The recent pandemic caused worldwide health, economic, and social disruptions with its reverberations still felt today. A key takeaway from this event is the need for accurate and accessible tools for detecting and tracking infectious diseases. Timely identification is essential for early intervention, managing outbreaks, and preventing their spread. This article reviews several valuable tools employed in the detection and surveillance of infectious diseases.
...-
Channel: Articles
11-27-2023, 01:15 PM -
-
by seqadmin
Microbiome research has led to the discovery of important connections to human and environmental health. Sequencing has become a core investigational tool in microbiome research, a subject that we covered during a recent webinar. Our expert speakers shared a number of advancements including improved experimental workflows, research involving transmission dynamics, and invaluable analysis resources. This article recaps their informative presentations, offering insights...-
Channel: Articles
11-09-2023, 07:02 AM -
ad_right_rmr
Collapse
News
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by seqadmin, Today, 09:55 AM
|
0 responses
10 views
0 likes
|
Last Post
by seqadmin
Today, 09:55 AM
|
||
Started by seqadmin, Yesterday, 10:48 AM
|
0 responses
17 views
0 likes
|
Last Post
by seqadmin
Yesterday, 10:48 AM
|
||
Started by seqadmin, 11-29-2023, 08:26 AM
|
0 responses
13 views
0 likes
|
Last Post
by seqadmin
11-29-2023, 08:26 AM
|
||
Started by seqadmin, 11-29-2023, 08:12 AM
|
0 responses
14 views
0 likes
|
Last Post
by seqadmin
11-29-2023, 08:12 AM
|
Comment