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 -->
|
||||
<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"/>
|
||||
|
||||
<!-- 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());
|
||||
}
|
||||
|
||||
return combineVariants(vcs);
|
||||
return combineMongoVariants(vcs);
|
||||
}
|
||||
|
||||
// Copied from CombineVariants
|
||||
private Collection<VariantContext> combineVariants(Collection<VariantContext> vcs) {
|
||||
private Collection<VariantContext> combineMongoVariants(Collection<VariantContext> vcs) {
|
||||
if (vcs.size() < 2)
|
||||
return vcs;
|
||||
|
||||
|
|
@ -822,8 +822,10 @@ public class SelectVariants extends RodWalker<Integer, Integer> implements TreeR
|
|||
}
|
||||
|
||||
public void onTraversalDone(Integer result) {
|
||||
MongoDB.close();
|
||||
|
||||
if (mongoOn) {
|
||||
MongoDB.close();
|
||||
}
|
||||
|
||||
logger.info(result + " records processed.");
|
||||
|
||||
if (SELECT_RANDOM_NUMBER) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue