Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
chipseq_analysis
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
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
Astrocyte
Workflows
BICF
chipseq_analysis
Commits
7a76914b
Commit
7a76914b
authored
5 years ago
by
Venkat Malladi
Browse files
Options
Downloads
Patches
Plain Diff
Changed singularity container to allow for rendering of references.
parent
60b877d9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
workflow/main.nf
+2
-2
2 additions, 2 deletions
workflow/main.nf
workflow/tests/test_generate_software_references.py
+12
-0
12 additions, 0 deletions
workflow/tests/test_generate_software_references.py
with
15 additions
and
2 deletions
CHANGELOG.md
+
1
−
0
View file @
7a76914b
...
...
@@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file.
-
Make gtf and geneName files as param inputs
-
Fix xcor to increase file size for --random-source
-
Fix skip diff test for paired-end data
-
Fix references to display in Multiqc report
## [publish_1.0.6 ] - 2019-05-31
### Added
...
...
This diff is collapsed.
Click to expand it.
workflow/main.nf
+
2
−
2
View file @
7a76914b
...
...
@@ -654,10 +654,10 @@ process multiqcReport {
"""
echo $workflow.nextflow.version > version_nextflow.txt
singularity exec
/
project/shared/bicf_workflow_ref/singularity_images/multiqc
.sif
multiqc --version > version_multiqc.txt
singularity exec project/shared/bicf_workflow_ref/singularity_images/
bicf-
multiqc
-2.0.0.img
multiqc --version > version_multiqc.txt
python --version &> version_python.txt
python3 $baseDir/scripts/generate_references.py -r $references -o software_references
python3 $baseDir/scripts/generate_versions.py -o software_versions
singularity exec
/
project/shared/bicf_workflow_ref/singularity_images/multiqc
.sif
multiqc -c $multiqc .
singularity exec project/shared/bicf_workflow_ref/singularity_images/
bicf-
multiqc
-2.0.0.img
multiqc -c $multiqc .
"""
}
This diff is collapsed.
Click to expand it.
workflow/tests/test_generate_software_references.py
+
12
−
0
View file @
7a76914b
...
...
@@ -4,6 +4,7 @@ import pytest
import
os
import
utils
import
yaml
from
bs4
import
BeautifulSoup
test_output_path
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
+
\
'
/../output/multiqcReport/
'
...
...
@@ -21,3 +22,14 @@ def test_software_references_output():
data_loaded
=
yaml
.
load
(
stream
)
assert
len
(
data_loaded
[
'
data
'
].
split
(
'
<ul>
'
))
==
19
@pytest.mark.singleend
def
test_software_references_html
():
multiqc_report
=
os
.
path
.
join
(
test_output_path
,
'
multiqc_report.html
'
)
html_file
=
open
(
multiqc_report
,
'
r
'
)
source_code
=
html_file
.
read
()
multiqc_html
=
BeautifulSoup
(
source_code
,
'
html.parser
'
)
references
=
multiqc_html
.
find
(
id
=
"
mqc-module-section-Software_References
"
)
assert
references
is
not
None
assert
len
(
references
.
find_all
(
'
ul
'
))
==
18
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