|
7 | 7 |
|
8 | 8 | Options: |
9 | 9 | -h --help show this |
10 | | - -m, --cluster_summary <FILE> *.cluster_summary.txt file (e.g. TAXON.cluster_summary.txt) from KinFin output |
| 10 | + -m, --cluster_summary <FILE> TAXON.cluster_summary.txt file from KinFin output |
11 | 11 | -c, --config_file <FILE> config.txt used in Kinfin analysis |
12 | 12 | -o, --out_prefix <STR> Outprefix (default: graph) |
13 | 13 | --exclude_universal Excludes clusters in which all taxa are present from edge weights (default: False) |
@@ -49,12 +49,12 @@ def parse_cluster_stats_f(cluster_stats_f, proteomeObj_by_proteome_id, attribute |
49 | 49 | #proteome_id_idx = [idx for idx, column in enumerate(temp) if column.replace("_count", "") in proteomeObj_by_proteome_id] |
50 | 50 | #proteome_id_by_idx = {idx : proteome_id for idx, proteome_id in zip(proteome_id_idx, sorted(proteome_id_fields))} |
51 | 51 | if not proteome_id_by_idx: |
52 | | - sys.exit("[-] No column header ending in '_count' found in %s" % (",".join(temp))) |
| 52 | + sys.exit("[-] No column header ending in '_count' found in %s. Please use TAXON.cluster_summary.txt" % (",".join(temp))) |
53 | 53 | for idx, col in enumerate(temp): |
54 | 54 | if col == "attribute_cluster_type": |
55 | 55 | cluster_type_idx = idx |
56 | 56 | if not cluster_type_idx: |
57 | | - sys.exit("[-] No column header 'cluster_type' found in %s" % (",".join(temp))) |
| 57 | + sys.exit("[-] No column header 'cluster_type' found in %s. Please use TAXON.cluster_summary.txt" % (",".join(temp))) |
58 | 58 | else: |
59 | 59 | protein_counts_by_proteome_id = {} |
60 | 60 | for idx, proteome_id in proteome_id_by_idx.items(): |
|
0 commit comments