Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
8d6d72c9
Commit
8d6d72c9
authored
Aug 26, 2014
by
Peter van 't Hof
Browse files
remove old files
parent
0c858996
Changes
4
Hide whitespace changes
Inline
Side-by-side
biopet-package/.gitignore
deleted
100644 → 0
View file @
0c858996
/target/
\ No newline at end of file
biopet-package/nbactions.xml
deleted
100644 → 0
View file @
0c858996
<?xml version="1.0" encoding="UTF-8"?>
<actions>
<action>
<actionName>
run
</actionName>
<packagings>
<packaging>
jar
</packaging>
</packagings>
<goals>
<goal>
process-classes
</goal>
<goal>
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec
</goal>
</goals>
<properties>
<exec.args>
-classpath %classpath nl.lumc.sasc.biopet.core.BiopetExecuteble flexiprep
</exec.args>
<exec.executable>
java
</exec.executable>
<exec.workingdir>
/home/pjvan_thof/pipelines/test
</exec.workingdir>
</properties>
</action>
<action>
<actionName>
debug
</actionName>
<packagings>
<packaging>
jar
</packaging>
</packagings>
<goals>
<goal>
process-classes
</goal>
<goal>
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec
</goal>
</goals>
<properties>
<exec.args>
-Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -classpath %classpath nl.lumc.sasc.biopet.core.BiopetExecuteble flexiprep
</exec.args>
<exec.executable>
java
</exec.executable>
<jpda.listen>
true
</jpda.listen>
<exec.workingdir>
/home/pjvan_thof/pipelines/test
</exec.workingdir>
</properties>
</action>
<action>
<actionName>
profile
</actionName>
<packagings>
<packaging>
jar
</packaging>
</packagings>
<goals>
<goal>
process-classes
</goal>
<goal>
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec
</goal>
</goals>
<properties>
<exec.args>
-classpath %classpath nl.lumc.sasc.biopet.core.BiopetExecuteble flexiprep
</exec.args>
<exec.executable>
java
</exec.executable>
<exec.workingdir>
/home/pjvan_thof/pipelines/test
</exec.workingdir>
</properties>
</action>
</actions>
biopet-package/pom.xml
deleted
100644 → 0
View file @
0c858996
<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>
nl.lumc.sasc
</groupId>
<artifactId>
BiopetPackage
</artifactId>
<version>
0.1.3
</version>
<packaging>
jar
</packaging>
<name>
BiopetPackage
</name>
<url>
http://maven.apache.org
</url>
<parent>
<groupId>
nl.lumc.sasc
</groupId>
<artifactId>
Biopet
</artifactId>
<version>
0.1.3
</version>
<relativePath>
../
</relativePath>
</parent>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<sting.unpack.phase>
prepare-package
</sting.unpack.phase>
<sting.shade.phase>
package
</sting.shade.phase>
<app.main.class>
nl.lumc.sasc.biopet.pipelines.pipelinetemplate.BiopetPackage
</app.main.class>
</properties>
<dependencies>
<dependency>
<groupId>
org.scala-lang
</groupId>
<artifactId>
scala-compiler
</artifactId>
<version>
2.11.0
</version>
</dependency>
<dependency>
<groupId>
nl.lumc.sasc
</groupId>
<artifactId>
Biopet-Framework
</artifactId>
<version>
0.1.3
</version>
</dependency>
<dependency>
<groupId>
nl.lumc.sasc
</groupId>
<artifactId>
Flexiprep
</artifactId>
<version>
0.1.3
</version>
</dependency>
<dependency>
<groupId>
nl.lumc.sasc
</groupId>
<artifactId>
Gentrap
</artifactId>
<version>
0.1.3
</version>
</dependency>
<dependency>
<groupId>
nl.lumc.sasc
</groupId>
<artifactId>
Mapping
</artifactId>
<version>
0.1.3
</version>
</dependency>
<dependency>
<groupId>
nl.lumc.sasc
</groupId>
<artifactId>
Bam-Metrics
</artifactId>
<version>
0.1.3
</version>
</dependency>
<dependency>
<groupId>
nl.lumc.sasc
</groupId>
<artifactId>
GatkGenotyping
</artifactId>
<version>
0.1.3
</version>
</dependency>
<dependency>
<groupId>
nl.lumc.sasc
</groupId>
<artifactId>
GatkVariantcalling
</artifactId>
<version>
0.1.3
</version>
</dependency>
<dependency>
<groupId>
nl.lumc.sasc
</groupId>
<artifactId>
GatkVcfSampleCompare
</artifactId>
<version>
0.1.3
</version>
</dependency>
<dependency>
<groupId>
nl.lumc.sasc
</groupId>
<artifactId>
GatkBenchmarkGenotyping
</artifactId>
<version>
0.1.3
</version>
</dependency>
<dependency>
<groupId>
nl.lumc.sasc
</groupId>
<artifactId>
GatkPipeline
</artifactId>
<version>
0.1.3
</version>
</dependency>
<dependency>
<groupId>
org.broadinstitute.gatk
</groupId>
<artifactId>
gatk-queue-package-distribution
</artifactId>
<version>
3.2
</version>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>
src/main/scripts
</directory>
<includes>
<include>
**/*
</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>
org.scala-tools
</groupId>
<artifactId>
maven-scala-plugin
</artifactId>
<version>
2.15.2
</version>
<executions>
<execution>
<id>
scala-compile
</id>
<goals>
<goal>
compile
</goal>
<goal>
testCompile
</goal>
</goals>
<configuration>
<args>
<arg>
-dependencyfile
</arg>
<arg>
${project.build.directory}/.scala_dependencies
</arg>
</args>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-shade-plugin
</artifactId>
<version>
2.3
</version>
<configuration>
<finalName>
${project.artifactId}-${project.version}
</finalName>
<transformers>
<transformer
implementation=
"org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"
>
<manifestEntries>
<Main-Class>
${app.main.class}
</Main-Class>
<X-Compile-Source-JDK>
${maven.compile.source}
</X-Compile-Source-JDK>
<X-Compile-Target-JDK>
${maven.compile.target}
</X-Compile-Target-JDK>
</manifestEntries>
</transformer>
</transformers>
</configuration>
<executions>
<execution>
<phase>
package
</phase>
<goals>
<goal>
shade
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
biopet-package/src/main/scala/nl/lumc/sasc/biopet/core/BiopetExecuteble.scala
deleted
100644 → 0
View file @
0c858996
package
nl.lumc.sasc.biopet.core
import
nl.lumc.sasc.biopet.pipelines.bammetrics.BamMetrics
import
nl.lumc.sasc.biopet.pipelines.flexiprep.Flexiprep
import
nl.lumc.sasc.biopet.pipelines.gatk.GatkBenchmarkGenotyping
import
nl.lumc.sasc.biopet.pipelines.gatk.GatkGenotyping
import
nl.lumc.sasc.biopet.pipelines.gatk.GatkPipeline
import
nl.lumc.sasc.biopet.pipelines.gatk.GatkVariantcalling
import
nl.lumc.sasc.biopet.pipelines.gatk.GatkVcfSampleCompare
import
nl.lumc.sasc.biopet.pipelines.gentrap.Gentrap
import
nl.lumc.sasc.biopet.pipelines.mapping.Mapping
object
BiopetExecuteble
{
val
pipelines
:
Map
[
String
,
PipelineCommand
]
=
Map
(
"flexiprep"
->
Flexiprep
,
"mapping"
->
Mapping
,
"gentrap"
->
Gentrap
,
"bam-metrics"
->
BamMetrics
,
"gatk-benchmark-genotyping"
->
GatkBenchmarkGenotyping
,
"gatk-genotyping"
->
GatkGenotyping
,
"gatk-variantcalling"
->
GatkVariantcalling
,
"gatk-pipeline"
->
GatkPipeline
,
"gatk-vcf-sample-compare"
->
GatkVcfSampleCompare
)
/**
* @param args the command line arguments
*/
def
main
(
args
:
Array
[
String
])
:
Unit
=
{
if
(
args
.
isEmpty
)
println
(
pipelineList
)
else
if
(
pipelines
.
contains
(
args
.
head
))
pipelines
(
args
.
head
).
main
(
args
.
tail
)
else
{
println
(
"Pipeline '"
+
args
.
head
+
"' does not exist"
)
println
(
pipelineList
)
}
def
pipelineList
:
String
=
{
val
pipelinesArray
=
for
((
k
,
v
)
<-
pipelines
)
yield
k
"Available pipelines:"
+
pipelinesArray
.
mkString
(
"\n- "
,
"\n- "
,
"\n"
)
+
"please suply a pipeline"
}
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment