polyjuice.phial.WebServerConfig.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of polyjuice-phial_2.12 Show documentation
Show all versions of polyjuice-phial_2.12 Show documentation
Web service for running polyjuice-potion.
The newest version!
package polyjuice.phial
import java.nio.file.Paths
import com.typesafe.config.ConfigFactory
object WebServerConfig {
private[this] val config = ConfigFactory.load()
val ServicePort = config.getInt("service.port")
val ServiceHost = config.getString("service.host")
val GeneList = config.getString("geneList").split(',')
val EnsemblBuild = config.getString("ensembl.build")
val EnsemblCdsFastaPath = Paths.get(config.getString("ensembl.cdsFastaPath"))
val EnsemblFeatureGff3Path = Paths.get(config.getString("ensembl.featureGff3Path"))
}