Skip to content

Commit 9be5d9a

Browse files
committed
Added feature to intersect VCF and BED
1 parent 1af6be6 commit 9be5d9a

25 files changed

+402
-23
lines changed

.classpath

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
<attribute name="maven.pomderived" value="true"/>
77
</attributes>
88
</classpathentry>
9+
<classpathentry excluding="**" kind="src" output="target/classes" path="resources">
10+
<attributes>
11+
<attribute name="maven.pomderived" value="true"/>
12+
</attributes>
13+
</classpathentry>
914
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
1015
<attributes>
1116
<attribute name="maven.pomderived" value="true"/>

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target/

pom.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656

5757

5858
<build>
59+
5960
<sourceDirectory>src</sourceDirectory>
6061
<resources>
6162
<resource>
@@ -64,6 +65,12 @@
6465
<exclude>**/*.java</exclude>
6566
</excludes>
6667
</resource>
68+
<resource>
69+
<directory>resources</directory>
70+
</resource>
71+
<resource>
72+
<directory>src/main/config</directory>
73+
</resource>
6774
</resources>
6875

6976

@@ -120,7 +127,7 @@
120127
<artifactId>maven-clean-plugin</artifactId>
121128
<version>2.5</version>
122129
</plugin>
123-
130+
124131
<plugin>
125132
<groupId>org.apache.maven.plugins</groupId>
126133
<artifactId>maven-jar-plugin</artifactId>

resources/50Pix.png

1.73 KB
Loading

src/com/psl/automation/main/MainGui.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import java.awt.event.ItemListener;
1414
import java.awt.event.KeyEvent;
1515
import java.io.File;
16+
import java.net.URL;
1617

1718
import javax.swing.BoxLayout;
1819
import javax.swing.ImageIcon;
@@ -36,6 +37,7 @@
3637
import com.psl.automation.panels.CompareVcfPanel;
3738
import com.psl.automation.panels.QCComparePanel;
3839
import com.psl.automation.panels.TsTvMetricsPanel;
40+
import com.psl.automation.panels.VcfBedIntersectionPanel;
3941

4042
public class MainGui implements ActionListener{
4143
//Log4j logger
@@ -56,7 +58,10 @@ public class MainGui implements ActionListener{
5658
public void createUi(){
5759

5860
JFrame mainFrame = new JFrame("MAutomaton");
59-
ImageIcon img = new ImageIcon("C:\\Users\\manojkumar_bhosale\\Desktop\\Logo\\SoftLogo.png");
61+
URL file =
62+
getClass().getClassLoader().getResource("50Pix.png");
63+
ImageIcon img = new ImageIcon(file);
64+
System.out.println(file);
6065
mainFrame.setIconImage(img.getImage());
6166
mainFrame.setSize(500, 300);
6267
mainFrame.setDefaultCloseOperation(mainFrame.EXIT_ON_CLOSE);
@@ -70,11 +75,12 @@ public void createUi(){
7075
BarcodeMetricsPanel bmp = new BarcodeMetricsPanel();
7176
TsTvMetricsPanel tstvp = new TsTvMetricsPanel();
7277
QCComparePanel qcp = new QCComparePanel();
73-
78+
VcfBedIntersectionPanel vbedp = new VcfBedIntersectionPanel();
7479
jtp.addTab("VCF comparator", cvp.createCompareVcfPanel());
7580
jtp.addTab("HS Util", bmp.createFileConfigPanel());
7681
jtp.addTab("VCF Util", tstvp.createVcfUtilPanel());
7782
jtp.addTab("QC compare", qcp.createCompareQcPanel());
83+
jtp.addTab("VCF BED intersect", vbedp.createIntersectVcfPanel());
7884

7985
// /createFileConfigPanel();
8086
//createSortPanel();

0 commit comments

Comments
 (0)