Bug fix for VariantsToTable with filtered records

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4673 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
depristo 2010-11-15 13:49:16 +00:00
parent d76b87d6e3
commit 8d66637fc2
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ public class VariantsToTable extends RodWalker<Integer, Integer> {
if ( ++nRecords < MAX_RECORDS || MAX_RECORDS == -1 ) {
Collection<VariantContext> vcs = tracker.getAllVariantContexts(ref, context.getLocation());
for ( VariantContext vc : vcs) {
if ( ! ignoreMultiAllelic || vc.isBiallelic() || ( showFiltered || ! vc.isNotFiltered() ) ) {
if ( ! ignoreMultiAllelic || vc.isBiallelic() || ( showFiltered || vc.isNotFiltered() ) ) {
List<String> vals = extractFields(vc, fieldsToTake);
out.println(Utils.join("\t", vals));