Small clarification regarding --minPosterior option

28 views
Skip to first unread message

Venitha Bernard

unread,
Jul 24, 2019, 7:13:56 AM7/24/19
to Platypus Users
Hello.

I would like to filter variants while running Platypus based on QUAL and DP. I have two sets of samples. I want to filter one with QUAL >= 20 and DP >= 20 and the other one as QUAL >= 60 and DP >= 7

I am confused whether or not to use the --minPosterior option. Is it actually the same as the phred-scaled genotype posterior probabilities GP/PP? Or is it just filtering based on QUAL? 

I also noticed that variants with QUAL less than 20 by default fail the Q20 filter. Would you advice changing this parameter in the script manually?

Andy Rimmer

unread,
Jul 24, 2019, 8:02:38 AM7/24/19
to Venitha Bernard, Platypus Users
Hi,

the --minPosterior threshold determines which variants are output to the VCS. Anything with PP < minPosterior will not be included in the VCF. The value used is the QUAL value.

It's probably easier to filter on QUAL and DP from the VCF, rather than setting parameters in Platypus. 

Kind regards,
Andy


--
You received this message because you are subscribed to the Google Groups "Platypus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to platypus-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/platypus-users/be2512e1-7141-41e1-8821-205dad5539d8%40googlegroups.com.


--
Dr Andrew (Andy) Rimmer
Reply all
Reply to author
Forward
Message has been deleted
0 new messages