BONUS: Varying assembly parameters¶
All work for this exercise will occur in the 2.assembly/ directory.
Examining the effect of changing assembly parameters for SPAdes¶
For this exercise, there is no real structure. Make a few copies of your initial slurm scripts and tweak a few of the assembly parameters. Make sure to also change the assembly output file (e.g. from spades_assembly to spades_assembly_var1). We will compare the effects of these changes in the next lesson.
Make a few copies of your SPAdes slurm script like so;
Change a few of the parameters for run time. Some potential options include
- Change the k-mer sizes to either a different specification, or change to the
autooption - Disable error correction
- Assemble without the
--metaflag - Employ a coverage cut-off for assembling
Submit two or three jobs per variation.
Outputs per variant job
For all variations of your assemblies, please remember to modify -o argument from -o spades_assembly/ in your slurm scripts to another name (e.g. -o spades_assembly_var_kmer/)
Examining the effect of changing assembly parameters for IDBA-UD¶
Make variants of your IDBA-UD assembly script and change some parameters. Some potential options include
- Change the minimum/maximum k-mer sizes, or the k-mer step size
- Change the alignment similarity parameter
- Adjust the prefix length for the k-mer sub-table
Submit two or three jobs per variation.
Outputs per variant job
For all variations of your assemblies, please remember to modify --out argument from --out idbaud_assembly/ in your slurm scripts to another name (e.g. --out idbaud_assembly_var_kmer/)
Now try evaluating how well the new assembly/assemblies did by adapting code in the previous task on assembly evaluation (i.e. using seqmagick and BBMap’s stats.sh command). Note that the name of the assembly input directory will be different.