This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to process HLA typing information in SNP2HLA format

Hi, I have done HLA typing and need to to process the file in specific format as below. Any help will be appreciated!

Thank you!

Input: case_08 1 101 case_08 2 103 case_10 1 9901 case_10 2 9901 case_11 1 9901 case_11 2 9901 case_14 1 9901 case_14 2 9901 case_16 1 9901 case_16 2 103

Output: 101 103 9901 case_08 P_A A_P A_A case_10 A_A A_A P_P case_11 A_A A_A P_P case_14 A_A A_A P_P case_16 A_A A_P P_A

r genetics

0 answers

No answers yet.

Log in to answer this question.