Skip to content

Commit

Permalink
stage before pull
Browse files Browse the repository at this point in the history
  • Loading branch information
mapo9 committed Apr 10, 2024
1 parent 6639f0f commit 2a42c32
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
18 changes: 10 additions & 8 deletions modules/local/trust4.nf
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,16 @@ process TRUST4 {
tuple val(meta3), path(vdj_reference)

output:
tuple val(meta), path("*.tsv") , emit: tsv
tuple val(meta), path("*_airr.tsv") , emit: airr_files
tuple val(meta), path("${meta.id}_airr.tsv") , emit: airr_tsv
tuple val(meta), path("*_report.tsv") , emit: report_tsv
tuple val(meta), path("*.fa") , emit: fasta
tuple val(meta), path("*.out") , emit: out
tuple val(meta), path("*.fq") , emit: fq
path "versions.yml" , emit: versions
tuple val(meta), path("*.tsv") , emit: tsv
tuple val(meta), path("*_airr.tsv") , emit: airr_files
tuple val(meta), path("${meta.id}_airr.tsv") , emit: airr_tsv
tuple val(meta), path("${meta.id}_barcode_airr.tsv") , emit: barcode_airr
tuple val(meta), path("*_report.tsv") , emit: report_tsv
tuple val(meta), path("*.fa") , emit: fasta
tuple val(meta), path("*.out") , emit: out
tuple val(meta), path("*.fq") , emit: fq
tuple val(meta), path("**") , emit: outs
path "versions.yml" , emit: versions

when:
task.ext.when == null || task.ext.when
Expand Down
4 changes: 3 additions & 1 deletion subworkflows/local/rnaseq_input.nf
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ workflow RNASEQ_INPUT {
)

ch_trust4_out = TRUST4.out.out
ch_trust4_airr = TRUST4.out.airr_tsv
//ch_trust4_airr = TRUST4.out.airr_tsv
ch_trust4_airr = TRUST4.out.barcode_airr

ch_trust4_airr.view()
// rename tsv file to unique name
RENAME_FILE_TSV(
ch_trust4_airr
Expand Down
2 changes: 1 addition & 1 deletion subworkflows/local/sc_raw_input.nf
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ workflow SC_RAW_INPUT {
[ meta, out_files.find { it.endsWith("airr_rearrangement.tsv") } ]
}
.set { ch_cellranger_airr }

// TODO : add VALIDATE_INPUT Module
// this module requires input in csv format... Might need to create this in an extra module

Expand Down

0 comments on commit 2a42c32

Please sign in to comment.