BasePlayer for genetic data analysis
Go to https://baseplayer.fi for more information about the software. Download BasePlayer package with executable jar file or operating system specific installers from https://baseplayer.fi/downloads.html.
Build instructions for developers:
Build instructions using Eclipse Oxygen IDE (https://www.eclipse.org/oxygen/):
Clone or download/unzip the BasePlayer git (project https://github.com/rkataine/BasePlayer.git) to your computer to any folder (in this example we use /BasePlayer/).
Open Eclipse and create and launch new Workspace as prompted.
Create new Java project (File -> New -> Java Project).
Set project name e.g. BasePlayer and uncheck "Use default location". Set your BasePlayer folder (/BasePlayer/ in this case) as a project location. Press "Finish".
In "Package Explorer", expand BasePlayer -> src -> base.BasePlayer and double click Main.java.
Go to Run -> Run as -> Java Application (BasePlayer should start).
To create executable JAR file, go to File -> Export -> Java, select "Runnable JAR file" and press Next.
Use "Main - BasePlayer" as a Launch configuration and your BasePlayer folder (/BasePlayer/ in this case) as an Export destination.
Press "Finish" and executable JAR file will be created to your BasePlayer folder.
Double-click BasePlayer.jar to start the program or type java -jar BasePlayer.jar in the /baseplayer/ folder
Build instructions for command line (linux):
Download and install Java SE Development kit 8 or newer at http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html and add it to your environment path
Clone or download/unzip the BasePlayer git (project https://github.com/rkataine/BasePlayer.git) to your computer to any folder (in this example we use /BasePlayer/).
Goto /BasePlayer/src directory and unpack all JAR files from /BasePlayer/jars to this folder:
jar -xvf ../jars/commons-compress-1.17.jar jar -xvf ../jars/commons-io-2.4.jar jar -xvf ../jars/htsjdk.jar jar -xvf ../jars/WigReader.jar jar -xvf ../jars/commons-net-3.5.jar
Stay in /BasePlayer/src folder and compile java-files and copy external JAR folders using the following commands (you can ignore possible warnings or notes):
javac -cp ./base/BasePlayer/*.java -d ../build -classpath . cp -R ./base/BBfile/ ../build/base/ mv htsjdk/ org/ ../build/
Go back to /BasePlayer/ folder and copy resource folders to build folder:
cp -R ./src/base/BasePlayer/SELEX/ ./src/base/BasePlayer/icons/ ./build/base/BasePlayer/
Create executable BasePlayer.jar by using following command in /BasePlayer/ folder:
jar cvfm BasePlayer.jar ./build/META-INF/MANIFEST.MF -C ./build .
Double-click BasePlayer.jar to start the program or type java -jar BasePlayer.jar in the /baseplayer/ folder