MetaCerberus Options
Important
If the MetaCerberus environment is not used, make sure the dependencies are in PATH or specified in the config file.
Run
metacerberus.pywith the options required for your project.
Usage of metacerberus.py:
Note
The following are different options/arguments to modify the execution of MetaCerberus.
Setup arguments:
Argument/Option |
Function [Default] |
Usage Format |
Accepted format |
Example (Type as one line) |
|
Setup additional dependencies [False] |
|
N/A |
|
|
Update downloaded databases [False] |
|
N/A |
|
|
List available and downloaded databases [False] |
|
N/A |
|
|
Downloads selected HMMs. Use the option |
|
|
|
|
Remove downloaded databases and FragGeneScan+ [False] |
|
N/A |
|
Input File Arguments:
Important
At least one sequence is required.
Accepted formats: [.fastq, .fq, .fasta, .fa, .fna, .ffn, .faa]
Example:
metacerberus.py --prodigal file1.fasta
metacerberus.py --config file.configIf a sequence is given in [.fastq, .fq] format, one of
--nanopore,--illumina, or--pacbiois required.:Option format interpretation:
--setup= accepts no additional options
--download DOWNLOAD= accepts one option, (represented by capitalized command ‘DOWNLOAD’)
--fraggenescan FRAGGENESCAN [FRAGGENESCAN...]= accepts one or greater options (represented by capitalized commands)
Argument/Option |
Function |
Usage Format |
Accepted format |
# Options Accepted |
Example (Type as one line) |
|
Path to config file, command line takes priority |
|
Path to config file |
1 |
|
|
Prokaryote nucleotide sequence (includes microbes, bacteriophage) |
|
Sequence file |
=>1 |
|
|
Eukaryote nucleotide sequence (includes other viruses, works all around for everything) |
|
Sequence file |
=>1 |
|
|
Runs sequence in both –prodigal and –fraggenescan modes |
|
Sequence file |
=>1 |
|
|
Giant virus nucleotide sequence |
|
Sequence file |
=>1 |
|
|
Phage sequence |
|
Sequence file |
=>1 |
|
|
Protein Amino Acid sequence |
|
Sequence file |
=>1 |
|
|
Annotations tsv file from HMMER (experimental) |
|
Sequence file |
=>1 |
|
|
path to a tsv file which has class information for the samples. If this file is included, scripts will be included to run Pathview in R |
|
Path to TSV file |
1 |
|
|
Specifies that the given FASTQ files are from Illumina |
|
N/A |
N/A |
|
|
Specifies that the given FASTQ files are from Nanopore |
|
N/A |
N/A |
|
|
Specifies that the given FASTQ files are from PacBio |
|
N/A |
N/A |
|
Output options:
Argument/Option |
Function [DEFAULT] |
Usage Format |
Accepted format |
# Options Accepted |
Example (Type as one line) |
|
path to output directory, defaults to “results-metacerberus” in current directory. [./results-`] |
|
output file path |
1 |
|
|
Flag to replace existing files. [False] |
|
|
N/A |
|
|
Flag to keep temporary files. [False] |
|
|
N/A |
|
|
Temp directory for RAY (experimental) [system tmp dir] |
|
|
1 |
|
Database options:
Argument/Option |
Function [DEFAULT] |
Usage Format |
Accepted format |
# Options Accepted |
Example (Type as one line) |
|
A list of databases for HMMER. Use the option |
|
|
=>1 |
|
|
Path to folder of databases [Default: under the library path of metacerberus] |
|
path to databases folder |
1 |
|
Optional Arguments:
Argument/Option |
Function [DEFAULT] |
Usage Format |
Accepted format |
# Options Accepted |
Example (Type as one line) |
|
Metagenomic nucleotide sequences (for prodigal) [False] |
|
|
N/A |
|
|
Sequences are treated as scaffolds [False] |
|
|
N/A |
|
|
Score cutoff for parsing HMMER results [60] |
|
whole integer value |
1 |
|
|
E-value cutoff for parsing HMMER results [1e-09] |
|
E-value |
1 |
|
|
Skip decontamination step. [False] |
|
|
N/A |
|
|
Skip PCA. [False] |
|
|
N/A |
|
|
Number of CPUs to use per task. System will try to detect available CPUs if not specified [Auto Detect] |
|
whole integer value |
1 |
|
|
Split files into smaller chunks, in Megabytes [Disabled by default] |
|
whole integer value |
1 |
|
|
Group multiple fasta files into a single file before processing. When used with –chunker (see above) can improve speed |
|
|
N/A |
|
|
show the version number and exit |
|
|
N/A |
|
|
show this help message and exit |
|
|
N/A |
|
|
FASTA File containing adapter sequences for trimming |
|
FASTA file |
1 |
|
|
FASTA File containing control sequences for decontamination |
|
FASTA file |
1 |
|
Note
Arguments/options that start with -- can also be set in a config file (specified via -c). Config file syntax allows: key=value, flag=true, stuff=[a,b,c] (for details, see syntax. In general, command-line values override config file values which override defaults.