Skip to content

Commit

Permalink
replace csvtk/concat module with cat/cat module from nf-core
Browse files Browse the repository at this point in the history
  • Loading branch information
anoronh4 committed Aug 5, 2023
1 parent 8fbdb67 commit bc41e13
Show file tree
Hide file tree
Showing 7 changed files with 109 additions and 106 deletions.
1 change: 0 additions & 1 deletion conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ process {
}

withName: MERGE_CFF {
ext.args = { "-H " }
publishDir = [
enabled: false
]
Expand Down
6 changes: 3 additions & 3 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"git_sha": "c8e35eb2055c099720a75538d1b8adb3fb5a464c",
"installed_by": ["modules"]
},
"cat/fastq": {
"cat/cat": {
"branch": "master",
"git_sha": "c8e35eb2055c099720a75538d1b8adb3fb5a464c",
"git_sha": "911696ea0b62df80e900ef244d7867d177971f73",
"installed_by": ["modules"]
},
"csvtk/concat": {
"cat/fastq": {
"branch": "master",
"git_sha": "c8e35eb2055c099720a75538d1b8adb3fb5a464c",
"installed_by": ["modules"]
Expand Down
62 changes: 62 additions & 0 deletions modules/nf-core/cat/cat/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions modules/nf-core/cat/cat/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 0 additions & 43 deletions modules/nf-core/csvtk/concat/main.nf

This file was deleted.

51 changes: 0 additions & 51 deletions modules/nf-core/csvtk/concat/meta.yml

This file was deleted.

15 changes: 7 additions & 8 deletions subworkflows/local/fusion.nf
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ include { STAR_ALIGN as STAR_FOR_STARFUSION } from '../../modules/nf-core/star/a
include { STARFUSION } from '../../modules/local/starfusion/detect/main'
include { FUSIONCATCHER_DETECT } from '../../modules/local/fusioncatcher/detect/main'
include { ONCOKB_FUSIONANNOTATOR } from '../../modules/local/oncokb/fusionannotator/main'
include { CSVTK_CONCAT as CSV_TO_TSV } from '../../modules/nf-core/csvtk/concat/main'
include { TO_CFF as ARRIBA_TO_CFF } from '../../modules/local/convert_to_cff/main'
include { TO_CFF as FUSIONCATCHER_TO_CFF } from '../../modules/local/convert_to_cff/main'
include { TO_CFF as STARFUSION_TO_CFF } from '../../modules/local/convert_to_cff/main'
include { CSVTK_CONCAT as MERGE_CFF } from '../../modules/nf-core/csvtk/concat/main'
include { CAT_CAT as MERGE_CFF } from '../../modules/nf-core/cat/cat/main'
include { METAFUSION } from '../../modules/local/metafusion/main'
include { ADD_FLAG } from '../../modules/local/add_flags/main'

Expand Down Expand Up @@ -86,20 +85,20 @@ workflow FUSION {
.map{ meta, file -> [ meta, "fusioncatcher", file ] } )
STARFUSION_TO_CFF(STARFUSION.out.abridged
.map{ meta, file -> [ meta, "starfusion", file ] })
MERGE_CFF(ARRIBA_TO_CFF.out.cff
MERGE_CFF(
ARRIBA_TO_CFF.out.cff
.map{ meta, file -> [meta, file]}
.mix(
FUSIONCATCHER_TO_CFF.out.cff
.map{ meta, file -> [meta, file]}
.map{ meta, file -> [meta, file]}
).mix(
STARFUSION_TO_CFF.out.cff
.map{ meta, file -> [meta, file]}
.map{ meta, file -> [meta, file]}
).groupTuple(by:[0]),
'tsv',
'tsv')
)

METAFUSION(
MERGE_CFF.out.csv,
MERGE_CFF.out.file_out,
gene_bed,
gene_info,
fasta,
Expand Down

0 comments on commit bc41e13

Please # to comment.