create_refspace_seq: Converts reads to a sequence in the reference space

create_refspace_seqR Documentation

Converts reads to a sequence in the reference space

Description

Given a vector of read sequences and their corresponding cigars, returns the sequences in the reference space by removing soft clippings, removing insertions (relative to the reference), and inserting "-" for deletions (relative to the reference)

Usage

create_refspace_seq(seq, cigar)

Arguments

seq

Read sequences

cigar

Read cigars

Value

A vector of sequences in the reference space. Insertions are ignored since they are not in the reference space


SLeviyang/RegressHaplo documentation built on June 1, 2022, 10:48 p.m.