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
27ec36f7
Commit
27ec36f7
authored
10 years ago
by
Peter van 't Hof
Browse files
Options
Downloads
Patches
Plain Diff
Fixed bug on single end runs
parent
8a3d69a0
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/java/nl/lumc/sasc/biopet/pipelines/flexiprep/Flexiprep.scala
+2
-2
2 additions, 2 deletions
...a/nl/lumc/sasc/biopet/pipelines/flexiprep/Flexiprep.scala
with
2 additions
and
2 deletions
flexiprep/src/main/java/nl/lumc/sasc/biopet/pipelines/flexiprep/Flexiprep.scala
+
2
−
2
View file @
27ec36f7
...
...
@@ -68,7 +68,7 @@ class Flexiprep(private var globalConfig: Config) extends QScript with BiopetQSc
if
(
paired
)
runTrimClip
(
outputFiles
(
"fastq_input_R1"
),
outputFiles
(
"fastq_input_R2"
),
outputDir
)
else
runTrimClip
(
outputFiles
(
"fastq_input_R1"
),
outputDir
)
runFinalize
(
List
(
outputFiles
(
"output_R1"
)),
List
(
outputFiles
(
"output_R2"
)))
runFinalize
(
List
(
outputFiles
(
"output_R1"
)),
if
(
outputFiles
.
contains
(
"output_R2"
))
List
(
outputFiles
(
"output_R2"
))
else
List
()
)
}
def
runInitialFastqc
()
{
...
...
@@ -177,7 +177,7 @@ class Flexiprep(private var globalConfig: Config) extends QScript with BiopetQSc
}
def
runFinalize
(
fastq_R1
:
List
[
File
],
fastq_R2
:
List
[
File
])
{
if
(
fastq_R1
.
length
!=
fastq_R2
.
length
)
throw
new
IllegalStateException
(
"R1 and R2 file number is not the same"
)
if
(
fastq_R1
.
length
!=
fastq_R2
.
length
&&
paired
)
throw
new
IllegalStateException
(
"R1 and R2 file number is not the same"
)
var
R1
:
File
=
""
var
R2
:
File
=
""
if
(
fastq_R1
.
length
==
1
)
{
...
...
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