Advertisement
Guest User

Приложение 1

a guest
Apr 23rd, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. peaks = []
  2. with open("His.PSC.50.AllAg.AllCell.bed")as f:
  3.     for line in f:
  4.         peaks.append(line.strip().split())
  5.  
  6. f2 = open('H3K36me3Peaks.bed', 'w')
  7. for item in peaks:
  8.     if item[3].find('H3K36me3') > 0:
  9.         d.write(item[0] + ' ' + item[1] + ' ' + item[2] + '\n')
  10. f2.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement