Closed:short genotype format
2
0
Entering edit mode
6.5 years ago
admamajdi • 0

Hello,

Using Linux (or may be R), what is the most efficient way to transform long genotype format into short format?

Input file:

11130012
33221200

Transformation: 11 into 0; 12 or 13 into 1; 22 or 33 into 2 and 00 into 5.

The output file would be:

0151
2215
snp • 277 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 1444 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6