Skip to content

Commit 1faf8b1

Browse files
committed
Fix paths in subworkflows
1 parent 0260f9e commit 1faf8b1

File tree

10 files changed

+18
-22
lines changed

10 files changed

+18
-22
lines changed

subworkflows/nf-core/bam_trim_primers_ivar.nf renamed to subworkflows/local/bam_trim_primers_ivar.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//
44

55
include { IVAR_TRIM } from '../../modules/nf-core/ivar/trim/main'
6-
include { BAM_SORT_STATS_SAMTOOLS } from './bam_sort_stats_samtools/main'
6+
include { BAM_SORT_STATS_SAMTOOLS } from '../nf-core/bam_sort_stats_samtools/main'
77

88
workflow BAM_TRIM_PRIMERS_IVAR {
99
take:
File renamed without changes.

subworkflows/nf-core/filter_bam_samtools.nf renamed to subworkflows/local/filter_bam_samtools.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
include { SAMTOOLS_VIEW } from '../../modules/nf-core/samtools/view/main'
66
include { SAMTOOLS_INDEX } from '../../modules/nf-core/samtools/index/main'
7-
include { BAM_STATS_SAMTOOLS } from './bam_stats_samtools'
7+
include { BAM_STATS_SAMTOOLS } from '../nf-core/bam_stats_samtools/main'
88

99
workflow FILTER_BAM_SAMTOOLS {
1010
take:

subworkflows/local/snpeff_snpsift.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
include { SNPEFF_ANN } from '../../modules/local/snpeff_ann'
66
include { SNPSIFT_EXTRACTFIELDS } from '../../modules/local/snpsift_extractfields'
77

8-
include { VCF_BGZIP_TABIX_STATS } from '../nf-core/vcf_bgzip_tabix_stats'
8+
include { VCF_BGZIP_TABIX_STATS } from './vcf_bgzip_tabix_stats'
99

1010
workflow SNPEFF_SNPSIFT {
1111
take:

subworkflows/local/variants_bcftools.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
include { BCFTOOLS_MPILEUP } from '../../modules/nf-core/bcftools/mpileup/main'
66
include { BCFTOOLS_NORM } from '../../modules/nf-core/bcftools/norm/main'
7-
include { VCF_TABIX_STATS } from '../nf-core/vcf_tabix_stats'
7+
include { VCF_TABIX_STATS } from './vcf_tabix_stats'
88
include { VARIANTS_QC } from './variants_qc'
99

1010
workflow VARIANTS_BCFTOOLS {

subworkflows/local/variants_ivar.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
include { IVAR_VARIANTS } from '../../modules/nf-core/ivar/variants/main'
66
include { IVAR_VARIANTS_TO_VCF } from '../../modules/local/ivar_variants_to_vcf'
77
include { BCFTOOLS_SORT } from '../../modules/nf-core/bcftools/sort/main'
8-
include { VCF_TABIX_STATS } from '../nf-core/vcf_tabix_stats'
8+
include { VCF_TABIX_STATS } from './vcf_tabix_stats'
99
include { VARIANTS_QC } from './variants_qc'
1010

1111
workflow VARIANTS_IVAR {
File renamed without changes.

workflows/illumina.nf

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,18 @@ include { PLOT_MOSDEPTH_REGIONS as PLOT_MOSDEPTH_REGIONS_AMPLICON } from '../mod
6363
//
6464
// SUBWORKFLOW: Consisting of a mix of local and nf-core/modules
6565
//
66-
include { INPUT_CHECK } from '../subworkflows/local/input_check'
67-
include { PREPARE_GENOME } from '../subworkflows/local/prepare_genome_illumina'
68-
include { VARIANTS_IVAR } from '../subworkflows/local/variants_ivar'
69-
include { VARIANTS_BCFTOOLS } from '../subworkflows/local/variants_bcftools'
70-
include { CONSENSUS_IVAR } from '../subworkflows/local/consensus_ivar'
71-
include { CONSENSUS_BCFTOOLS } from '../subworkflows/local/consensus_bcftools'
72-
include { VARIANTS_LONG_TABLE } from '../subworkflows/local/variants_long_table'
73-
include { ASSEMBLY_SPADES } from '../subworkflows/local/assembly_spades'
74-
include { ASSEMBLY_UNICYCLER } from '../subworkflows/local/assembly_unicycler'
75-
include { ASSEMBLY_MINIA } from '../subworkflows/local/assembly_minia'
66+
include { INPUT_CHECK } from '../subworkflows/local/input_check'
67+
include { PREPARE_GENOME } from '../subworkflows/local/prepare_genome_illumina'
68+
include { VARIANTS_IVAR } from '../subworkflows/local/variants_ivar'
69+
include { VARIANTS_BCFTOOLS } from '../subworkflows/local/variants_bcftools'
70+
include { CONSENSUS_IVAR } from '../subworkflows/local/consensus_ivar'
71+
include { CONSENSUS_BCFTOOLS } from '../subworkflows/local/consensus_bcftools'
72+
include { VARIANTS_LONG_TABLE } from '../subworkflows/local/variants_long_table'
73+
include { ASSEMBLY_SPADES } from '../subworkflows/local/assembly_spades'
74+
include { ASSEMBLY_UNICYCLER } from '../subworkflows/local/assembly_unicycler'
75+
include { ASSEMBLY_MINIA } from '../subworkflows/local/assembly_minia'
76+
include { BAM_TRIM_PRIMERS_IVAR } from '../subworkflows/local/bam_trim_primers_ivar'
77+
include { FASTQ_TRIM_FASTP_FASTQC } from '../subworkflows/local/fastq_trim_fastp_fastqc'
7678

7779
/*
7880
========================================================================================
@@ -94,9 +96,7 @@ include { MOSDEPTH as MOSDEPTH_AMPLICON } from '../modules/nf-core/mosdepth/main
9496
//
9597
// SUBWORKFLOW: Consisting entirely of nf-core/modules
9698
//
97-
include { FASTQ_TRIM_FASTP_FASTQC } from '../subworkflows/nf-core/fastq_trim_fastp_fastqc'
9899
include { FASTQ_ALIGN_BOWTIE2 } from '../subworkflows/nf-core/fastq_align_bowtie2/main'
99-
include { BAM_TRIM_PRIMERS_IVAR } from '../subworkflows/nf-core/bam_trim_primers_ivar'
100100
include { BAM_MARKDUPLICATES_PICARD } from '../subworkflows/nf-core/bam_markduplicates_picard'
101101

102102
/*

workflows/nanopore.nf

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ include { INPUT_CHECK } from '../subworkflows/local/input_check'
6262
include { PREPARE_GENOME } from '../subworkflows/local/prepare_genome_nanopore'
6363
include { SNPEFF_SNPSIFT } from '../subworkflows/local/snpeff_snpsift'
6464
include { VARIANTS_LONG_TABLE } from '../subworkflows/local/variants_long_table'
65+
include { FILTER_BAM_SAMTOOLS } from '../subworkflows/local/filter_bam_samtools'
6566

6667
/*
6768
========================================================================================
@@ -86,11 +87,6 @@ include { CUSTOM_DUMPSOFTWAREVERSIONS } from '../modules/nf-core/custom/dumpso
8687
include { MOSDEPTH as MOSDEPTH_GENOME } from '../modules/nf-core/mosdepth/main'
8788
include { MOSDEPTH as MOSDEPTH_AMPLICON } from '../modules/nf-core/mosdepth/main'
8889

89-
//
90-
// SUBWORKFLOW: Consisting entirely of nf-core/modules
91-
//
92-
include { FILTER_BAM_SAMTOOLS } from '../subworkflows/nf-core/filter_bam_samtools'
93-
9490
/*
9591
========================================================================================
9692
RUN MAIN WORKFLOW

0 commit comments

Comments
 (0)