Advertisement
misingnoglic

Untitled

Dec 11th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.71 KB | None | 0 0
  1. import os
  2.  
  3. start = "SRR"
  4. no_drug_start = 1977926
  5. no_drug_end = 1978141
  6.  
  7. for i in range(no_drug_start,no_drug_end+1):
  8.         file_name = "{}{}.fastq".format(start,i)
  9.         os.system("mv {} verified_data/no_drug/{}".format(file_name, file_name))
  10.  
  11.  
  12. with_drug_start = 1978142
  13. with_drug_end = 1978296
  14.  
  15. for i in range(with_drug_start,with_drug_end+1):
  16.         file_name = "{}{}.fastq".format(start,i)
  17.         os.system("mv {} verified_data/with_drug/{}".format(file_name, file_name))
  18.  
  19. healthy_start = 1978651
  20. healthy_end = 1978680
  21.  
  22. for i in range(healthy_start,healthy_end+1):
  23.         file_name = "{}{}.fastq".format(start,i)
  24.         os.system("mv {} verified_data/healthy_cells/{}".format(file_name, file_name))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement