in reply to Re: How to match duplicate lines in a text file and extract only one of those lines to a new file in thread How to match duplicate lines in a text file and extract only one of those lines to a new file
Yes the numbers of the first column are duplicates. The first column is a unique ID number given to an individual. As you probably guessed, the file contains DNA sequences and each individual is allocated 2 rows to represent their alternative alleles. However I need to transform the data so that each individual will only have 1 row instead of 2.
|