Itβs not working for me with the updated yaml. I downloaded all 3 files and ran
multicq -c .
this time I got
/// MultiQC v1.22.2
config | Error parsing config YAML: mapping values are not allowed here in "multiqc_config.yaml", line 212, column 75
Traceback (most recent call last):
File "/root/miniconda3/bin/multiqc", line 8, in <module>
sys.exit(run_multiqc())
File "/root/miniconda3/lib/python3.10/site-packages/multiqc/__main__.py", line 21, in run_multiqc
multiqc.run_cli(prog_name="multiqc")
File "/root/miniconda3/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "/root/miniconda3/lib/python3.10/site-packages/rich_click/rich_command.py", line 152, in main
rv = self.invoke(ctx)
File "/root/miniconda3/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/root/miniconda3/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/root/miniconda3/lib/python3.10/site-packages/multiqc/multiqc.py", line 448, in run_cli
result = run(*analysis_dir, clean_up=clean_up, cfg=cfg)
File "/root/miniconda3/lib/python3.10/site-packages/multiqc/multiqc.py", line 493, in run
update_config(*analysis_dir, cfg=cfg)
File "/root/miniconda3/lib/python3.10/site-packages/multiqc/core/update_config.py", line 93, in update_config
config.load_user_files()
File "/root/miniconda3/lib/python3.10/site-packages/multiqc/config.py", line 230, in load_user_files
load_config_file("multiqc_config.yaml")
File "/root/miniconda3/lib/python3.10/site-packages/multiqc/config.py", line 305, in load_config_file
new_config: Optional[Dict] = pyaml_env.parse_config(str(path))
File "/root/miniconda3/lib/python3.10/site-packages/pyaml_env/parse_config.py", line 110, in parse_config
return yaml.load(conf_data, Loader=loader)
File "/root/miniconda3/lib/python3.10/site-packages/yaml/__init__.py", line 81, in load
return loader.get_single_data()
File "/root/miniconda3/lib/python3.10/site-packages/yaml/constructor.py", line 49, in get_single_data
node = self.get_single_node()
File "/root/miniconda3/lib/python3.10/site-packages/yaml/composer.py", line 36, in get_single_node
document = self.compose_document()
File "/root/miniconda3/lib/python3.10/site-packages/yaml/composer.py", line 58, in compose_document
self.get_event()
File "/root/miniconda3/lib/python3.10/site-packages/yaml/parser.py", line 118, in get_event
self.current_event = self.state()
File "/root/miniconda3/lib/python3.10/site-packages/yaml/parser.py", line 193, in parse_document_end
token = self.peek_token()
File "/root/miniconda3/lib/python3.10/site-packages/yaml/scanner.py", line 129, in peek_token
self.fetch_more_tokens()
File "/root/miniconda3/lib/python3.10/site-packages/yaml/scanner.py", line 223, in fetch_more_tokens
return self.fetch_value()
File "/root/miniconda3/lib/python3.10/site-packages/yaml/scanner.py", line 577, in fetch_value
raise ScannerError(None, None,
yaml.scanner.ScannerError: mapping values are not allowed here
in "multiqc_config.yaml", line 212, column 75
I am confused that all headers, except for the first column, and the file name to be processed are listed in this example, which by the way also encoutered the same issue/error message, but in your updated yaml, no headers are listed except for the β% Mapped reads (viral)β. What is the proper way for multiqc to process a tsv file and plot it in table?
I am uploading the tsv file and custom config here
barcode01_homopolished_amr_ncbi.tsv (2.2 KB)
multiqc_config.yaml (1.5 KB)
when I ran multiqc I got noting and this this the message I got:
/// MultiQC v1.22.2
config | Loading config settings from: multiqc_config.yaml
config | Loading config settings from: multiqc_config.yaml
file_search | Search path: /tmp/multiqc
searching | ββββββββββββββββββββββββββββββββββββββββ 100% 2/2
exec_modules | No analysis results found. Cleaning upβ¦
exec_modules | MultiQC complete
Please help me to figure out how to create a multiqc report using my own data.