Skip to content

Commit

Permalink
Initial Commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
drivenbyentropy committed Aug 23, 2017
1 parent ab1a67f commit 0c100b8
Show file tree
Hide file tree
Showing 30 changed files with 17,370 additions and 0 deletions.
45 changes: 45 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>rnafold4j</groupId>
<artifactId>rnafold4j</artifactId>
<version>0.0.1-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<id>RNAFold4J</id>
<configuration>
<appendAssemblyId>false</appendAssemblyId>
<finalName>rnafold4j</finalName>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>rnafold4j.RNAFold</mainClass>
</manifest>
</archive>
</configuration>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
</dependency>
</dependencies>



</project>
17 changes: 17 additions & 0 deletions src/main/java/rnafold4j/BondT.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
*
*/
package rnafold4j;

/**
* @author Jan Hoinka
*
* RNAFold4j is a port of RNAFold to Java. RNAFold is implemented and developed by Ivo L Hofacker et al.
* as part of the ViennaRNA package v 1.8.5. All intellectual credits of this work
* go to the original authors and the Institute for Theoretical Chemistry of the
* University of Vienna. My only contribution is the adaptation of the C source code to Java.
*/
public class BondT {
public int i;
public int j;
}
19 changes: 19 additions & 0 deletions src/main/java/rnafold4j/CentroidData.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
*
*/
package rnafold4j;

/**
* @author Jan Hoinka
*
* RNAFold4j is a port of RNAFold to Java. RNAFold is implemented and developed by Ivo L Hofacker et al.
* as part of the ViennaRNA package v 1.8.5. All intellectual credits of this work
* go to the original authors and the Institute for Theoretical Chemistry of the
* University of Vienna. My only contribution is the adaptation of the C source code to Java.
*/
public class CentroidData {

public byte[] structure;
public double distance;

}
31 changes: 31 additions & 0 deletions src/main/java/rnafold4j/EnergyConst.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/**
*
*/
package rnafold4j;

/**
* @author Jan Hoinka
*
* RNAFold4j is a port of RNAFold to Java. RNAFold is implemented and developed by Ivo L Hofacker et al.
* as part of the ViennaRNA package v 1.8.5. All intellectual credits of this work
* go to the original authors and the Institute for Theoretical Chemistry of the
* University of Vienna. My only contribution is the adaptation of the C source code to Java.
*
* energy constants, formerly defined in
* energy_par.h
*
* customized for use with RNAedit by
* S.Kopp, IMB-Jena, Germany, Mar 1996
*/


public final class EnergyConst {
static double GASCONST = 1.98717; /* in [cal/K] */
static double K0 = 273.15;
static int INF = 1000000;
static int FORBIDDEN = 9999;
static int BONUS = 10000;
static int NBPAIRS = 7;
static int TURN = 3;
static int MAXLOOP = 30;
}
Loading

0 comments on commit 0c100b8

Please sign in to comment.