Mercurial > repos > peterjc > tmhmm_and_signalp
comparison tools/protein_analysis/tmhmm2.py @ 11:99b82a2b1272 draft
Uploaded v0.2.0 which added PSORTb wrapper (written with Konrad Paszkiewicz)
author | peterjc |
---|---|
date | Wed, 03 Apr 2013 10:49:10 -0400 |
parents | e52220a9ddad |
children | eb6ac44d4b8e |
comparison
equal
deleted
inserted
replaced
10:09ff180d1615 | 11:99b82a2b1272 |
---|---|
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 |