Skip to content

Commit

Permalink
option paths_limit
Browse files Browse the repository at this point in the history
  • Loading branch information
trvinh committed Dec 13, 2023
1 parent c13f69f commit 0b3c799
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion greedyFAS/fdogFAS.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def manage_jobpool(jobdict, seed_names, seed_spec, weight_dir, tmp_path, cores,
"score_weights": (0.7, 0.0, 0.3), "output": 0, "max_overlap_percentage": 0.0, "domain": True,
"pairwise": jobdict[spec], "weight_correction": "loge", "outpath": tmp_path + "/" + spec,
"input_linearized": features[0], "input_normal": features[1], "MS_uni": 0,
"ref_proteome": [spec + '.json'], "progress": False, "old_json": False},
"ref_proteome": [spec + '.json'], "progress": False, "old_json": False, "paths_limit": 0},
seed_proteome, seed_weight, weight_dir, clan_dict, fasta, tmp_path, interprokeys, phmm])
jobpool = multiprocessing.Pool(processes=cores)
results = []
Expand Down
2 changes: 2 additions & 0 deletions greedyFAS/mainFAS/fasWeighting.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ def w_weighting(protein, domain_count, proteome, option):

def w_count_add_domains(protein, domain_count, proteome):
features = []
if domain_count == 'NA':
return 0
for feature in proteome[protein]:
features.append(feature)
for feature in features:
Expand Down

0 comments on commit 0b3c799

Please sign in to comment.