Description Usage Arguments Details Value Author(s) Examples
View source: R/6_1_cigar2length.R
Converts CIGAR string of the mappint to length of the mapping
1 | cigar2length(cigar_string)
|
cigar_string |
character, CIGAR string from the alignment |
Converts CIGAR string to length of the mapping fragment; copied from Java script to some alignment processing tool..
returns integer
.
Vladislava Milchevskaya milchv@gmail.com
1 2 3 | cigar_character = "20M1S2N5M"
mapping_length = cigar2length(cigar_character)
mapping_length
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.