Hello, I have an issue with the MultiQC report for...
# bacass
r
Hello, I have an issue with the MultiQC report for the bacass pipeline. This report includes a barplot showing the features found using Prokka or Bakta. But, when running multiple samples together this barplot only summarizes a single sample. No barplots are created for any other samples in the run. Is there a way to fix this?
d
Hello!! this might fix it 🤔: https://github.com/MultiQC/MultiQC/issues/482
p
Good try! But no - that issue is 7 years old and was fixed 7 years ago, so doubt it 😊
d
ohh I see 😅
p
Very likely the pipeline (or user via config + ext.args) needs to pass -d to avoid having identical sample names
d
ok, I'm going to do a deeper check 😅. New issue incoming
👍🏻 1
p
@Raunak Vijay - some more information would help here. eg. A screenshot at least, but best of all the sample sheet and command. So that we can see the filenames, sample IDs and replicate the same behaviour.
r
@Phil Ewels I've attached a screenshot of the issue as well as the sample sheet I used. Here is the command:
Copy code
nextflow run '<https://github.com/nf-core/bacass>' \
		 -name assembly_5003_v_2_2_0 \
		 -params-file '<https://api.cloud.seqera.io/ephemeral/basOu4sIAtjgbfK-HSXL3Q.json>' \
		 -with-tower \
		 -r 2.2.0 \
		 -profile docker
Thanks!
🙌 1
d
Fix will be available in
dev
branch: https://github.com/nf-core/bacass/pull/134 Thanks for reporting 🙌 , and thanks for the clue @Phil Ewels
p
Nice! Thanks @Daniel_VM!
Copy code
use_filename_as_sample_name:
  - prokka
I think
prokka_fn_snames
predates this more generic method, we should probably remove it if the above works.
d
It wokred as well party parrot. This approach is much better, thanks 🙌
p
d
@Raunak Vijay Fix is now available in
dev
branch : https://github.com/nf-core/bacass/tree/dev
r
@Daniel_VM Thank you! Is there an estimate on when this fix will be available on the `master`branch?
d
We will try to make a release soon. In the mean time you can use the `dev`version by adding
-r dev
to your nextflow run command:
Copy code
# Example
nextflow run '<https://github.com/nf-core/bacass>' \
		 -name assembly_5003_v_2_2_0 \
		 -params-file '<https://api.cloud.seqera.io/ephemeral/basOu4sIAtjgbfK-HSXL3Q.json>' \
		 -with-tower \
		 -r dev \
		 -profile docker
👍 1
r
@Daniel_VM @Phil Ewels I am running into an issue in version 2.3.0 where only 1 sample is annotated with bakta when the path to a full bakta database is specified. Multiple samples assemble successfully when running the pipeline, but only one sample is annotated after. This problem does not occur when downloading the light database using the
baktadb_download = true
and
baktadb_download_args = --type light
parameters. Is there a fix for this?
Copy code
nextflow run '<https://github.com/nf-core/bacass>' \
		 -name bakta_full_test_4 \
		 -params-file '<https://api.cloud.seqera.io/ephemeral/fkpFh52VEXF2NV6LC8amcg.json>' \
		 -with-tower \
		 -r 2.3.0 \
		 -profile docker