Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
biopet.biopet
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirrors
biopet.biopet
Commits
edc5fc7f
Commit
edc5fc7f
authored
8 years ago
by
Peter van 't Hof
Browse files
Options
Downloads
Patches
Plain Diff
Style fix
parent
d5808c90
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
flexiprep/src/main/scala/nl/lumc/sasc/biopet/pipelines/flexiprep/Fastqc.scala
+4
-3
4 additions, 3 deletions
...cala/nl/lumc/sasc/biopet/pipelines/flexiprep/Fastqc.scala
with
4 additions
and
3 deletions
flexiprep/src/main/scala/nl/lumc/sasc/biopet/pipelines/flexiprep/Fastqc.scala
+
4
−
3
View file @
edc5fc7f
...
...
@@ -35,7 +35,7 @@ class Fastqc(root: Configurable) extends nl.lumc.sasc.biopet.extensions.Fastqc(r
/** Allow reporting of all found (potentially adapter) sequences in the FastQC */
var
sensitiveAdapterSearch
:
Boolean
=
config
(
"sensitiveAdapterSearch"
,
default
=
false
)
var
enableRCtrimming
:
Boolean
=
config
(
"enableRCtrimming"
,
default
=
false
)
var
enableRCtrimming
:
Boolean
=
config
(
"enableRCtrimming"
,
default
=
false
)
/** Class for storing a single FastQC module result */
protected
case
class
FastQCModule
(
name
:
String
,
status
:
String
,
lines
:
Seq
[
String
])
...
...
@@ -189,9 +189,10 @@ class Fastqc(root: Configurable) extends nl.lumc.sasc.biopet.extensions.Fastqc(r
val
fromKnownList
:
Set
[
AdapterSequence
]
=
(
adapterSet
++
contaminantSet
)
.
filter
(
x
=>
foundAdapterNames
.
exists
(
_
.
startsWith
(
x
.
name
)))
val
fromKnownListRC
:
Set
[
AdapterSequence
]
=
if
(
enableRCtrimming
)
fromKnownList
.
map
{
val
fromKnownListRC
:
Set
[
AdapterSequence
]
=
if
(
enableRCtrimming
)
fromKnownList
.
map
{
x
=>
AdapterSequence
(
x
.
name
+
"_RC"
,
reverseComplement
(
x
.
seq
))
}
else
Set
.
empty
}
else
Set
.
empty
// list all sequences found by FastQC
val
fastQCFoundSequences
:
Seq
[
AdapterSequence
]
=
if
(
sensitiveAdapterSearch
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment