Random question, when assembling metagenomes is it...
# meta-omics
c
Random question, when assembling metagenomes is it the same to do
megahit --min-contig-len 1500
than if I use default parameters and then filter the contigs after? does the assembly change if a minimum length is set? Does anyone know if there are certain parameters that help to have longer contigs?
j
Think that is just a post assembly filtering step. Can play around with these parameters:
Copy code
--k-max                  <int>          maximum kmer size (<= {0}), must be odd number [141]

  Advanced assembly options:
    --no-mercy                              do not add mercy kmers
    --bubble-level           <int>          intensity of bubble merging (0-2), 0 to disable [2]
    --merge-level            <l,s>          merge complex bubbles of length <= l*kmer_size and similarity >= s [20,0.95]
    --prune-level            <int>          strength of low depth pruning (0-3) [2]
    --prune-depth            <int>          remove unitigs with avg kmer depth less than this value [2]
    --disconnect-ratio       <float>        disconnect unitigs if its depth is less than this ratio times
                                            the total depth of itself and its siblings [0.1]
    --low-local-ratio        <float>        remove unitigs if its depth is less than this ratio times
                                            the average depth of the neighborhoods [0.2]
Lowering these
prune-level
prunde-depth
, ... could help you create longer contigs but be aware of assembly artifacts.