extractTyping: Extract the HLA typing string from one line of aligment

Description Usage Arguments Value Author(s) Examples

View source: R/prepareHLAdb.R

Description

Extract the HLA typing string from a character string containing one line of alignment

Usage

1
extractTyping(seq, endPos)

Arguments

seq

A character string contening the sequence.

endPos

A integer fixing the end of the introduction section of the sequence.

Value

a character string containing the HLA type of a empty character string

Author(s)

Pascal Belleau, Astrid Deschenes

Examples

1
2
3
4
5
## One line of aligment
sequence <- " DOB*01:01:01:01       MGSGWV PWVVALLVNL TRLDSSMTQG"

## Extract HLA type
HLAClustRView:::extractTyping(seq=sequence, endPos=20)

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