Debian Codegraph @

debian/manuals/abpoa.1

raw
1 .TH ABPOA "1" "September 2026" "abpoa 1.5.7" "User Commands"
2 .SH NAME
3 abpoa, abpoa.avx2, abpoa.avx, abpoa.sse4.1, abpoa.ssse3, abpoa.sse3, abpoa.generic \- adaptive banded Partial Order Alignment
4 .SH SYNOPSIS
5 .B abpoa
6 [\fI\,options\/\fR] \fI\,<in.fa/fq> > cons.fa/msa.fa/abpoa.gfa\/\fR
7 .SH DESCRIPTION
8 .PP
9 abPOA is an extended version of Partial Order Alignment (POA) that performs adaptive banded dynamic programming (DP) with an SIMD implementation.
10 abPOA can perform multiple sequence alignment (MSA) on a set of input sequences and generate a consensus sequence by applying the heaviest bundling algorithm to the final alignment graph.
11 .PP
12 abPOA can generate high-quality consensus sequences from error-prone long reads and offer significant speed improvement over existing tools.
13 .PP
14 abPOA supports three alignment modes (global, local, extension) and flexible scoring schemes that allow linear, affine and convex gap penalties.
15 It right now supports SSE2/SSE4.1/AVX2 vectorization.
16 .SH OPTIONS
17 .IP
18 Alignment:
19 .TP
20 \fB\-m\fR \fB\-\-aln\-mode\fR
21 INT alignment mode [0]
22 0: global, 1: local, 2: extension
23 .TP
24 \fB\-M\fR \fB\-\-match\fR
25 INT match score [2]
26 .TP
27 \fB\-X\fR \fB\-\-mismatch\fR
28 INT mismatch penalty [4]
29 .TP
30 \fB\-t\fR \fB\-\-matrix\fR
31 FILE scoring matrix file, '\-M' and '\-X' are not used when '\-t' is used [Null]
32 e.g., 'HOXD70.mtx, BLOSUM62.mtx'
33 .HP
34 \fB\-O\fR \fB\-\-gap\-open\fR INT(,INT) gap opening penalty (O1,O2) [4,24]
35 .TP
36 \fB\-E\fR \fB\-\-gap\-ext\fR
37 INT(,INT) gap extension penalty (E1,E2) [2,1]
38 abPOA provides three gap penalty modes, cost of a g\-long gap:
39 \- convex (default): min{O1+g*E1, O2+g*E2}
40 \- affine (set O2 as 0): O1+g*E1
41 \- linear (set O1 as 0): g*E1
42 .TP
43 \fB\-s\fR \fB\-\-amb\-strand\fR
44 ambiguous strand mode [False]
45 for each input sequence, try the reverse complement if the current
46 alignment score is too low, and pick the strand with a higher score
47 .IP
48 Adaptive banded DP:
49 .TP
50 \fB\-b\fR \fB\-\-extra\-b\fR
51 INT first adaptive banding parameter [10]
52 set b as < 0 to disable adaptive banded DP
53 .TP
54 \fB\-f\fR \fB\-\-extra\-f\fR
55 FLOAT second adaptive banding parameter [0.01]
56 the number of extra bases added on both sites of the band is
57 b+f*L, where L is the length of the aligned sequence
58 .IP
59 Heuristics for graph alignment:
60 .RB ( under
61 .BR development )
62 .TP
63 \fB\-G\fR \fB\-\-int\-path\-score\fR
64 include log-scaled path score for graph alignment [False]
65 .TP
66 \fB\-L\fR \fB\-\-sort\-by\-len\fR
67 sort input sequences by length in descending order [False]
68 .TP
69 \fB\-R\fR \fB\-\-gap\-on\-right\fR
70 put indel on the right-most side of the alignment,
71 default is left [False]
72 .TP
73 \fB\-J\fR \fB\-\-gap\-at\-end\fR
74 always put indel at the end of the alignment if possible [False]
75 .IP
76 Minimizer\-based seeding and partition (only effective in global alignment mode):
77 .TP
78 \fB\-S\fR \fB\-\-seeding\fR
79 enable minimizer\-based seeding and anchoring [False]
80 .TP
81 \fB\-k\fR \fB\-\-k\-mer\fR
82 INT minimizer k\-mer size [19]
83 .TP
84 \fB\-w\fR \fB\-\-window\fR
85 INT minimizer window size [10]
86 .TP
87 \fB\-n\fR \fB\-\-min\-poa\-win\fR INT
88 min. size of window to perform POA [500]
89 .TP
90 \fB\-p\fR \fB\-\-progressive\fR
91 build guide tree and perform progressive partial order alignment [False]
92 .IP
93 Input/Output:
94 .TP
95 \fB\-Q\fR \fB\-\-use\-qual\-weight\fR
96 take base quality score from FASTQ input file as graph edge weight for consensus calling [False]
97 effective only when input sequences are in FASTQ format and consensus calling with heaviest bundling
98 .TP
99 \fB\-c\fR \fB\-\-amino\-acid\fR
100 input sequences are amino acid (default is nucleotide) [False]
101 .TP
102 \fB\-l\fR \fB\-\-in\-list\fR
103 input file is a list of sequence file names [False]
104 each line is one sequence file containing a set of sequences
105 which will be aligned by abPOA to generate a consensus sequence
106 .TP
107 \fB\-i\fR \fB\-\-incrmnt\fR
108 FILE incrementally align sequences to an existing graph/MSA [Null]
109 graph could be in GFA or MSA format generated by abPOA
110 .TP
111 \fB\-o\fR \fB\-\-output\fR
112 FILE output to FILE [stdout]
113 .TP
114 \fB\-r\fR \fB\-\-result\fR
115 INT output result mode [0]
116 \- 0: consensus in FASTA format
117 \- 1: MSA in PIR format
118 \- 2: both 0 & 1
119 \- 3: graph in GFA format
120 \- 4: graph with consensus path in GFA format
121 \- 5: consensus in FASTQ format
122 .TP
123 \fB\-a\fR \fB\-\-cons\-algrm\fR INT
124 consensus algorithm [0]
125 \- 0: heaviest bundling path in partial order graph
126 \- 1: most frequent bases at each position
127 .TP
128 \fB\-d\fR \fB\-\-maxnum\-cons\fR INT
129 max. number of consensus sequence to generate [1]
130 .TP
131 \fB\-q\fR \fB\-\-min\-freq\fR
132 FLOAT min. frequency of each consensus sequence (only effective when \fB\-d\fR/\-\-num\-cons > 1) [0.25]
133 .TP
134 \fB\-g\fR \fB\-\-out\-pog\fR
135 FILE dump final alignment graph to FILE (.pdf/.png) [Null]
136 .TP
137 \fB\-h\fR \fB\-\-help\fR
138 print this help usage information
139 .TP
140 \fB\-v\fR \fB\-\-version\fR
141 show version number
142 .TP
143 \fB\-V\fR \fB\-\-verbose\fR
144 INT verbose level (0\-2). 0: none, 1: information, 2: debug [0]
145 .SH "SEE ALSO"
146 .PP
147 For more information please refer to the paper published in Bioinformatics:
148 .PP
149 .UR https://dx.doi.org/10.1093/bioinformatics/btaa963
150 .UE