Skip to content

Implementation of from_alphafold - #5457

Open
jauy123 wants to merge 132 commits into
MDAnalysis:developfrom
jauy123:fetcher_alphafold
Open

Implementation of from_alphafold#5457
jauy123 wants to merge 132 commits into
MDAnalysis:developfrom
jauy123:fetcher_alphafold

Conversation

@jauy123

@jauy123 jauy123 commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Fixes #5432

Changes made in this Pull Request:

  • Implements from_alphafold using StaticFetcher

LLM / AI generated code disclosure

LLMs or other AI-powered tools (beyond simple IDE use cases) were used in this contribution: no

PR Checklist

  • Issue raised/referenced?
  • Tests updated/added?
  • Documentation updated/added?
  • package/CHANGELOG file updated?
  • Is your name in package/AUTHORS? (If it is not, add it!)
  • I have read and understand the current AI Policy
  • LLM/AI disclosure was updated.

Developers Certificate of Origin

I certify that I can submit this code contribution as described in the Developer Certificate of Origin, under the MDAnalysis LICENSE.

@codecov

codecov Bot commented Aug 12, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.29730% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.88%. Comparing base (83bc9a2) to head (1ed02d5).
⚠️ Report is 6 commits behind head on develop.

Files with missing lines Patch % Lines
package/MDAnalysis/fetch/fetchers.py 96.80% 3 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #5457      +/-   ##
===========================================
+ Coverage    93.87%   93.88%   +0.01%     
===========================================
  Files          182      183       +1     
  Lines        22510    22651     +141     
  Branches      3202     3228      +26     
===========================================
+ Hits         21131    21267     +136     
- Misses         917      921       +4     
- Partials       462      463       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jauy123

jauy123 commented Aug 12, 2026

Copy link
Copy Markdown
Contributor Author

Docs are also done here

@orbeckst orbeckst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Impressive work, nice!

My comments are mostly docs and coding style.

I'll leave the heavy commenting to @BradyAJohnston @yuxuanzhuang @talagayev .

Comment thread .gitignore Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is this PR introducing StaticFetcher ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Now I am seeing that the main PR is really #5436 – I'll add a quick comment there to send you back here. Sorry.

Comment thread package/MDAnalysis/fetch/fetchers.py Outdated
Comment thread package/MDAnalysis/fetch/fetchers.py Outdated
Comment thread package/MDAnalysis/fetch/fetchers.py
Comment thread package/MDAnalysis/fetch/pdb.py Outdated
Comment thread package/MDAnalysis/fetch/pdb.py Outdated
Comment thread package/MDAnalysis/fetch/pdb.py Outdated
Comment on lines +28 to +30
This suite of functions download structure files from the Research
Collaboratory for Structural Bioinformatics (RCSB)
`Protein Data Batabank`_ (PDB).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The header only talks about Protein Databank but the AlphaFold fetcher is also in here. Personally, I'd create a separate module for AlphaFold, similar to this one here.

However, if you and your mentors prefer to have it in the same file then please at least update the text here to also talk about the AF database (with link).

Comment thread package/MDAnalysis/fetch/pdb.py Outdated
@jauy123

jauy123 commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Just saw comment here. Will spend time this weekend to address this

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

Labels

fetcher GSoC GSoC project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[GSoC 2026] Implementation of from_alphafold()

5 participants