Skip to content

Commit

Permalink
Fix code style problems
Browse files Browse the repository at this point in the history
  • Loading branch information
nictru committed May 27, 2024
1 parent e6e3157 commit f351b96
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 24 deletions.
4 changes: 2 additions & 2 deletions subworkflows/local/discovery/annotation.nf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ workflow ANNOTATION {
regions
gtf
exon_boundary

main:
ch_versions = Channel.empty()

Expand All @@ -35,4 +35,4 @@ workflow ANNOTATION {
gtf = COMBINE_GTFS.out.sorted

versions = ch_versions
}
}
6 changes: 3 additions & 3 deletions subworkflows/local/discovery/circexplorer2.nf
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ workflow CIRCEXPLORER2 {
gtf
fasta
star_junctions

main:
ch_versions = Channel.empty()

REFERENCE( gtf )
PARSE( star_junctions )
ANNOTATE( PARSE.out.junction, fasta, REFERENCE.out.txt )
Expand All @@ -27,4 +27,4 @@ workflow CIRCEXPLORER2 {
bed = UNIFY.out.output

versions = ch_versions
}
}
10 changes: 5 additions & 5 deletions subworkflows/local/discovery/circrna_finder.nf
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ workflow CIRCRNA_FINDER {
star_sam
star_junctions
star_tab

main:
ch_versions = Channel.empty()

ch_joined = star_sam.join(star_junctions).join(star_tab)
.map{ meta, sam, junction, tab ->
.map{ meta, sam, junction, tab ->
[ meta + [tool: "circrna_finder"], [sam, junction, tab] ] }

MAIN( ch_joined )
UNIFY( MAIN.out.results, [] )

ch_versions = ch_versions.mix(MAIN.out.versions)
ch_versions = ch_versions.mix(UNIFY.out.versions)

emit:
bed = UNIFY.out.output

versions = ch_versions
}
}
4 changes: 2 additions & 2 deletions subworkflows/local/discovery/ciriquant.nf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ workflow CIRIQUANT {
ch_fasta
bwa_index
hisat2_index

main:
ch_versions = Channel.empty()

Expand All @@ -23,4 +23,4 @@ workflow CIRIQUANT {
bed = UNIFY.out.output

versions = ch_versions
}
}
8 changes: 4 additions & 4 deletions subworkflows/local/discovery/dcc.nf
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ workflow DCC {
seq_platform
seq_center
bsj_reads

main:
ch_versions = Channel.empty()

mate1 = reads.filter{ meta, reads -> !meta.single_end }
.map{ meta, reads -> return [ [id: meta.id, single_end: true], reads[0] ] }
MATE1_1ST_PASS( mate1, star_index, ch_gtf, ignore_sjdbgtf, seq_platform, seq_center )
Expand Down Expand Up @@ -62,6 +62,6 @@ workflow DCC {

emit:
bed = UNIFY.out.output

versions = ch_versions
}
}
4 changes: 2 additions & 2 deletions subworkflows/local/discovery/find_circ.nf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ workflow FIND_CIRC {
reads
bowtie2_index
ch_fasta

main:
ch_versions = Channel.empty()

Expand All @@ -33,4 +33,4 @@ workflow FIND_CIRC {
bed = UNIFY.out.output

versions = ch_versions
}
}
6 changes: 3 additions & 3 deletions subworkflows/local/discovery/mapsplice.nf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ workflow MAPSPLICE {
bowtie_index
chromosomes
star_junctions

main:
ch_versions = Channel.empty()

Expand All @@ -28,9 +28,9 @@ workflow MAPSPLICE {
ch_versions = ch_versions.mix(PARSE.out.versions)
ch_versions = ch_versions.mix(ANNOTATE.out.versions)
ch_versions = ch_versions.mix(UNIFY.out.versions)

emit:
bed = UNIFY.out.output

versions = ch_versions
}
}
2 changes: 1 addition & 1 deletion subworkflows/local/discovery/segemehl.nf
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ workflow SEGEMEHL {
bed = UNIFY.out.output

versions = ch_versions
}
}
4 changes: 2 additions & 2 deletions subworkflows/local/discovery/star2pass.nf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ workflow STAR2PASS {
ignore_sjdbgtf
seq_center
seq_platform

main:
ch_versions = Channel.empty()

Expand All @@ -31,4 +31,4 @@ workflow STAR2PASS {
tab = PASS_2.out.tab

versions = ch_versions
}
}

0 comments on commit f351b96

Please sign in to comment.