Skip to content

Commit

Permalink
Protein Methods (#86)
Browse files Browse the repository at this point in the history
* begin consolidating the structural features for a protein

* update the core to use ndarray

* src and Cargo

* slim utilities

* move to NDarray

* update tests
  • Loading branch information
zachcp authored Dec 27, 2024
1 parent 00059e9 commit a07b0b0
Show file tree
Hide file tree
Showing 8 changed files with 730 additions and 269 deletions.
40 changes: 35 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions ferritin-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ description.workspace = true
[dependencies]
pdbtbx.workspace = true
itertools.workspace = true
ndarray = { version = "0.16" }
lazy_static = "1.5.0"
strum = { version = "0.25", features = ["derive"] }

[dev-dependencies]
ferritin-test-data = { path = "../ferritin-test-data" }
264 changes: 0 additions & 264 deletions ferritin-core/examples/ccd.rs

This file was deleted.

12 changes: 12 additions & 0 deletions ferritin-core/src/featurize/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//! Protein Featurizer for ProteinMPNN/LignadMPNN
//!
//! Extract protein features for ligandmpnn
//!
//! Returns a set of features calculated from protein structure
//! including:
//! - Residue-level features like amino acid type, secondary structure
//! - Geometric features like distances, angles
//! - Chemical features like hydrophobicity, charge
//! - Evolutionary features from MSA profiles
mod ndarray_impl;
mod utilities;
Loading

0 comments on commit a07b0b0

Please sign in to comment.