Skip to content

Commit

Permalink
use project 1 and add file
Browse files Browse the repository at this point in the history
  • Loading branch information
allyhawkins committed Jan 2, 2024
1 parent d684ab7 commit 9ef62cf
Show file tree
Hide file tree
Showing 20 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nextflow-stub-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Check Nextflow workflow for merging objects
uses: docker://nextflow/nextflow:21.10.6
with:
args: nextflow -log merge-run.log run merge.nf -stub -profile stub -ansi-log false --project STUBP06
args: nextflow -log merge-run.log run merge.nf -stub -profile stub -ansi-log false --project STUBP01

- name: Join log files
if: ${{ !cancelled() }}
Expand Down
2 changes: 1 addition & 1 deletion merge.nf
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ workflow {
.map{[
it.scpca_project_id,
it.scpca_library_id,
"${params.results_dir}/${it.scpca_project_id}/${it.scpca_sample_id}/${it.scpca_library_id}_processed.rds"
file("${params.results_dir}/${it.scpca_project_id}/${it.scpca_sample_id}/${it.scpca_library_id}_processed.rds")
]}
// only include libraries that have been processed through scpca-nf
.filter{file(it[2]).exists()}
Expand Down
9 changes: 8 additions & 1 deletion test/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
output/
output/checkpoints/
output/results/STUBP02/
output/results/STUBP03/
output/results/STUBP04/
output/results/STUBP05/
output/results/STUBP06/
output/results/STUBP07/
output/results/STUBP08/
Empty file.
Empty file.
Empty file.
1 change: 1 addition & 0 deletions test/output/results/STUBP01/STUBS01/STUBL01_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"unfiltered_cells": 10, "filtered_cells": 10, "processed_cells": 10}
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
1 change: 1 addition & 0 deletions test/output/results/STUBP01/STUBS16/STUBL16_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"unfiltered_cells": 10, "filtered_cells": 10, "processed_cells": 10}
Empty file.
Empty file.
Empty file.
Empty file.
1 change: 1 addition & 0 deletions test/stub-run-metadata.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ STUBR12 STUBL11 STUBS12,STUBS13 STUBP06 10Xv3.1 cell stub test/runs/STUBR12 NA N
STUBR13 STUBL11 STUBS12,STUBS13 STUBP06 cellhash_10Xv3 cell stub test/runs/STUBR13 test/references/barcodes/cellhash.stub.tsv 2[1-15] NA NA NA
STUBR14 STUBL12 STUBS14 STUBP07 10Xv3.1 cell stub test/runs/STUBR14 NA NA NA NA test/celltypes/STUBL12-submitter-celltypes.tsv
STUBR15 STUBL13 STUBS15 STUBP08 10Xv3.1 cell stub test/runs/STUBR15 NA NA NA NA NA
STUBR16 STUBL16 STUBS16 STUBP01 10Xv2 cell stub test/runs/STUBR16 NA NA NA NA NA

0 comments on commit 9ef62cf

Please sign in to comment.