Skip to content

Commit d7aa733

Browse files
committed
refactor: nf-core subworkflows install bedgraph_bedclip_bedgraphtobigwig
1 parent cfc96f5 commit d7aa733

File tree

5 files changed

+52
-13
lines changed

5 files changed

+52
-13
lines changed

conf/modules.config

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -435,15 +435,15 @@ if (!params.skip_alignment) {
435435
]
436436
}
437437

438-
withName: '.*:BEDGRAPH_TO_BIGWIG_FORWARD:UCSC_BEDCLIP' {
438+
withName: '.*:BEDGRAPH_BEDCLIP_BEDGRAPHTOBIGWIG_FORWARD:UCSC_BEDCLIP' {
439439
ext.prefix = { "${meta.id}.clip.forward" }
440440
publishDir = [
441441
path: { "${params.outdir}/${params.aligner}" },
442442
enabled: false
443443
]
444444
}
445445

446-
withName: '.*:BEDGRAPH_TO_BIGWIG_FORWARD:UCSC_BEDGRAPHTOBIGWIG' {
446+
withName: '.*:BEDGRAPH_BEDCLIP_BEDGRAPHTOBIGWIG_FORWARD:UCSC_BEDGRAPHTOBIGWIG' {
447447
ext.prefix = { "${meta.id}.forward" }
448448
publishDir = [
449449
path: { "${params.outdir}/${params.aligner}/bigwig" },
@@ -452,15 +452,15 @@ if (!params.skip_alignment) {
452452
]
453453
}
454454

455-
withName: '.*:BEDGRAPH_TO_BIGWIG_REVERSE:UCSC_BEDCLIP' {
455+
withName: '.*:BEDGRAPH_BEDCLIP_BEDGRAPHTOBIGWIG_REVERSE:UCSC_BEDCLIP' {
456456
ext.prefix = { "${meta.id}.clip.reverse" }
457457
publishDir = [
458458
path: { "${params.outdir}/${params.aligner}" },
459459
enabled: false
460460
]
461461
}
462462

463-
withName: '.*:BEDGRAPH_TO_BIGWIG_REVERSE:UCSC_BEDGRAPHTOBIGWIG' {
463+
withName: '.*:BEDGRAPH_BEDCLIP_BEDGRAPHTOBIGWIG_REVERSE:UCSC_BEDGRAPHTOBIGWIG' {
464464
ext.prefix = { "${meta.id}.reverse" }
465465
publishDir = [
466466
path: { "${params.outdir}/${params.aligner}/bigwig" },

modules.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,10 @@
194194
"branch": "master",
195195
"git_sha": "5e34754d42cd2d5d248ca8673c0a53cdf5624905"
196196
},
197+
"bedgraph_bedclip_bedgraphtobigwig": {
198+
"branch": "master",
199+
"git_sha": "b81a313d8fac0a82a8a4ff0de80590b2f97f11ad"
200+
},
197201
"fastq_align_hisat2": {
198202
"branch": "master",
199203
"git_sha": "9057e75e8ac959373a72a9402130fdea2e2d1398"

subworkflows/nf-core/bedgraph_to_bigwig.nf renamed to subworkflows/nf-core/bedgraph_bedclip_bedgraphtobigwig/main.nf

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

subworkflows/nf-core/bedgraph_bedclip_bedgraphtobigwig/meta.yml

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workflows/rnaseq.nf

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,10 @@ include {
152152
BAM_DEDUP_STATS_SAMTOOLS_UMITOOLS as BAM_DEDUP_STATS_SAMTOOLS_UMITOOLS_GENOME
153153
BAM_DEDUP_STATS_SAMTOOLS_UMITOOLS as BAM_DEDUP_STATS_SAMTOOLS_UMITOOLS_TRANSCRIPTOME
154154
} from '../subworkflows/nf-core/bam_dedup_stats_samtools_umitools/main'
155-
include { BEDGRAPH_TO_BIGWIG as BEDGRAPH_TO_BIGWIG_FORWARD } from '../subworkflows/nf-core/bedgraph_to_bigwig'
156-
include { BEDGRAPH_TO_BIGWIG as BEDGRAPH_TO_BIGWIG_REVERSE } from '../subworkflows/nf-core/bedgraph_to_bigwig'
155+
include {
156+
BEDGRAPH_BEDCLIP_BEDGRAPHTOBIGWIG as BEDGRAPH_BEDCLIP_BEDGRAPHTOBIGWIG_FORWARD
157+
BEDGRAPH_BEDCLIP_BEDGRAPHTOBIGWIG as BEDGRAPH_BEDCLIP_BEDGRAPHTOBIGWIG_REVERSE
158+
} from '../subworkflows/nf-core/bedgraph_bedclip_bedgraphtobigwig/main'
157159

158160
/*
159161
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -642,13 +644,13 @@ workflow RNASEQ {
642644
//
643645
// SUBWORKFLOW: Convert bedGraph to bigWig
644646
//
645-
BEDGRAPH_TO_BIGWIG_FORWARD (
647+
BEDGRAPH_BEDCLIP_BEDGRAPHTOBIGWIG_FORWARD (
646648
BEDTOOLS_GENOMECOV.out.bedgraph_forward,
647649
PREPARE_GENOME.out.chrom_sizes
648650
)
649-
ch_versions = ch_versions.mix(BEDGRAPH_TO_BIGWIG_FORWARD.out.versions)
651+
ch_versions = ch_versions.mix(BEDGRAPH_BEDCLIP_BEDGRAPHTOBIGWIG_FORWARD.out.versions)
650652

651-
BEDGRAPH_TO_BIGWIG_REVERSE (
653+
BEDGRAPH_BEDCLIP_BEDGRAPHTOBIGWIG_REVERSE (
652654
BEDTOOLS_GENOMECOV.out.bedgraph_reverse,
653655
PREPARE_GENOME.out.chrom_sizes
654656
)

0 commit comments

Comments
 (0)