Minor cleanup before push
This commit is contained in:
parent
b101b9c30b
commit
aa4d41cce0
2
ivy.xml
2
ivy.xml
|
|
@ -100,7 +100,7 @@
|
||||||
<!-- snpEff annotator for pipelines -->
|
<!-- snpEff annotator for pipelines -->
|
||||||
<dependency org="net.sf.snpeff" name="snpeff" rev="2.0.5" />
|
<dependency org="net.sf.snpeff" name="snpeff" rev="2.0.5" />
|
||||||
|
|
||||||
<!-- mongoDB for Bjorn experiments -->
|
<!-- MongoDB for Bjorn -->
|
||||||
<dependency org="org.mongodb" name="mongo-java-driver" rev="2.7.3"/>
|
<dependency org="org.mongodb" name="mongo-java-driver" rev="2.7.3"/>
|
||||||
|
|
||||||
<!-- Exclude dependencies on sun libraries where the downloads aren't available but included in the jvm. -->
|
<!-- Exclude dependencies on sun libraries where the downloads aren't available but included in the jvm. -->
|
||||||
|
|
|
||||||
|
|
@ -660,11 +660,11 @@ public class SelectVariants extends RodWalker<Integer, Integer> implements TreeR
|
||||||
vcs.add(builder.make());
|
vcs.add(builder.make());
|
||||||
}
|
}
|
||||||
|
|
||||||
return combineVariants(vcs);
|
return combineMongoVariants(vcs);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Copied from CombineVariants
|
// Copied from CombineVariants
|
||||||
private Collection<VariantContext> combineVariants(Collection<VariantContext> vcs) {
|
private Collection<VariantContext> combineMongoVariants(Collection<VariantContext> vcs) {
|
||||||
if (vcs.size() < 2)
|
if (vcs.size() < 2)
|
||||||
return vcs;
|
return vcs;
|
||||||
|
|
||||||
|
|
@ -822,7 +822,9 @@ public class SelectVariants extends RodWalker<Integer, Integer> implements TreeR
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onTraversalDone(Integer result) {
|
public void onTraversalDone(Integer result) {
|
||||||
|
if (mongoOn) {
|
||||||
MongoDB.close();
|
MongoDB.close();
|
||||||
|
}
|
||||||
|
|
||||||
logger.info(result + " records processed.");
|
logger.info(result + " records processed.");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue