Convert aligned sequences to corresponding signatures in CIGAR format
[Cigars,Starts]
= align2cigar(Alignment,Ref)
[
converts aligned sequences represented in Cigars
,Starts
]
= align2cigar(Alignment
,Ref
)Alignment
, a cell array
of aligned character vectors, string vector, or character array, into
Cigars
, a cell array of corresponding CIGAR–formatted character
vectors or string vector, using the reference sequence specified by
Ref
, a character vector or string. It also returns
Starts
, a vector of integers indicating the start position of
each aligned sequence with respect to the ungapped reference sequence.
|
Cell array of character vector, string vector, or a character array representing aligned sequences. Soft clippings are assumed to be represented by lowercase letters in the aligned sequences. Skipped positions are assumed to be represented by . in the aligned sequences. |
|
Character vector or string specifying an aligned reference sequence. The length of
|
|
Cell array of CIGAR-formatted character vectors or string vector corresponding to each aligned
sequence in |
|
Vector of integers indicating the start position of each aligned sequence with respect to the ungapped reference sequence. |
BioMap
| cigar2align
| getAlignment
| getBaseCoverage
| getCompactAlignment
| multialign