diff --git a/README.md b/README.md index 8c7d220..ecacbb7 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ JASMINE: Jointly Accurate Sv Merging with Intersample Network Edges -Version 1.1.0 +Version 1.1.1 This tool is used to merge structural variants (SVs) across samples. Each sample has a number of SV calls, consisting of position information (chromosome, start, end, length), type and strand information, and a number of other values. Jasmine represents the set of all SVs across samples as a network, and uses a modified minimum spanning forest algorithm to determine the best way of merging the variants such that each merged variants represents a set of analogous variants occurring in different samples. diff --git a/jasmine.jar b/jasmine.jar index 2caad6e..1a06ba0 100644 Binary files a/jasmine.jar and b/jasmine.jar differ diff --git a/jasmine_igv.jar b/jasmine_igv.jar index a28d978..9dbedd0 100644 Binary files a/jasmine_igv.jar and b/jasmine_igv.jar differ diff --git a/jasmine_iris.jar b/jasmine_iris.jar index 4b91ba5..656617e 100644 Binary files a/jasmine_iris.jar and b/jasmine_iris.jar differ diff --git a/src/PipelineManager.java b/src/PipelineManager.java index fd3e33b..a0fc381 100644 --- a/src/PipelineManager.java +++ b/src/PipelineManager.java @@ -11,6 +11,7 @@ import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; +import java.util.HashSet; import java.util.Scanner; public class PipelineManager { @@ -22,14 +23,23 @@ public class PipelineManager { static String convertDuplicationsToInsertions(String fileList) throws Exception { ArrayList vcfFiles = getFilesFromList(fileList); - ArrayList newVcfFiles = new ArrayList(); + ArrayList newVcfFiles = new ArrayList(); + + HashSet basenames = new HashSet(); for(int i = 0; i vcfFiles = getFilesFromList(fileList); ArrayList newVcfFiles = new ArrayList(); + HashSet basenames = new HashSet(); + for(int i = 0; i basenames = new HashSet(); + // Refine one VCF file at a time for(int i = 0; i vcfFiles = getFilesFromList(fileList); ArrayList newVcfFiles = new ArrayList(); - //PrintWriter newFileListOut = new PrintWriter(new File(newFileList)); + HashSet basenames = new HashSet(); for(int i = 0; i