comparison tools/protein_analysis/tmhmm2.py @ 8:391a142c1e60 draft

Uploaded
author peterjc
date Tue, 26 Mar 2013 14:27:44 -0400
parents 5e62aefb2918
children 20139cb4c844
comparison
equal deleted inserted replaced
7:5e62aefb2918 8:391a142c1e60
46 from seq_analysis_utils import stop_err, split_fasta, run_jobs, thread_count 46 from seq_analysis_utils import stop_err, split_fasta, run_jobs, thread_count
47 47
48 FASTA_CHUNK = 500 48 FASTA_CHUNK = 500
49 49
50 if len(sys.argv) != 4: 50 if len(sys.argv) != 4:
51 stop_err("Require three arguments, number of threads (int), input protein FASTA file & output tabular file") 51 stop_err("Require three arguments, number of threads (int), input protein FASTA file & output tabular file")
52 52
53 num_threads = thread_count(sys.argv[1], default=4) 53 num_threads = thread_count(sys.argv[1], default=4)
54 fasta_file = sys.argv[2] 54 fasta_file = sys.argv[2]
55 tabular_file = sys.argv[3] 55 tabular_file = sys.argv[3]
56 56