Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
biopet.biopet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Mirrors
biopet.biopet
Commits
5de27e08
Commit
5de27e08
authored
Apr 14, 2017
by
Peter van 't Hof
Committed by
GitHub
Apr 14, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into fix-BIOPET-649
parents
988d35a6
8fa9668a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
flexiprep/src/main/scala/nl/lumc/sasc/biopet/pipelines/flexiprep/Fastqc.scala
...cala/nl/lumc/sasc/biopet/pipelines/flexiprep/Fastqc.scala
+5
-1
shiva/src/main/scala/nl/lumc/sasc/biopet/pipelines/shiva/variantcallers/HaplotypeCallerGvcf.scala
.../pipelines/shiva/variantcallers/HaplotypeCallerGvcf.scala
+0
-5
No files found.
flexiprep/src/main/scala/nl/lumc/sasc/biopet/pipelines/flexiprep/Fastqc.scala
View file @
5de27e08
...
...
@@ -206,7 +206,9 @@ class Fastqc(root: Configurable) extends nl.lumc.sasc.biopet.extensions.Fastqc(r
val
foundAdapters
=
modules
.
get
(
"Adapter Content"
).
map
{
x
=>
val
header
=
x
.
lines
.
head
.
split
(
"\t"
).
tail
.
zipWithIndex
val
lines
=
x
.
lines
.
tail
.
map
(
_
.
split
(
"\t"
).
tail
)
val
found
=
header
.
filter
(
h
=>
lines
.
exists
(
x
=>
x
(
h
.
_2
).
toFloat
>
0
)).
map
(
_
.
_1
)
val
found
=
header
.
filter
(
h
=>
lines
.
exists
(
x
=>
x
(
h
.
_2
).
toFloat
>
adapterCutoff
))
.
map
(
_
.
_1
)
adapterSet
.
filter
(
x
=>
found
.
contains
(
x
.
name
))
}
...
...
@@ -214,6 +216,8 @@ class Fastqc(root: Configurable) extends nl.lumc.sasc.biopet.extensions.Fastqc(r
}
else
Set
()
}
val
adapterCutoff
:
Float
=
config
(
"adapter_cutoff"
,
default
=
0.001
)
@Output
private
var
outputFiles
:
List
[
File
]
=
Nil
...
...
shiva/src/main/scala/nl/lumc/sasc/biopet/pipelines/shiva/variantcallers/HaplotypeCallerGvcf.scala
View file @
5de27e08
...
...
@@ -36,11 +36,6 @@ class HaplotypeCallerGvcf(val parent: Configurable) extends Variantcaller {
override
def
fixedValues
=
Map
(
"haplotypecaller"
->
Map
(
"emitRefConfidence"
->
"GVCF"
))
override
def
defaults
=
Map
(
"haplotypecaller"
->
Map
(
"variant_index_type"
->
"LINEAR"
,
"variant_index_parameter"
->
128000
)
)
def
biopetScript
()
{
gVcfFiles
=
for
((
sample
,
inputBam
)
<-
inputBams
)
yield
{
val
hc
=
gatk
.
HaplotypeCaller
(
this
,
List
(
inputBam
),
new
File
(
outputDir
,
sample
+
".gvcf.vcf.gz"
))
...
...
Write
Preview
Markdown
is supported
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