A JSON-type anvi’o artifact. This artifact is typically provided by the user for anvi’o to import into its databases, process, and/or use.
Back to the main page of anvi’o programs and artifacts.
There are no anvi’o tools that generate this artifact, which means it is most likely provided to the anvi’o ecosystem by the user.
anvi-migrate anvi-run-workflow
A JSON
-formated configuration file that describes steps and parameters to be considered by an anvio workflow, which includes contigs-workflow, metagenomics-workflow, pangenomics-workflow, phylogenomics-workflow, and trnaseq-workflow.
You can create a default config file for a given workflow using the following command:
anvi-run-workflow --workflow ANVIO-WORKFLOW \
--get-default-config CONFIG.json
Following this, the file CONFIG.json
will contain all configurable flags and parameters set to their default value for that workflow. From there, you can edit this file to your hearts content.
The config file contains three types of information:
For example, the default config file for the ‘contigs-workflow’s no rule specific parameters and looks like this:
{
"workflow_name": "contigs",
"config_version": 1,
"fasta_txt": "fasta.txt",
"output_dirs": {
"FASTA_DIR": "01_FASTA_contigs_workflow",
"CONTIGS_DIR": "02_CONTIGS_contigs_workflow",
"LOGS_DIR": "00_LOGS_contigs_workflow"
}
}
On the other hand, the default config file for the metagenomics-workflow is much longer, because it has sections for each rule specific parameter. For example, its section on parameters for the program anvi-gen-contigs-database looks like this:
"anvi_gen_contigs_database": {
"--project-name": "{group}",
"threads": 5,
"--description": "",
"--skip-gene-calling": "",
"--ignore-internal-stop-codons": "",
"--skip-mindful-splitting": "",
"--contigs-fasta": "",
"--split-length": "",
"--kmer-size": ""
},
Note that the empty string ""
here means that the default parameter for the program anvi-gen-contigs-database will be used.
For more details on the anvi’o snakemake workflows, please refer to this tutorial.
Edit this file to update this information.