UNICYCLER_POLISH(1)
β¨ UNICYCLER_POLISH(1) β¨
okay bestie, listen π this is unicycler_polish, a lil User Command that does hybrid assembly polishing. yes it's giving "genomics girlboss" and yes I'm gonna walk you through every single flag, no skipping, periodt.
π¦ SYNOPSIS π¦
unicycler_polish [-h] -a ASSEMBLY [-1 SHORT1] [-2 SHORT2] [--pb_bax
PB_BAX [PB_BAX ...]] [--pb_bam PB_BAM] [--pb_fasta PB_FASTA]
[--long_reads LONG_READS] [--no_fix_local] [--min_insert MIN_INSERT]
[--max_insert MAX_INSERT] [--min_align_length MIN_ALIGN_LENGTH]
[--homopolymer HOMOPOLYMER] [--large LARGE] [--illumina_alt
ILLUMINA_ALT] [--freebayes_qual_cutoff FREEBAYES_QUAL_CUTOFF] [--threads
THREADS] [--verbosity VERBOSITY] [--samtools SAMTOOLS] [--bowtie2
BOWTIE2] [--minimap2 MINIMAP2] [--freebayes FREEBAYES] [--pitchfork
PITCHFORK] [--bax2bam BAX2BAM] [--pbalign PBALIGN] [--arrow ARROW]
[--pilon PILON] [--java JAVA] [--ale ALE] [--racon RACON] [--minimap
MINIMAP] [--nucmer NUCMER] [--showsnps SHOWSNPS]
πΈ DESCRIPTION πΈ
Unicycler polish - hybrid assembly polishing π
that's it. that's the whole vibe. you give it an assembly, you give it some reads, it polishes. iconic.
π OPTIONS π
-h,--helpβ shows this help message and then dips. bye! π
𧬠Assembly
-a ASSEMBLY,--assembly ASSEMBLYβ the input assembly that's getting polished. the main character, honestly π
π Short reads
if you wanna polish with short reads (using Pilon), you gotta hand over two FASTQ files of paired-end reads. both of them. no solo acts.
-1 SHORT1,--short1 SHORT1β FASTQ file of short reads (the first reads in each pair) π-2 SHORT2,--short2 SHORT2β FASTQ file of short reads (the second reads in each pair) π
π PacBio reads
if you wanna polish with PacBio reads (using Arrow), give one of these lil guys:
--pb_bax PB_BAX [PB_BAX ...]β PacBio rawbax.h5read files--pb_bam PB_BAMβ PacBio BAM read file--pb_fasta PB_FASTAβ FASTA file of PacBio reads
π§ Generic long reads
if you wanna polish with generic long reads, hand over this one:
--long_reads LONG_READSβ FASTQ/FASTA file of long reads
β Polishing settings
a whole bunch of knobs for how the polishing behaves. lowkey the defaults should work great in most cases, so don't go feral unless you need to.
--no_fix_localβ do not fix local misassemblies (default:False)--min_insert MIN_INSERTβ minimum valid short read insert size (default: auto)--max_insert MAX_INSERTβ maximum valid short read insert size (default: auto)--min_align_length MIN_ALIGN_LENGTHβ Minimum long read alignment length (default:1000)--homopolymer HOMOPOLYMERβ Long read polish changes to a homopolymer of this length or greater will be ignored (default:4)--large LARGEβ Variants of this size or greater will be assess as large variants (default:10)--illumina_alt ILLUMINA_ALTβ When assessing long read changes with short read alignments, a variant will only be applied if the alternative occurrences in the short read alignments exceed this percentage (default:5)--freebayes_qual_cutoff FREEBAYES_QUAL_CUTOFFβ Reject Pilon substitutions from long reads if the FreeBayes quality is less than this value (default:10.0)
π Other settings
--threads THREADSβ CPU threads to use in alignment and consensus (default: number of CPUs)--verbosity VERBOSITYβ Level of stdout information (0to3, default:2) β0= no stdout,1= basic progress indicators,2= extra info,3= debugging info
π§ Tool locations
if these required tools aren't chillin' in your PATH variable, just tell it where they live. and ngl, depending on which input reads you're using, some of these tools might not even be required, so no stress π
--samtools SAMTOOLSβ path tosamtoolsexecutable (default:samtools)--bowtie2 BOWTIE2β path tobowtie2executable (default:bowtie2)--minimap2 MINIMAP2β path tominimap2executable (default:minimap2)--freebayes FREEBAYESβ path tofreebayesexecutable (default:freebayes)--pitchfork PITCHFORKβ Path to Pitchfork installation of PacBio tools (should containbinandlibdirectories) (default: )--bax2bam BAX2BAMβ path tobax2bamexecutable (default:bax2bam)--pbalign PBALIGNβ path topbalignexecutable (default:pbalign)--arrow ARROWβ path toarrowexecutable (default:arrow)--pilon PILONβ path topilonjar file (default:pilon*.jar)--java JAVAβ path tojavaexecutable (default:java)--ale ALEβ path toALEexecutable (default:ALE)--racon RACONβ path toraconexecutable (default:racon)--minimap MINIMAPβ path tominiasmexecutable (default:minimap)--nucmer NUCMERβ path tonucmerexecutable (default:nucmer)--showsnps SHOWSNPSβ path toshow-snpsexecutable (default:show-snps)
ok also tiny heads up: --pitchfork has an empty default, so if you need it you definitely gotta set it yourself. no cap.
π SEE ALSO π
π AUTHOR π
This manpage was written by Andreas Tille for the Debian distribution and can be used for any other usage of the program. ty Andreas, we appreciate you π«Ά
and that's the whole thing, bestie!! this was unicycler_polish version 0.4.7 from way back in October 2018 β¨ go forth and polish, you absolute icon π
ππΈ
π¦ where this page comes from
- debian bookworm: unicycler 0.5.0+dfsg-1 Β· GPL-3.0-or-later
- debian trixie: unicycler 0.5.1+dfsg-3 Β· GPL-3.0-or-later
- ubuntu jammy: unicycler 0.4.8+dfsg-2build1 Β· GPL-3.0-or-later
- ubuntu noble: unicycler 0.5.0+dfsg-1 Β· GPL-3.0-or-later
- ubuntu resolute: unicycler 0.5.1+dfsg-3 Β· GPL-3.0-or-later
- ubuntu stonking: unicycler 0.5.1+dfsg-4 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms