Finally, the logic is right

git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4674 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
depristo 2010-11-15 14:02:09 +00:00
parent 8d66637fc2
commit 7a3a464959
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));