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/Integrating-HLA-typing-methods-and-RNA-seq documentation built on Nov. 23, 2019, 1:57 a.m.