Skip to content

Commit 4d721de

Browse files
committed
remove host removal workflow
1 parent ed30ade commit 4d721de

File tree

5 files changed

+0
-37
lines changed

5 files changed

+0
-37
lines changed

workflows/Nextflow/main.nf

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,6 @@ workflow {
8383
qcReport = FAQCS.out.qcReport
8484
}
8585

86-
//Host reads removal
87-
hostRemovalReport = channel.empty()
88-
if(params.modules.hostRemoval) {
89-
90-
HOSTREMOVAL(baseSettings.plus(params.hostRemoval).plus(params.faqcs),platform,paired,unpaired)
91-
paired = HOSTREMOVAL.out.paired.ifEmpty(["${projectDir}/nf_assets/NO_FILE"])
92-
unpaired = HOSTREMOVAL.out.unpaired.ifEmpty("${projectDir}/nf_assets/NO_FILE2")
93-
hostRemovalReport = HOSTREMOVAL.out.hostRemovalReport
94-
}
9586

9687
//Assembly and validation alignment
9788
coverageTable = channel.empty()
@@ -178,7 +169,6 @@ workflow {
178169
counts.ifEmpty{file("DNE")},
179170
qcStats.ifEmpty{file("DNE1")},
180171
qcReport.ifEmpty{file("DNE2")},
181-
hostRemovalReport.ifEmpty{file("DNE3")},
182172
rtaReports.ifEmpty{file("DNE4")},
183173
ctaReport.ifEmpty{file("DNE5")},
184174
contigStatsReport.ifEmpty{file("DNE6")},

workflows/Nextflow/modules/report/report.nf

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ process report {
2626
path fastqCount
2727
path qcStats
2828
path qcReport
29-
path hostRemovalReport
3029
path readsTaxonomyReports
3130
path contigTaxonomyReport
3231
path contigStatsReport
@@ -62,7 +61,6 @@ process report {
6261
6362
6463
my \$qc_flag = (${settings['faqcs']})?"V":"";
65-
my \$host_removal_flag = (${settings['hostRemoval']})?"V":"";
6664
my \$assembly_flag = (${settings["runAssembly"]})?"V":"";
6765
my \$annotation_flag = (${settings["annotation"]})?"V":"";
6866
my \$taxonomy_flag = (${settings["readsTaxonomyAssignment"]})?"V":"";
@@ -116,10 +114,6 @@ process report {
116114
}
117115
118116
119-
if (-e "$hostRemovalReport"){
120-
\$mergeFiles .= '$hostRemovalReport'.",";
121-
}
122-
123117
if (-e "$contigStatsReport"){
124118
\$mergeFiles .= '$contigStatsReport'.",";
125119
}
@@ -171,7 +165,6 @@ process report {
171165
push @conversions, "convert -strip -density 120 -flatten $qcReport[\$qc_boxplot_page] ./QC_quality_boxplot.png";
172166
}
173167
174-
push @conversions, "convert -strip -density 120 -flatten $hostRemovalReport ./HostRemovalStats.png" if (-e "$hostRemovalReport");
175168
push @conversions, "convert -strip -density 120 -flatten $contigStatsReport[0] ./Assembly_length.png" if (-e "$contigStatsReport");
176169
push @conversions, "convert -strip -density 120 -flatten $contigStatsReport[1] ./Assembly_GC_content.png" if (-e "$contigStatsReport");
177170
push @conversions, "convert -strip -density 120 -flatten $contigPlots[0] ./Assembly_CovDepth_vs_Len.png" if (-e "$contigPlots");
@@ -200,7 +193,6 @@ workflow REPORT {
200193
fastqCount
201194
qcStats
202195
qcReport
203-
hostRemovalReport
204196
readsTaxonomyReports
205197
contigTaxonomyReport
206198
contigStatsReport
@@ -214,7 +206,6 @@ workflow REPORT {
214206
fastqCount,
215207
qcStats,
216208
qcReport,
217-
hostRemovalReport,
218209
readsTaxonomyReports,
219210
contigTaxonomyReport,
220211
contigStatsReport,

workflows/Nextflow/nextflow.config

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ params {
55
modules {
66
sra2fastq = false
77
faqcs = false
8-
hostRemoval = false
98
runAssembly = false
109
annotation = false
1110
binning = false
@@ -22,7 +21,6 @@ params {
2221
sra2fastqOutDir = "EDGE_output/SRA"
2322
processProvidedContigsOutDir = "EDGE_output/ProcessedContigs"
2423
qcOutDir = "EDGE_output/ReadsQC"
25-
hostRemovalOutDir = "EDGE_output/HostRemoval"
2624
assemblyOutDir = "EDGE_output/AssemblyBasedAnalysis"
2725
contigsTaxonomyOutDir = "EDGE_output/ContigTaxonomyAssignment"
2826
phageFinderOutDir = "EDGE_output/PhageFinder"
@@ -67,12 +65,6 @@ params {
6765

6866
}
6967

70-
hostRemoval {
71-
host = ["${projectDir}/nf_assets/NO_FILE3"]
72-
similarity = 90
73-
bwaMemOptions = null
74-
}
75-
7668
assembly {
7769
//assemblers: IDBA_UD, SPAdes, Unicycler, Megahit, LRASM
7870
assembler = "IDBA_UD"
@@ -267,9 +259,6 @@ process {
267259
withLabel: 'qc'{
268260
container= 'ghcr.io/lanl-bioinformatics/edge_run_faqcs:1.6.1'
269261
}
270-
withLabel: 'hostRemoval' {
271-
container= 'ghcr.io/lanl-bioinformatics/edge_host_removal:1.7.5'
272-
}
273262
withLabel: 'assembly' {
274263
container = 'ghcr.io/lanl-bioinformatics/edge_run_assembly:1.7.0'
275264
}

workflows/Nextflow/templates/module_params.tmpl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@
2828
filtPhiX = <% if(typeof filtPhiX !== 'undefined') { %><%= filtPhiX %><% } else { %>false<%} %>
2929
}
3030

31-
hostRemoval {
32-
host = ["${projectDir}/nf_assets/NO_FILE3"]
33-
similarity = 90
34-
bwaMemOptions = null
35-
}
3631

3732
assembly {
3833
//assemblers: IDBA_UD, SPAdes, Unicycler, Megahit, LRASM

workflows/Nextflow/templates/pipeline_config.tmpl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ params {
44
modules {
55
sra2fastq = <% if(typeof source !== 'undefined' && source === 'sra') { %>true<% } else { %>false<%} %>
66
faqcs = <%= runFaQCs %>
7-
hostRemoval = false
87
runAssembly = <%= assembly %>
98
annotation = <%= annotation %>
109
readsBinning = <%= binning %>
@@ -21,7 +20,6 @@ params {
2120
sra2fastqOutDir = "<%= sraOutdir %>"
2221
processProvidedContigsOutDir = "<%= projOutdir %>"
2322
qcOutDir = "<%= projOutdir %>/ReadsQC"
24-
hostRemovalOutDir = ""
2523
assemblyOutDir = "<%= projOutdir %>/Assembly"
2624
contigsTaxonomyOutDir = "<%= projOutdir %>/Taxonomy"
2725
phageFinderOutDir = ""

0 commit comments

Comments
 (0)