Scroll to navigation

MEGAHIT(1) User Commands MEGAHIT(1)

NAME

megahit - ultra-fast and memory-efficient meta-genome assembler

DESCRIPTION

MEGAHIT v1.2.8

contact: Dinghua Li <voutcn@gmail.com>

Usage:

megahit [options] {-1 <pe1> -2 <pe2> | --12 <pe12> | -r <se>} [-o <out_dir>]
Input options that can be specified for multiple times (supporting plain text and gz/bz2 extensions)
-1
<pe1> comma-separated list of fasta/q paired-end #1 files, paired with files in <pe2>
-2
<pe2> comma-separated list of fasta/q paired-end #2 files, paired with files in <pe1>
--12
<pe12> comma-separated list of interleaved fasta/q paired-end files
<se> comma-separated list of fasta/q single-end files

Optional Arguments:

Basic assembly options:
<int> minimum multiplicity for filtering (k_min+1)-mers [2]
<int,int,..> comma-separated list of kmer size all must be odd, in the range 15-255, increment <= 28) [21,29,39,59,79,99,119,141]
Another way to set --k-list (overrides --k-list if one of them set):
<int> minimum kmer size (<= 255), must be odd number [21]
<int> maximum kmer size (<= 255), must be odd number [141]
<int> increment of kmer size of each iteration (<= 28), must be even number [12]
Advanced assembly options:
do not add mercy kmers
<int> intensity of bubble merging (0-2), 0 to disable [2]
<l,s> merge complex bubbles of length <= l*kmer_size and similarity >= s [20,0.95]
<int> strength of low depth pruning (0-3) [2]
<int> remove unitigs with avg kmer depth less than this value [2]
<float> disconnect unitigs if its depth is less than this ratio times the total depth of itself and its siblings [0.1]
<float> remove unitigs if its depth is less than this ratio times the average depth of the neighborhoods [0.2]
<int> remove tips less than this value [2*k]
<int> number of rounds for graph cleanning [5]
disable local assembly
use 1pass mode to build SdBG of k_min
Presets parameters:
<str> override a group of parameters; possible values: meta-sensitive: '--min-count 1 --k-list 21,29,39,49,...,129,141' meta-large: '--k-min 27 --k-max 127 --k-step 10' (large & complex metagenomes, like soil)
Hardware options:
<float> max memory in byte to be used in SdBG construction (if set between 0-1, fraction of the machine's total memory) [0.9]
<int> SdBG builder memory mode. 0: minimum; 1: moderate; others: use all memory specified by '-m/--memory' [1]
<int> number of CPU threads [# of logical processors]
run MEGAHIT without BMI2 and POPCNT hardware instructions
Output options:
<string> output directory [./megahit_out]
<string> output prefix (the contig file will be OUT_DIR/OUT_PREFIX.contigs.fa)
<int> minimum length of contigs to output [200]
keep all temporary files
<string> set temp directory

Other Arguments:

continue a MEGAHIT run from its last available check point. please set the output directory correctly when using this option.
run MEGAHIT on a toy test dataset
print the usage message
print version

AUTHOR

This manpage was written by Shayan Doust for the Debian distribution and can be used for any other usage of the program.

October 2019 megahit 1.2.8