extractSeq: Process the line containing the alignment to the reference

Description Usage Arguments Value Author(s) Examples

View source: R/prepareHLAdb.R

Description

Extract the information about the alignment compared to the reference sequence.

Usage

1
extractSeq(seq, startPos)

Arguments

seq

A character string containing the alignment sequence.

startPos

A integer corresponding to the position in the character string where the sequence is starting.

Value

A character string representing the aligment sequence compared to the reference sequence.

Author(s)

Pascal Belleau, Astrid Deschenes

Examples

1
2
3
4
5
## Define a alignment sequence string
sequence <- " DOB*01:01:01:02       ------ ---------- ---------- "

## Extract the alignment section
HLAClustRView:::extractSeq(seq=sequence, startPos=20)

NCBI-Hackathons/HLAClustRView documentation built on Nov. 22, 2019, 6:11 a.m.