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
8f3b2fe6
There was a problem fetching the pipeline stages.
Commit
8f3b2fe6
authored
6 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Patches
Plain Diff
Updates, CI, config, main, check_design
parent
f8e6940f
Branches
Branches containing commit
Tags
Tags containing commit
3 merge requests
!5
Develop
,
!3
Develop
,
!2
Resolve "Migrate cellranger_count basics"
Pipeline
#3343
failed with stages
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+12
-5
12 additions, 5 deletions
.gitlab-ci.yml
workflow/conf/biohpc.config
+1
-0
1 addition, 0 deletions
workflow/conf/biohpc.config
workflow/main.nf
+9
-7
9 additions, 7 deletions
workflow/main.nf
workflow/scripts/check_design.py
+1
-1
1 addition, 1 deletion
workflow/scripts/check_design.py
with
23 additions
and
13 deletions
.gitlab-ci.yml
+
12
−
5
View file @
8f3b2fe6
before_script
:
-
module load python/3.6.1-2-anaconda
-
module load nextflow/0.27.6
-
ln -s /project/shared/bicf_workflow_ref/workflow_testdata/cellranger_mkfastq/*tar.gz test_data/
-
module load nextflow/0.31.1_Ignite
-
mkdir test_data/simple
-
ln -s /project/shared/bicf_workflow_ref/workflow_testdata/cellranger/cellranger_mkfastq/simple/* test_data/simple/
stages
:
-
integration
-
astrocyte
-
simple
astrocyte_check
:
stage
:
astrocyte
script
:
-
astrocyte_cli check ../cellranger_mkfastq
simple_test
:
stage
:
integration
stage
:
simple
script
:
-
nextflow run workflow/main.nf
-
nextflow run workflow/main.nf
--bcl test_data/simple/*.tar.gz --designFile test_data/simple/cellranger-tiny-bcl-simple-1_2_0.csv
This diff is collapsed.
Click to expand it.
workflow/conf/biohpc.config
+
1
−
0
View file @
8f3b2fe6
...
...
@@ -8,6 +8,7 @@ process {
executor
=
'local'
}
$
untarBCL
{
module
= [
'pigz/2.4'
]
queue
=
'super'
}
$
mkfastq
{
...
...
This diff is collapsed.
Click to expand it.
workflow/main.nf
+
9
−
7
View file @
8f3b2fe6
...
...
@@ -6,14 +6,16 @@
// Define Input variables
params.bcl = "$baseDir/../test_data/*.tar.gz"
params.designFile = "$baseDir/../test_data/design.csv"
params.outDir = "$baseDir/output"
// Define List of Files
tarList = Channel.fromPath( params.bcl )
// Define regular variables
designLocation = Channel
.fromPath(params.designFile)
.ifEmpty { exit 1, "design file not found: ${params.designFile}" }
outDir = params.outDir
process checkDesignFile {
...
...
@@ -21,11 +23,11 @@ process checkDesignFile {
input:
params.designFile
file designLocation
output:
file("design.csv") into designPaths
file("design.
checked.
csv") into designPaths
script:
...
...
@@ -33,7 +35,7 @@ process checkDesignFile {
hostname
ulimit -a
module load python/3.6.1-2-anaconda
python3 $baseDir/scripts/check_design.py -d $
params.designFile
python3 $baseDir/scripts/check_design.py -d $
designLocation
"""
}
...
...
@@ -65,7 +67,7 @@ process untarBCL {
process mkfastq {
tag "${bcl.baseName}"
publishDir "$outDir/${task.process}
/${bcl.baseName}
", mode: 'copy'
publishDir "$outDir/${task.process}", mode: 'copy'
input:
...
...
This diff is collapsed.
Click to expand it.
workflow/scripts/check_design.py
+
1
−
1
View file @
8f3b2fe6
...
...
@@ -70,7 +70,7 @@ def main():
# Check design file
new_design_df
=
check_design_headers
(
design_df
)
new_design_df
.
to_csv
(
'
design.csv
'
,
header
=
True
,
sep
=
'
,
'
,
index
=
False
)
new_design_df
.
to_csv
(
'
design.
checked.
csv
'
,
header
=
True
,
sep
=
'
,
'
,
index
=
False
)
if
__name__
==
'
__main__
'
:
main
()
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