Skip to content

Commit

Permalink
fix report parameter and update docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
fmalmeida committed Jul 7, 2024
1 parent d6d28b0 commit 91471f2
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion conf/docker.config
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ process {

// container for R tools
withLabel: 'renv' {
container = 'fmalmeida/bacannot@sha256:1b284a6d6f7be942d714f912d863a1d86dfa465ef600931b9f08e609e2c9884d'
container = 'fmalmeida/bacannot@sha256:23a0713d3694a10ee4c570a4e65a471045781a73711495aa08ae7d40f9b65097'
}

// container for bacannot server
Expand Down
2 changes: 1 addition & 1 deletion conf/singularity.config
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ process {

// container for R tools
withLabel: 'renv' {
container = 'docker://fmalmeida/bacannot@sha256:1b284a6d6f7be942d714f912d863a1d86dfa465ef600931b9f08e609e2c9884d'
container = 'docker://fmalmeida/bacannot@sha256:23a0713d3694a10ee4c570a4e65a471045781a73711495aa08ae7d40f9b65097'
}

// container for bacannot server
Expand Down
5 changes: 2 additions & 3 deletions docker/renv/reports/report_general.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ params:
barrnap:
mlst:
refseq_masher:
sourmash_csv:
sourmash_png:
query:
output:
Expand Down Expand Up @@ -59,8 +58,8 @@ if (file.exists(params$kegg)) {
} else {
kegg_not_null <- FALSE
}
sourmash_csv <- try(read.delim(params$sourmash_csv, header = TRUE), silent = TRUE)
if (file.exists(params$kegg)) {
if (file.exists(params$sourmash_png)) {
sourmash_not_null <- TRUE
sourmash_png <- params$sourmash_png
} else {
Expand Down
2 changes: 0 additions & 2 deletions modules/generic/reports.nf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ process REPORT {

input:
tuple val(prefix), file('annotation_stats.tsv'), file(gff), file(barrnap), file(mlst), file(keggsvg), file(refseq_masher_txt), file(amrfinder), file(rgi), file(rgi_parsed), file(rgi_heatmap), file(argminer_out), file(resfinder_tab), file(resfinder_point), file(resfinder_phenotable), file(vfdb_blastn), file(victors_blastp), file(phigaro_txt), file(phispy_tsv), file(iceberg_blastp), file(iceberg_blastn), file(plasmids_tsv), file(platon_tsv), file(mobsuite_tsv), file(gi_image), file(phast_blastp), file(digIS), file(integronfinder)
file(sourmash_csv)
file(sourmash_png)

output:
Expand All @@ -32,7 +31,6 @@ process REPORT {
barrnap = "$barrnap", \
mlst = "$mlst", \
refseq_masher = "$refseq_masher_txt", \
sourmash_csv = "$sourmash_csv", \
sourmash_png = "$sourmash_png", \
query = "${prefix}"
)
Expand Down
1 change: 0 additions & 1 deletion modules/generic/sourmash_all.nf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ process SOURMASH_ALL {
path "*" , emit: all
path "sourmash_version.txt" , emit: versions
path "sourmash_cmp.matrix.png" , emit: plot
path "sourmash_plot.csv" , emit: csv

when: !params.skip_sourmash

Expand Down
1 change: 0 additions & 1 deletion workflows/bacannot.nf
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,6 @@ workflow BACANNOT {
.join( phast_output_ch, remainder: true )
.join( MERGE_ANNOTATIONS.out.digis_gff )
.join( ch_integron_finder_gff, remainder: true ),
SOURMASH_ALL.out.csv.first(), // make value channel
SOURMASH_ALL.out.plot.first() // make value channel
)

Expand Down

0 comments on commit 91471f2

Please sign in to comment.