Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RNA-seq
Manage
Activity
Members
Labels
Plan
Issues
12
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
GUDMAP_RBK
RNA-seq
Commits
947e7543
Commit
947e7543
authored
5 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Patches
Plain Diff
Combine trimData CI se/pe into 1 unit test
parent
4cdee6d3
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!37
v0.0.1
,
!11
Develop
Pipeline
#5680
passed with stages
in 24 minutes and 5 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-8
2 additions, 8 deletions
.gitlab-ci.yml
workflow/tests/test_trimData.py
+2
-5
2 additions, 5 deletions
workflow/tests/test_trimData.py
with
4 additions
and
13 deletions
.gitlab-ci.yml
+
2
−
8
View file @
947e7543
...
...
@@ -26,19 +26,13 @@ getData:
-
singularity run 'docker://bicf/gudmaprbkfilexfer:1.3' sh ./workflow/scripts/bdbagFetch.sh Replicate_16-1ZX4 16-1ZX4
-
pytest -m getData
trimData
_se
:
trimData
:
stage
:
unit
script
:
-
if [ `nproc` -gt 8 ]; then ncore=8; else ncore=`nproc`; fi
-
singularity run 'docker://bicf/trimgalore:1.1' trim_galore --gzip -q 25 --illumina --length 35 --basename 16-1ZX4 -j ${ncore} ./test_data/fastq/16-1ZX4.R1.fastq.gz
-
pytest -m trimData_se
trimData_pe
:
stage
:
unit
script
:
-
if [ `nproc` -gt 8 ]; then ncore=8; else ncore=`nproc`; fi
-
singularity run 'docker://bicf/trimgalore:1.1' trim_galore --gzip -q 25 --illumina --length 35 --paired --basename Q-Y5JA -j ${ncore} ./test_data/fastq/Q-Y5JA.R1.fastq.gz ./test_data/fastq/Q-Y5JA.R2.fastq.gz
-
pytest -m trimData
_pe
-
pytest -m trimData
integration_se
:
stage
:
integration
...
...
This diff is collapsed.
Click to expand it.
workflow/tests/test_trimData.py
+
2
−
5
View file @
947e7543
...
...
@@ -8,11 +8,8 @@ import os
test_output_path
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
+
\
'
/../../
'
@pytest.mark.trimData
_se
def
test_trimData
_se
():
@pytest.mark.trimData
def
test_trimData
():
assert
os
.
path
.
exists
(
os
.
path
.
join
(
test_output_path
,
'
16-1ZX4_trimmed.fq.gz
'
))
@pytest.mark.trimData_pe
def
test_trimData_pe
():
assert
os
.
path
.
exists
(
os
.
path
.
join
(
test_output_path
,
'
Q-Y5JA_R1_val_1.fq.gz
'
))
assert
os
.
path
.
exists
(
os
.
path
.
join
(
test_output_path
,
'
Q-Y5JA_R2_val_2.fq.gz
'
))
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment