Skip to content
GitLab
Menu
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
dcff73d6
Commit
dcff73d6
authored
Feb 09, 2017
by
Peter van 't Hof
Browse files
Rename root to parent
parent
463f8002
Changes
290
Hide whitespace changes
Inline
Side-by-side
biopet-core/src/test/scala/nl/lumc/sasc/biopet/core/summary/SummaryQScriptTest.scala
View file @
dcff73d6
...
...
@@ -130,7 +130,7 @@ object SummaryQScriptTest {
def
summaryFile
:
File
=
tempFile
def
init
()
:
Unit
=
???
def
biopetScript
()
:
Unit
=
???
def
roo
t
:
Configurable
=
null
def
paren
t
:
Configurable
=
null
}
def
makeSummarizable
(
files
:
Map
[
String
,
File
]
=
Map
(),
stats
:
Map
[
String
,
Any
]
=
Map
())
=
new
Summarizable
{
...
...
biopet-core/src/test/scala/nl/lumc/sasc/biopet/core/summary/WriteSummaryTest.scala
View file @
dcff73d6
...
...
@@ -238,7 +238,7 @@ object WriteSummaryTest {
def
summaryFile
:
File
=
tempFile
def
init
()
:
Unit
=
{}
def
biopetScript
()
:
Unit
=
{}
def
roo
t
:
Configurable
=
null
def
paren
t
:
Configurable
=
null
}
def
makeSampleLibraryQscript
(
name
:
String
,
...
...
@@ -260,7 +260,7 @@ object WriteSummaryTest {
def
summaryFile
:
File
=
tempFile
def
init
()
:
Unit
=
{}
def
biopetScript
()
:
Unit
=
{}
def
roo
t
:
Configurable
=
null
def
paren
t
:
Configurable
=
null
}
def
makeMultisampleQscript
(
name
:
String
,
...
...
@@ -278,7 +278,7 @@ object WriteSummaryTest {
def
summaryFile
:
File
=
tempFile
def
init
()
:
Unit
=
{}
def
biopetScript
()
:
Unit
=
{}
def
roo
t
:
Configurable
=
null
def
paren
t
:
Configurable
=
null
class
Sample
(
id
:
String
)
extends
AbstractSample
(
id
)
{
class
Library
(
id
:
String
)
extends
AbstractLibrary
(
id
)
{
...
...
@@ -310,7 +310,7 @@ object WriteSummaryTest {
c
:
Map
[
String
,
Any
]
=
Map
())
=
new
BiopetJavaCommandLineFunction
with
Summarizable
with
Version
{
override
def
globalConfig
=
new
Config
(
c
)
override
def
configNamespace
=
"java_command"
def
roo
t
:
Configurable
=
null
def
paren
t
:
Configurable
=
null
def
summaryStats
:
Map
[
String
,
Any
]
=
stats
def
summaryFiles
:
Map
[
String
,
File
]
=
files
...
...
@@ -335,7 +335,7 @@ object WriteSummaryTest {
new
CommandLineFunction
with
Configurable
with
Summarizable
with
Version
{
override
def
globalConfig
=
new
Config
(
c
)
override
def
configNamespace
=
"version_command"
def
roo
t
:
Configurable
=
null
def
paren
t
:
Configurable
=
null
def
summaryFiles
:
Map
[
String
,
File
]
=
files
def
summaryStats
:
Any
=
stats
...
...
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/Awk.scala
View file @
dcff73d6
...
...
@@ -25,7 +25,7 @@ import scala.util.matching.Regex
/**
* Created by pjvan_thof on 17-5-16.
*/
class
Awk
(
val
roo
t
:
Configurable
)
extends
BiopetCommandLineFunction
with
Version
{
class
Awk
(
val
paren
t
:
Configurable
)
extends
BiopetCommandLineFunction
with
Version
{
executable
=
config
(
"exe"
,
default
=
"awk"
,
freeVar
=
false
)
def
versionCommand
:
String
=
executable
+
" --version"
...
...
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/Bgzip.scala
View file @
dcff73d6
...
...
@@ -22,7 +22,7 @@ import nl.lumc.sasc.biopet.utils.config.Configurable
import
org.broadinstitute.gatk.utils.commandline.
{
Input
,
Output
}
/** Wrapper for the bgzip command */
class
Bgzip
(
val
roo
t
:
Configurable
)
extends
BiopetCommandLineFunction
{
class
Bgzip
(
val
paren
t
:
Configurable
)
extends
BiopetCommandLineFunction
{
@Input
(
doc
=
"Input files"
,
required
=
false
)
var
input
:
List
[
File
]
=
Nil
...
...
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/Cat.scala
View file @
dcff73d6
...
...
@@ -23,7 +23,7 @@ import org.broadinstitute.gatk.utils.commandline.{ Input, Output }
/**
* Extension for GNU cat
*/
class
Cat
(
val
roo
t
:
Configurable
)
extends
BiopetCommandLineFunction
{
class
Cat
(
val
paren
t
:
Configurable
)
extends
BiopetCommandLineFunction
{
@Input
(
doc
=
"Input file"
,
required
=
true
)
var
input
:
List
[
File
]
=
Nil
...
...
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/Cnmops.scala
View file @
dcff73d6
...
...
@@ -27,7 +27,7 @@ import nl.lumc.sasc.biopet.utils.getSemanticVersion
* Wrapper for the Cnmops command line tool.
* Written based on Cnmops version v2.2.1.
*/
class
Cnmops
(
val
roo
t
:
Configurable
)
extends
RscriptCommandLineFunction
with
Version
{
class
Cnmops
(
val
paren
t
:
Configurable
)
extends
RscriptCommandLineFunction
with
Version
{
override
def
defaultThreads
=
4
override
def
defaultCoreMemory
:
Double
=
4.0
...
...
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/Cufflinks.scala
View file @
dcff73d6
...
...
@@ -24,7 +24,7 @@ import org.broadinstitute.gatk.utils.commandline.{ Input, Output }
* Wrapper for the cufflinks command line tool.
* Written based on cufflinks version v2.2.1 (md5: 07c831c4f8b4e161882731ea5694ff80)
*/
class
Cufflinks
(
val
roo
t
:
Configurable
)
extends
BiopetCommandLineFunction
with
Version
{
class
Cufflinks
(
val
paren
t
:
Configurable
)
extends
BiopetCommandLineFunction
with
Version
{
/** default executable */
executable
=
config
(
"exe"
,
default
=
"cufflinks"
)
...
...
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/Cuffquant.scala
View file @
dcff73d6
...
...
@@ -24,7 +24,7 @@ import org.broadinstitute.gatk.utils.commandline.{ Input, Output }
* Wrapper for the cuffquant command line tool.
* Written based on cuffquant version v2.2.1 (md5: 0765b82b11db9256f5be341a7da884d6)
*/
class
Cuffquant
(
val
roo
t
:
Configurable
)
extends
BiopetCommandLineFunction
with
Version
{
class
Cuffquant
(
val
paren
t
:
Configurable
)
extends
BiopetCommandLineFunction
with
Version
{
/** default executable */
executable
=
config
(
"exe"
,
default
=
"cuffquant"
)
...
...
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/Curl.scala
View file @
dcff73d6
...
...
@@ -23,7 +23,7 @@ import org.broadinstitute.gatk.utils.commandline.Output
/**
* Created by pjvan_thof on 8/11/15.
*/
class
Curl
(
val
roo
t
:
Configurable
)
extends
BiopetCommandLineFunction
with
Version
{
class
Curl
(
val
paren
t
:
Configurable
)
extends
BiopetCommandLineFunction
with
Version
{
@Output
var
output
:
File
=
_
...
...
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/Cutadapt.scala
View file @
dcff73d6
...
...
@@ -30,7 +30,7 @@ import scala.util.matching.Regex
* Started with version 1.5
* Updated to version 1.9 (18-01-2016 by wyleung)
*/
class
Cutadapt
(
val
roo
t
:
Configurable
)
extends
BiopetCommandLineFunction
with
Summarizable
with
Version
{
class
Cutadapt
(
val
paren
t
:
Configurable
)
extends
BiopetCommandLineFunction
with
Summarizable
with
Version
{
@Input
(
doc
=
"Input fastq file"
)
var
fastqInput
:
File
=
_
...
...
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/Fastqc.scala
View file @
dcff73d6
...
...
@@ -24,7 +24,7 @@ import org.broadinstitute.gatk.utils.commandline.{ Input, Output }
* Extension for fastqc
* Based on version 0.10.1 and 0.11.2
*/
class
Fastqc
(
val
roo
t
:
Configurable
)
extends
BiopetCommandLineFunction
with
Version
{
class
Fastqc
(
val
paren
t
:
Configurable
)
extends
BiopetCommandLineFunction
with
Version
{
@Input
(
doc
=
"Contaminants"
,
required
=
false
)
var
contaminants
:
Option
[
File
]
=
None
...
...
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/Flash.scala
View file @
dcff73d6
...
...
@@ -25,7 +25,7 @@ import scala.util.matching.Regex
/**
* Created by pjvanthof on 16/12/15.
*/
class
Flash
(
val
roo
t
:
Configurable
)
extends
BiopetCommandLineFunction
with
Version
{
class
Flash
(
val
paren
t
:
Configurable
)
extends
BiopetCommandLineFunction
with
Version
{
executable
=
config
(
"exe"
,
default
=
"flash"
,
freeVar
=
false
)
/** Command to get version of executable */
...
...
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/Freebayes.scala
View file @
dcff73d6
...
...
@@ -25,7 +25,7 @@ import org.broadinstitute.gatk.utils.commandline.{ Input, Output }
*
* Created by pjvan_thof on 3/3/15.
*/
class
Freebayes
(
val
roo
t
:
Configurable
)
extends
BiopetCommandLineFunction
with
Reference
with
Version
{
class
Freebayes
(
val
paren
t
:
Configurable
)
extends
BiopetCommandLineFunction
with
Reference
with
Version
{
@Input
(
required
=
true
)
var
bamfiles
:
List
[
File
]
=
Nil
...
...
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/GffRead.scala
View file @
dcff73d6
...
...
@@ -23,7 +23,7 @@ import org.broadinstitute.gatk.utils.commandline.{ Input, Output }
/**
* Created by pjvanthof on 20/06/16.
*/
class
GffRead
(
val
roo
t
:
Configurable
)
extends
BiopetCommandLineFunction
{
class
GffRead
(
val
paren
t
:
Configurable
)
extends
BiopetCommandLineFunction
{
executable
=
config
(
"exe"
,
default
=
"gffread"
,
freeVar
=
false
)
...
...
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/Grep.scala
View file @
dcff73d6
...
...
@@ -23,7 +23,7 @@ import org.broadinstitute.gatk.utils.commandline.{ Input, Output }
/**
* Created by pjvanthof on 30/03/16.
*/
class
Grep
(
val
roo
t
:
Configurable
)
extends
BiopetCommandLineFunction
{
class
Grep
(
val
paren
t
:
Configurable
)
extends
BiopetCommandLineFunction
{
@Input
(
doc
=
"Input file"
,
required
=
true
)
var
input
:
File
=
_
...
...
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/GtfToGenePred.scala
View file @
dcff73d6
...
...
@@ -23,7 +23,7 @@ import org.broadinstitute.gatk.utils.commandline.{ Input, Output }
/**
* Created by pjvan_thof on 17-5-16.
*/
class
GtfToGenePred
(
val
roo
t
:
Configurable
)
extends
BiopetCommandLineFunction
{
class
GtfToGenePred
(
val
paren
t
:
Configurable
)
extends
BiopetCommandLineFunction
{
executable
=
config
(
"exe"
,
default
=
"gtfToGenePred"
,
freeVar
=
false
)
@Input
...
...
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/Gzip.scala
View file @
dcff73d6
...
...
@@ -20,7 +20,7 @@ import nl.lumc.sasc.biopet.core.{ Version, BiopetCommandLineFunction }
import
nl.lumc.sasc.biopet.utils.config.Configurable
import
org.broadinstitute.gatk.utils.commandline.
{
Input
,
Output
}
class
Gzip
(
val
roo
t
:
Configurable
)
extends
BiopetCommandLineFunction
with
Version
{
class
Gzip
(
val
paren
t
:
Configurable
)
extends
BiopetCommandLineFunction
with
Version
{
@Input
(
doc
=
"Input file"
,
required
=
true
)
var
input
:
List
[
File
]
=
Nil
...
...
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/HtseqCount.scala
View file @
dcff73d6
...
...
@@ -24,7 +24,7 @@ import org.broadinstitute.gatk.utils.commandline.{ Input, Output }
* Wrapper for the htseq-count command line tool
* Written based on htseq-count version 0.6.1p1
*/
class
HtseqCount
(
val
roo
t
:
Configurable
)
extends
BiopetCommandLineFunction
with
Version
{
class
HtseqCount
(
val
paren
t
:
Configurable
)
extends
BiopetCommandLineFunction
with
Version
{
/** default executable */
executable
=
config
(
"exe"
,
default
=
"htseq-count"
)
...
...
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/Ln.scala
View file @
dcff73d6
...
...
@@ -25,7 +25,7 @@ import scala.sys.process.{ Process, ProcessLogger }
/**
* This class can execute ln as InProcessFunction or used to only generate the ln command
*/
class
Ln
(
val
roo
t
:
Configurable
)
extends
InProcessFunction
with
Configurable
{
class
Ln
(
val
paren
t
:
Configurable
)
extends
InProcessFunction
with
Configurable
{
this
.
analysisName
=
getClass
.
getSimpleName
@Input
(
doc
=
"Input file"
)
...
...
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/Pbzip2.scala
View file @
dcff73d6
...
...
@@ -21,7 +21,7 @@ import nl.lumc.sasc.biopet.utils.config.Configurable
import
org.broadinstitute.gatk.utils.commandline.
{
Input
,
Output
}
/** Extension for pbzip2 */
class
Pbzip2
(
val
roo
t
:
Configurable
)
extends
BiopetCommandLineFunction
{
class
Pbzip2
(
val
paren
t
:
Configurable
)
extends
BiopetCommandLineFunction
{
@Input
(
doc
=
"Zipped file"
)
var
input
:
File
=
_
...
...
Prev
1
2
3
4
5
6
…
15
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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