Skip to content

Commit

Permalink
Removed featureCounts and changed names of processes in Stringtie
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Hoffmann committed Nov 26, 2024
1 parent ccb08e9 commit d683713
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 72 deletions.
2 changes: 1 addition & 1 deletion modules/stringtie/stringtie_assemble.nf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
process STRINGTIE_ASSEMBLE {
process ASSEMBLE {
conda (params.enable_conda ? "bioconda::stringtie" : null)
container "${ workflow.containerEngine == 'Singularity' ?
'https://depot.galaxyproject.org/singularity/stringtie%3A2.2.3--h43eeafb_0' :
Expand Down
2 changes: 1 addition & 1 deletion modules/stringtie/stringtie_merge.nf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
process STRINGTIE_MERGE {
process MERGE {
conda (params.enable_conda ? "bioconda::stringtie" : null)
container "${ workflow.containerEngine == 'Singularity' ?
'https://depot.galaxyproject.org/singularity/stringtie%3A2.2.3--h43eeafb_0' :
Expand Down
2 changes: 1 addition & 1 deletion modules/stringtie/stringtie_quant.nf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
process STRINGTIE_QUANTIFY {
process QUANTIFY {
conda (params.enable_conda ? "bioconda::stringtie" : null)
container "${ workflow.containerEngine == 'Singularity' ?
'https://depot.galaxyproject.org/singularity/stringtie%3A2.2.3--h43eeafb_0' :
Expand Down
25 changes: 12 additions & 13 deletions modules/stringtie/stringtie_workflow.nf
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
include { STRINGTIE_ASSEMBLE } from './stringtie_assemble.nf'
include { STRINGTIE_MERGE } from './stringtie_merge.nf'
include { STRINGTIE_QUANTIFY } from './stringtie_quant.nf'
include { ASSEMBLE } from './stringtie_assemble.nf'
include { MERGE } from './stringtie_merge.nf'
include { QUANTIFY } from './stringtie_quant.nf'
include { GFFCOMPARE } from '../gffcompare/gffcompare.nf'
include { FORMAT_GFFCOMPARE } from './stringtie_format_gffcompare.nf'
include { SUBREAD_FEATURECOUNTS } from '../subread/subread_featurecounts.nf'
include { MERGE_COUNTS } from './stringtie_merge_counts.nf'

workflow STRINGTIE {
Expand All @@ -13,30 +12,30 @@ workflow STRINGTIE {
ref_fa

main:
STRINGTIE_ASSEMBLE(
ASSEMBLE(
samples,
input_gtf)

STRINGTIE_MERGE(
STRINGTIE_ASSEMBLE.out.stringtie_assemble_gtf.collect(),
MERGE(
ASSEMBLE.out.stringtie_assemble_gtf.collect(),
input_gtf)

GFFCOMPARE(
input_gtf,
ref_fa,
STRINGTIE_MERGE.out.stringtie_merged_gtf)
MERGE.out.stringtie_merged_gtf)

FORMAT_GFFCOMPARE(
STRINGTIE_MERGE.out.stringtie_merged_gtf,
MERGE.out.stringtie_merged_gtf,
GFFCOMPARE.out.tracking_file)

STRINGTIE_QUANTIFY(
QUANTIFY(
samples,
STRINGTIE_MERGE.out.stringtie_merged_gtf)
MERGE.out.stringtie_merged_gtf)

MERGE_COUNTS(
STRINGTIE_QUANTIFY.out.counts_gene.collect(),
STRINGTIE_QUANTIFY.out.counts_transcript.collect())
QUANTIFY.out.counts_gene.collect(),
QUANTIFY.out.counts_transcript.collect())

emit:
stringtie_gtf = FORMAT_GFFCOMPARE.out.stringtie_gtf
Expand Down
56 changes: 0 additions & 56 deletions modules/subread/subread_featurecounts.nf

This file was deleted.

0 comments on commit d683713

Please sign in to comment.