No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi Guys, This seems easy, it just doesnt seem to work. I want to: loop through each file in a directory. each file contains a number of lines like this ">XXXXX" I want to extract each line that contains this,move it to a new file labelled almost identical to the … | |
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: if line[0]==">": handle.write(line +"*" + "BTAU1293812" +str(count) + "\n") … | |
Hi!totally new, i did an undergrad in non-python related science, and I'm trying to move into incorporating python into my postgrad, so my questions right now are fairly basic. I basically want to run muscle (a sequence alignment tool) on a large number of files.how do i start a python … |