Added ability to filter on the QUAL field
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2135 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
36d493e645
commit
ec321abd7b
|
|
@ -119,7 +119,8 @@ public class VariantFiltrationWalker extends RodWalker<Integer, Integer> {
|
|||
addFilter(filterString, "SnpCluster");
|
||||
|
||||
if ( filterExpression != null ) {
|
||||
Map<String, String> infoMap = context.second.mCurrentRecord.getInfoValues();
|
||||
Map<String, String> infoMap = new HashMap<String, String>(context.second.mCurrentRecord.getInfoValues());
|
||||
infoMap.put("QUAL", String.valueOf(context.second.mCurrentRecord.getQual()));
|
||||
|
||||
JexlContext jContext = JexlHelper.createContext();
|
||||
jContext.setVars(infoMap);
|
||||
|
|
|
|||
Loading…
Reference in New Issue