Skip to content

Add pLDDT analysis script for FoldX5 vs FoldX5.1 classification agree…#70

Open
angelikivliora wants to merge 2 commits into
mainfrom
foldx-version-comparison-v2
Open

Add pLDDT analysis script for FoldX5 vs FoldX5.1 classification agree…#70
angelikivliora wants to merge 2 commits into
mainfrom
foldx-version-comparison-v2

Conversation

@angelikivliora
Copy link
Copy Markdown

@angelikivliora angelikivliora commented May 12, 2026

No description provided.

Comment on lines +80 to +82
except Exception as e:
print(f" could not process {protein_name}: {e}")
continue
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here it would make more sense to exit with error - otherwise you just skip over cases that might have problems

Comment on lines +216 to +219
plot_plddt_distribution(df_mutations, args.output_dir)
plot_plddt_scatter(df_mutations, args.output_dir)
print("\n[3] per-protein summary...")
plot_per_protein_delta(df_mutations, args.output_dir)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

more of a note for the future:

if you're running 1 call per function, they usually don't need to be functions unless they have a more general use e.g. being imported

overusing function encapsulation can complicate things and makes the script more opaque

# Matching is done by UniProt ID + protein name
# RMSD is computed only on overlapping residues between the two structures
# Run: python rmsd_matrix.py --foldx5_dir /path/to/folder --foldx51_dir /path/to/folder --output_dir ./rmsd_results
# Run: python rmsd_matrix.py -f /data/user/shared_projects/mavisp_ensemble_sim_length/foldx5.1_evaluation/foldx5_initial_structures -i /data/user/shared_projects/mavisp_ensemble_sim_length/foldx5.1_evaluation/data_collection_foldx5.1 -o ./rmsd_results
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be in a readme file, not in the code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants