Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cellranger-count
Manage
Activity
Members
Labels
Plan
Issues
3
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
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
Strand Lab
cellranger-count
Commits
e82db028
Commit
e82db028
authored
7 months ago
by
John Lafin
Browse files
Options
Downloads
Patches
Plain Diff
Include sample sheet in workdir
parent
bfcf2b9f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
workflow/main.nf
+3
-1
3 additions, 1 deletion
workflow/main.nf
with
3 additions
and
1 deletion
workflow/main.nf
+
3
−
1
View file @
e82db028
...
@@ -27,6 +27,7 @@ process cr_count {
...
@@ -27,6 +27,7 @@ process cr_count {
input:
input:
tuple val(sample), val(ref), val(expectCells), val(chemistry), val(introns), val(noBam)
tuple val(sample), val(ref), val(expectCells), val(chemistry), val(introns), val(noBam)
path(fastq)
path(fastq)
path(sample_sheet)
output:
output:
tuple val(sample), path("${task.index}_${sample}/outs/**")
tuple val(sample), path("${task.index}_${sample}/outs/**")
...
@@ -80,8 +81,9 @@ process cr_count {
...
@@ -80,8 +81,9 @@ process cr_count {
workflow {
workflow {
// Parse sample sheet and run cellranger count
// Parse sample sheet and run cellranger count
fastq = channel.fromPath(params.fastq).collect()
fastq = channel.fromPath(params.fastq).collect()
sample_sheet = channel.fromPath(params.sample_sheet)
input = channel.fromPath(params.sample_sheet) \
input = channel.fromPath(params.sample_sheet) \
| splitCsv(header: true) \
| splitCsv(header: true) \
| map{ row -> tuple( row.sample, row.reference, row.expectCells, row.chemistry, row.introns, row.noBam ) }
| map{ row -> tuple( row.sample, row.reference, row.expectCells, row.chemistry, row.introns, row.noBam ) }
cr_count(input, fastq)
cr_count(input, fastq
, sample_sheet
)
}
}
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