Mercurial > repos > bornea > saint_preproc
comparison SAINT_preprocessing_v6.py @ 13:13383ba55336 draft
Uploaded
| author | bornea |
|---|---|
| date | Tue, 17 Nov 2015 10:32:56 -0500 |
| parents | 30d53a378141 |
| children | 40c88c39f8d7 |
comparison
equal
deleted
inserted
replaced
| 12:ed33c5e621b7 | 13:13383ba55336 |
|---|---|
| 20 prey = sys.argv[2] # Y or N | 20 prey = sys.argv[2] # Y or N |
| 21 fasta_db = sys.argv[3] | 21 fasta_db = sys.argv[3] |
| 22 tool_path = sys.argv[8] | 22 tool_path = sys.argv[8] |
| 23 if fasta_db == "None": | 23 if fasta_db == "None": |
| 24 fasta_db = str(tool_path) + "/SwissProt_HUMAN_2014_08.fasta" | 24 fasta_db = str(tool_path) + "/SwissProt_HUMAN_2014_08.fasta" |
| 25 make_bait= sys.argv[5] | 25 make_bait= sys.argv[6] |
| 26 | 26 |
| 27 | 27 |
| 28 baits = make_bait.split() | 28 baits = make_bait.split() |
| 29 print baits | |
| 29 i = 0 | 30 i = 0 |
| 30 bait_file_tmp = open("bait.txt", "wr") | 31 bait_file_tmp = open("bait.txt", "wr") |
| 31 order = [] | 32 order = [] |
| 32 bait_cache = [] | 33 bait_cache = [] |
| 33 | 34 |
