I am a new hand in the data analysis. Now I have the alignment results in .txt file, which includes subject sequence, pattern sequence, and score, as below:
subject:  AACGAACGCTGGCGGCATGCCTAACACATGCAAGT...GAAGTCGTAACAAGGTAGCCGTAGGGGAACCTGC score: 3031.58 Global PairwiseAlignmentsSingleSubject (1 of 1) pattern:  AACGAACGCTGGCGGCATGCCTAACACATGCAAGT...GAAGTCGTAACAAGGTAGCCGTAGGGGAACCTGC subject:  AATGAACGCTGGCGGCATGCCTAACACATGCAAGT...GAAGTCGTAACAAGGTAGCCGTAGGGGAACCTGC score: 2502.837
I plan to sort the score value for each aligned sequence and save the sorted scores in .txt files. I tried
order() in R but didn't work. Could you please give me some suggestions or advice?