I have a file of 1,000 records all in the same format as the attached file. In column A there is text and in column B there is a unique #. What I am trying to do is save each of the 1,000 records as a separate text file using the text_unique # as the text filename. Each file would contain all the entries (except for the last column - Classification) until the next file was saved. Thank you .
Desired output:
first text file (LastName,FirstName_0) Chr Start End Ref Alt Second text file (xxxx,xxx_1111111) Chr Start End Ref Alt Third text file (xxxx,xxx_2222222) Chr Start End Ref Alt