Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Do not merge: Update location of the report when not specified #295

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sudo: false
sudo: required
language: scala
scala:
- 2.11.7
Expand Down
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ Tests may be run with ```sbt test```.
You can include the five sub-projects that make up dagr using:

```
libraryDependencies += "com.fulcrumgenomics" %% "dagr-commons" % "0.1.0"
libraryDependencies += "com.fulcrumgenomics" %% "dagr-sopt" % "0.1.0"
libraryDependencies += "com.fulcrumgenomics" %% "dagr-core" % "0.1.0"
libraryDependencies += "com.fulcrumgenomics" %% "dagr-tasks" % "0.1.0"
libraryDependencies += "com.fulcrumgenomics" %% "dagr-pipelines" % "0.1.0"
Expand All @@ -103,13 +101,11 @@ We are currently working on the first release of `dagr` and therefore rapidly ev

## Overview

`dagr` contains five projects:
`dagr` contains three projects:

1. `dagr-commons` for common scala utility methods and classes.
2. `dagr-sopt` for option and command-line parsing in scala.
3. `dagr-core` for specifying, scheduling, and executing tasks with dependencies.
4. `dagr-tasks` for common genomic analysis tasks, such as those in [Picard tools](https://github.com/broadinstitute/picard), [JeanLuc](https://github.com/fulcrumgenomics/JeanLuc), [Bwa](https://github.com/lh3/bwa), and elsewhere.
5. `dagr-pipelines` for common genomic pipelines, such as mapping, variant calling, and quality control.
1. `dagr-core` for specifying, scheduling, and executing tasks with dependencies.
2. `dagr-tasks` for common genomic analysis tasks, such as those in [Picard tools](https://github.com/broadinstitute/picard), [JeanLuc](https://github.com/fulcrumgenomics/JeanLuc), [Bwa](https://github.com/lh3/bwa), and elsewhere.
3. `dagr-pipelines` for common genomic pipelines, such as mapping, variant calling, and quality control.

`dagr` endeavors to combine the full features of the Scala programming language with a simplifying DSL for fast and easy authoring of complicated tasks and pipelines.

Expand Down
54 changes: 13 additions & 41 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ credentials ++= (for {
} yield Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", username, password)).toSeq

////////////////////////////////////////////////////////////////////////////////////////////////
// Coverage settings: only count coverage of dagr.sopt and dagr.core
// Coverage settings: only count coverage of dagr.core
////////////////////////////////////////////////////////////////////////////////////////////////
coverageExcludedPackages := "<empty>;dagr\\.tasks.*;dagr\\.pipelines.*;dagr\\.cmdline.*"
val htmlReportsDirectory: String = "target/test-reports"
Expand Down Expand Up @@ -98,6 +98,8 @@ lazy val commonSettings = Seq(
//testOptions in Test += Tests.Argument("-oD"),
fork in Test := true,
resolvers += Resolver.jcenterRepo,
resolvers += Resolver.sonatypeRepo("public"),
resolvers += Resolver.mavenLocal,
shellPrompt := { state => "%s| %s> ".format(GitCommand.prompt.apply(state), version.value) },
coverageExcludedPackages := "<empty>;dagr\\.tasks.*;dagr\\.pipelines.*",
updateOptions := updateOptions.value.withCachedResolution(true),
Expand All @@ -110,34 +112,6 @@ lazy val commonSettings = Seq(
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.1" % "test->*" excludeAll ExclusionRule(organization="org.junit", name="junit")
) ++ Defaults.coreDefaultSettings

////////////////////////////////////////////////////////////////////////////////////////////////
// commons project
////////////////////////////////////////////////////////////////////////////////////////////////
lazy val commons = Project(id="dagr-commons", base=file("commons"))
.settings(commonSettings: _*)
.settings(description := "Scala commons for Fulcrum Genomics.")
.settings(
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-reflect" % scalaVersion.value
)
)
.disablePlugins(sbtassembly.AssemblyPlugin)

////////////////////////////////////////////////////////////////////////////////////////////////
// sopt project
////////////////////////////////////////////////////////////////////////////////////////////////
lazy val sopt = Project(id="dagr-sopt", base=file("sopt"))
.settings(commonSettings: _*)
.settings(description := "Scala command line option parser.")
.settings(
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"com.typesafe" % "config" % "1.3.1"
)
)
.disablePlugins(sbtassembly.AssemblyPlugin)
.dependsOn(commons % "test->test;compile->compile")

////////////////////////////////////////////////////////////////////////////////////////////////
// core project
////////////////////////////////////////////////////////////////////////////////////////////////
Expand All @@ -146,18 +120,17 @@ lazy val core = Project(id="dagr-core", base=file("core"))
.settings(description := "Core methods and classes to execute tasks in dagr.")
.settings(
libraryDependencies ++= Seq(
"com.github.dblock" % "oshi-core" % "3.3",
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"org.scala-lang" % "scala-compiler" % scalaVersion.value,
"org.reflections" % "reflections" % "0.9.10",
"com.typesafe" % "config" % "1.3.1",
"javax.servlet" % "javax.servlet-api" % "3.1.0"
"com.fulcrumgenomics" %% "commons" % "0.2.0-SNAPSHOT",
"com.fulcrumgenomics" %% "sopt" % "0.2.0-SNAPSHOT",
"com.github.dblock" % "oshi-core" % "3.3",
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"org.scala-lang" % "scala-compiler" % scalaVersion.value,
"org.reflections" % "reflections" % "0.9.10",
"com.typesafe" % "config" % "1.3.1",
"javax.servlet" % "javax.servlet-api" % "3.1.0"
)
)
.disablePlugins(sbtassembly.AssemblyPlugin)
.dependsOn(sopt % "test->test;compile->compile")
.dependsOn(commons % "test->test;compile->compile")


////////////////////////////////////////////////////////////////////////////////////////////////
// tasks project
Expand All @@ -180,7 +153,6 @@ lazy val tasks = Project(id="dagr-tasks", base=file("tasks"))
)
.disablePlugins(sbtassembly.AssemblyPlugin)
.dependsOn(core)
.dependsOn(commons % "test->test;compile->compile")

////////////////////////////////////////////////////////////////////////////////////////////////
// pipelines project
Expand All @@ -203,8 +175,8 @@ lazy val root = Project(id="dagr", base=file("."))
.settings(unidocSettings: _*)
.settings(assemblySettings: _*)
.settings(description := "A tool to execute tasks in directed acyclic graphs.")
.aggregate(commons, sopt, core, tasks, pipelines)
.dependsOn(commons % "test->test;compile->compile", sopt % "test->test;compile->compile", core, tasks, pipelines)
.aggregate(core, tasks, pipelines)
.dependsOn(core, tasks, pipelines)

////////////////////////////////////////////////////////////////////////////////////////////////
// Merge strategy for assembly
Expand Down
212 changes: 0 additions & 212 deletions commons/src/main/java/dagr/commons/util/ClassFinder.java

This file was deleted.

33 changes: 0 additions & 33 deletions commons/src/main/java/dagr/commons/util/LogLevel.java

This file was deleted.

Loading