Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cellranger_mkfastq
Manage
Activity
Members
Labels
Plan
Issues
7
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
1
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
BICF
Astrocyte
cellranger_mkfastq
Commits
4ca2deb0
There was an error fetching the commit references. Please try again later.
Commit
4ca2deb0
authored
4 years ago
by
Jeremy Mathews
Browse files
Options
Downloads
Patches
Plain Diff
Update versions to run correctly
parent
b4b389fc
1 merge request
!75
Buzz lightyear
Pipeline
#8351
failed with stages
in 5 minutes and 3 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
workflow/main.nf
+4
-4
4 additions, 4 deletions
workflow/main.nf
workflow/scripts/generate_versions.py
+16
-2
16 additions, 2 deletions
workflow/scripts/generate_versions.py
workflow/scripts/versions_cellranger.sh
+1
-1
1 addition, 1 deletion
workflow/scripts/versions_cellranger.sh
with
21 additions
and
7 deletions
workflow/main.nf
+
4
−
4
View file @
4ca2deb0
...
...
@@ -189,7 +189,7 @@ process cellranger_mkfastq {
val "${bcl.simpleName}" into bclNameCell
file("**/outs/**/*.fastq.gz") into cellrangerCount mode flatten
file("**/outs/fastq_path/Stats/*") into bqcPathsCell
file("version_ranger.txt") into version_cellranger
file("version_
Cell
ranger.txt") into version_cellranger
file("version_bcl2fastq.txt") into version_bcl2fastqCell
when:
...
...
@@ -204,7 +204,7 @@ process cellranger_mkfastq {
mkdir fq
mkdir "fq/${bcl.simpleName}"
find . -name "*.fastq.gz" -exec cp {} fq/${bcl.simpleName}/ \\;
bash versions_cellranger.sh > version_ranger.txt
bash versions_cellranger.sh > version_
Cell
ranger.txt
bash versions_bcl2fastq.sh > version_bcl2fastq.txt
"""
}
...
...
@@ -227,7 +227,7 @@ process spaceranger_mkfastq {
val "${bcl.simpleName}" into bclNameSpace
file("**/outs/**/*.fastq.gz") into spacerangerCount mode flatten
file("**/outs/fastq_path/Stats/*") into bqcPathsSpace
file("version_ranger.txt") into version_spaceranger
file("version_
Space
ranger.txt") into version_spaceranger
file("version_bcl2fastq.txt") into version_bcl2fastqSpace
when:
...
...
@@ -242,7 +242,7 @@ process spaceranger_mkfastq {
mkdir fq
mkdir "fq/${bcl.simpleName}"
find . -name "*.fastq.gz" -exec cp {} fq/${bcl.simpleName}/ \\;
bash versions_spaceranger.sh > version_ranger.txt
bash versions_spaceranger.sh > version_
Space
ranger.txt
bash versions_bcl2fastq.sh > version_bcl2fastq.txt
"""
}
...
...
This diff is collapsed.
Click to expand it.
workflow/scripts/generate_versions.py
+
16
−
2
View file @
4ca2deb0
...
...
@@ -25,12 +25,12 @@ logger.addHandler(logging.NullHandler())
logger
.
propagate
=
False
logger
.
setLevel
(
logging
.
INFO
)
SOFTWARE_REGEX
=
{
'
Pipeline
'
:
[
'
version_pipeline.txt
'
,
r
"
(\S+)
"
],
'
Nextflow
'
:
[
'
version_nextflow.txt
'
,
r
"
(\S+)
"
],
'
python
'
:
[
'
version_python.txt
'
,
r
"
(\S+)
"
],
#'pigz': ['version_pigz.txt', r"(\S+)"],
'
10x-ranger
'
:
[
'
version_ranger.txt
'
,
r
"
(\S+)
"
],
'
bcl2fastq
'
:
[
'
version_bcl2fastq.txt
'
,
r
"
(\S+)
"
],
'
fastqc
'
:
[
'
version_fastqc.txt
'
,
r
"
(\S+)
"
],
}
...
...
@@ -56,6 +56,18 @@ def get_args():
return
args
def
rangerType
(
files
):
'''
Determine Type of Ranger being used
'''
for
fname
in
files
:
ranger
=
re
.
findall
(
"
version_(.*)ranger.txt
"
,
fname
)
if
not
ranger
:
continue
ranger_type
=
ranger
[
0
]
+
"
ranger
"
SOFTWARE_REGEX
[
ranger_type
]
=
[
fname
,
r
"
(\S+)
"
]
return
ranger_type
def
check_files
(
files
):
'''
Check if version files are found.
'''
...
...
@@ -77,12 +89,14 @@ def main():
out_filename
=
output
+
'
_mqc.yaml
'
ranger_type
=
rangerType
(
files
)
results
=
OrderedDict
()
results
[
'
Pipeline
'
]
=
'
<span style=
"
color:#999999;
\"
>N/A</span>
'
results
[
'
Nextflow
'
]
=
'
<span style=
"
color:#999999;
\"
>N/A</span>
'
results
[
'
python
'
]
=
'
<span style=
"
color:#999999;
\"
>N/A</span>
'
#results['pigz'] = '<span style="color:#999999;\">N/A</span>'
results
[
'
10x-
ranger
'
]
=
'
<span style=
"
color:#999999;
\"
>N/A</span>
'
results
[
ranger
_type
]
=
'
<span style=
"
color:#999999;
\"
>N/A</span>
'
results
[
'
bcl2fastq
'
]
=
'
<span style=
"
color:#999999;
\"
>N/A</span>
'
results
[
'
fastqc
'
]
=
'
<span style=
"
color:#999999;
\"
>N/A</span>
'
...
...
This diff is collapsed.
Click to expand it.
workflow/scripts/versions_cellranger.sh
+
1
−
1
View file @
4ca2deb0
...
...
@@ -6,4 +6,4 @@
#* --------------------------------------------------------------------------
#*
cellranger mkfastq
--version
|
grep
'cellranger mkfastq '
|
sed
's/.*(\(.*\))/\1/'
\ No newline at end of file
cellranger mkfastq
--version
|
grep
'cellranger mkfastq '
|
sed
's/.*-\(.*\))/\1/'
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