I want to add a bunch of tags similar to *BTAU1293812 to the end of a bunch of strings (eg ">ASIOHDA87982374:r:23423:2342: 2342 known"
i have :
count = 0
....then i open the file and the handle
for line in fi:
handle.write(line +"*" + "BTAU1293812" +str(count) + "\n")
but what happens is it attaches my tag to the start of a new line, wheras i actually want the tag to start the directly after the name.
Any clues how to turn ">YGE:2736:1283712:asjdh"
(the particular letters are irrevelant, i just made them up, the actual names are massively long!)