A pre-prepared long read assembly for the sample in GFA format.
If this option is used, Unicycler will skip the miniasm/Racon
steps and instead use the given assembly (default: perform long
read assembly using miniasm/Racon)
Assembly rotation:
These options control the rotation of completed circular sequence near the end of the Unicycler pipeline.
--no_rotate Do not rotate completed replicons to start at a standard gene (default:
completed replicons are rotated)
--start_genes START_GENES FASTA file of genes for start point of rotated replicons (default:
start_genes.fasta)
--start_gene_id START_GENE_ID The minimum required BLAST percent identity for a start gene search
(default: 90.0)
--start_gene_cov START_GENE_COV The minimum required BLAST percent coverage for a start gene search
(default: 95.0)
These options control the rotation of completed circular sequence near the end of the
Unicycler pipeline.
--no_rotate Do not rotate completed replicons to start at a standard gene
(default: completed replicons are rotated)
--start_genes START_GENES FASTA file of genes for start point of rotated replicons
(default: start_genes.fasta)
--start_gene_id START_GENE_ID The minimum required BLAST percent identity for a start gene
search (default: 90.0)
--start_gene_cov START_GENE_COV
The minimum required BLAST percent coverage for a start gene
search (default: 95.0)
--makeblastdb_path MAKEBLASTDB_PATH
Path to the makeblastdb executable (default: makeblastdb)
--tblastn_path TBLASTN_PATH Path to the tblastn executable (default: tblastn)
Pilon polishing:
These options control the final assembly polish using Pilon at the end of the Unicycler pipeline.
These options control the final assembly polish using Pilon at the end of the Unicycler
pipeline.
--no_pilon Do not use Pilon to polish the final assembly (default: Pilon is used)
--no_pilon Do not use Pilon to polish the final assembly (default: Pilon is
used)
--bowtie2_path BOWTIE2_PATH Path to the bowtie2 executable (default: bowtie2)
--bowtie2_build_path BOWTIE2_BUILD_PATH
Path to the bowtie2_build executable (default: bowtie2-build)
--samtools_path SAMTOOLS_PATH Path to the samtools executable (default: samtools)
--pilon_path PILON_PATH Path to a Pilon executable or the Pilon Java archive file (default: pilon)
--pilon_path PILON_PATH Path to a Pilon executable or the Pilon Java archive file
(default: pilon)
--java_path JAVA_PATH Path to the java executable (default: java)
--min_polish_size MIN_POLISH_SIZE Contigs shorter than this value (bp) will not be polished using Pilon
(default: 10000)
--min_polish_size MIN_POLISH_SIZE
Contigs shorter than this value (bp) will not be polished using
Pilon (default: 10000)
VCF:
These options control the production of the VCF of the final assembly.
@@ -466,20 +488,20 @@ Graph cleaning:
These options control the removal of small leftover sequences after bridging is complete.
--min_component_size MIN_COMPONENT_SIZE
Graph components smaller than this size (bp) will be removed from the final
graph (default: 1000)
Graph components smaller than this size (bp) will be removed from
the final graph (default: 1000)
--min_dead_end_size MIN_DEAD_END_SIZE
Graph dead ends smaller than this size (bp) will be removed from the final
graph (default: 1000)
Graph dead ends smaller than this size (bp) will be removed from
the final graph (default: 1000)
Long read alignment:
These options control the alignment of long reads to the assembly graph.
--contamination CONTAMINATION FASTA file of known contamination in long reads
--scores SCORES Comma-delimited string of alignment scores: match, mismatch, gap open, gap
extend (default: 3,-6,-5,-2)
--low_score LOW_SCORE Score threshold - alignments below this are considered poor (default: set
threshold automatically)
--scores SCORES Comma-delimited string of alignment scores: match, mismatch, gap
open, gap extend (default: 3,-6,-5,-2)
--low_score LOW_SCORE Score threshold - alignments below this are considered poor
(default: set threshold automatically)
```
@@ -620,6 +642,12 @@ If you believe this has happened in your assembly, you can manually assign multi
If Unicycler doesn't complete your bacterial genome assembly on its own, you may be able to complete it manually with a bit of bioinformatics detective work. There's no single, straight-forward procedure for doing so, but I've put together [a few examples on the Unicycler wiki](https://github.com/rrwick/Unicycler/wiki/Tips-for-finishing-genomes) which may be helpful.
### Using an external long-read assembly
If you have a long-read assembly that you've prepared outside Unicycler and trust (e.g. with Canu), you can give it to Unicycler with `--existing_long_read_assembly`. Unicycler will then skip its miniasm/Racon step and use this assembly instead.