Skip to content
Snippets Groups Projects
Commit 34a2759f authored by tjc's avatar tjc
Browse files

AF1 filtered - except for non-variant sites

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@15825 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent 678ee14b
No related branches found
No related tags found
No related merge requests found
......@@ -255,7 +255,8 @@ public class VCFFilter extends JFrame
try
{
if(VCFFilter.MIN_AF1 > 0 && Float.parseFloat(record.getInfoValue("AF1")) < VCFFilter.MIN_AF1)
// AF1 filtered - except for non-variant sites
if((!record.getAlt().isNonVariant()) && VCFFilter.MIN_AF1 > 0 && Float.parseFloat(record.getInfoValue("AF1")) < VCFFilter.MIN_AF1)
return false;
}
catch(NullPointerException npe){}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment