From 502c9947affde62f81ef50cfbb7aa37b030f2b71 Mon Sep 17 00:00:00 2001 From: Yunfei Guo Date: Fri, 20 Jan 2017 13:41:24 -0800 Subject: [PATCH 1/2] rm unused code --- .../bina/varsim/tools/simulation/RandVCFgenerator.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/main/java/com/bina/varsim/tools/simulation/RandVCFgenerator.java b/src/main/java/com/bina/varsim/tools/simulation/RandVCFgenerator.java index 8f62c0de..4067541d 100644 --- a/src/main/java/com/bina/varsim/tools/simulation/RandVCFgenerator.java +++ b/src/main/java/com/bina/varsim/tools/simulation/RandVCFgenerator.java @@ -144,15 +144,6 @@ public void outputVcfRecord(BufferedWriter bw, Variant var, int geno0, int geno1 throws IOException { //skip checking because it does not apparently harm to output nonATCGN ref and alt alleles - /* - // ignore ACTGN - String ref = var.getReferenceString().toUpperCase(); - String alt = var.alternativeAlleleString().toUpperCase(); - - if (!ref.matches("[ACTGN]*") || (!var.isAltACTGN())) { - return; // don't output if it is not ACTGN - } - */ bw.write(var.toString(geno0, geno1)); bw.newLine(); } From 94f4e057fcbb156ccd66f8172d9d1e8c0425b692 Mon Sep 17 00:00:00 2001 From: Yunfei Guo Date: Fri, 20 Jan 2017 13:41:40 -0800 Subject: [PATCH 2/2] update pom for release --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index aa7c598e..f3be11bb 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.bina.varsim varsim - 0.7.2 + 0.7.3 jar varsim