Bio Cigar解析CIGAR字符串并将坐标转换为参考查询
名称 Bio::Cigar - 解析 CIGAR 字符串并将坐标转换为/从参考/查询概要
use 5.014;
use Bio::Cigar;
my $cigar = Bio::Cigar->new(\"2M1D1M1I4M\");
say \"Query length is \", $cigar->query_length;
say \"Reference length is \", $cigar->reference_length;
my ($qpos, $op) = $cigar->rpos_to_qpos(3);
say \"Alignment operation at reference position 3 is $op\";
描述 Bio::Cigar 是一个小型库,用于解析 CIGAR 字符串(“Compact Idiosyncratic Gapped Alignment Report”)并将其坐标转换为查询和参考坐标。
下载地址
用户评论