[Tutor] Help

2010-05-15 Thread she haohao
Hi, I have some questions that I am unable to figure out. Let say I have a file name peaks.txt. Chr17 9 4.5 5.5 chr10 6 9 3.5 4.5 chr1 10 6 2.5 4.4 Question is how can i sort the file so that it looks like this:

[Tutor] Help

2010-05-14 Thread she haohao
Hi, I am a beginner in python and I have a problem here and I hope someone can help me. Your help is greatly appreciated. Question. Say I have a .fa file and I want to print a subsequence from the file without the \n how can i do it. Example: Inside the test.fa file I have >c