Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
[submodule "alphafold3"]
path = alphafold3
url = https://github.com/KosinskiLab/alphafold3.git
branch = ap-gapped-discontinuous-chains-v3.0.2
branch = main
2 changes: 1 addition & 1 deletion alphafold
2 changes: 1 addition & 1 deletion alphafold3
Submodule alphafold3 updated 153 files
10 changes: 4 additions & 6 deletions alphapulldown/utils/mmseqs_species_identifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,12 +388,12 @@ def _write_identifier_rows_to_cache(
def build_mmseq_identifier_features(
a3m_string: str,
*,
species_resolver: Callable[[Sequence[str]], dict[str, str]] = (
resolve_species_ids_by_accession
),
species_resolver: Callable[[Sequence[str]], dict[str, str]] | None = None,
cache_path: str | None = None,
expected_rows: int | None = None,
) -> dict[str, np.ndarray]:
if species_resolver is None:
species_resolver = resolve_species_ids_by_accession
stripped_a3m = strip_mmseq_comment_lines(a3m_string)
source_sha256 = _calculate_mmseq_source_sha256(stripped_a3m)

Expand Down Expand Up @@ -431,9 +431,7 @@ def enrich_mmseq_feature_dict_with_identifiers(
feature_dict: dict[str, np.ndarray],
a3m_string: str,
*,
species_resolver: Callable[[Sequence[str]], dict[str, str]] = (
resolve_species_ids_by_accession
),
species_resolver: Callable[[Sequence[str]], dict[str, str]] | None = None,
cache_path: str | None = None,
) -> None:
msa = feature_dict.get("msa")
Expand Down
5 changes: 3 additions & 2 deletions docker/alphafold3.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ RUN cd /hmmer_build && \
COPY . /app/AlphaPulldown

# ---------------------------------------------------------------------
# Install AlphaFold3 from its locked v3.0.2/Tokamax environment
# Install AlphaFold3 from its locked v3.0.3/Tokamax environment
# ---------------------------------------------------------------------
WORKDIR /app/AlphaPulldown/alphafold3

Expand All @@ -77,7 +77,8 @@ ENV PIP_INDEX_URL=${PIP_INDEX_URL} \
PIP_DEFAULT_TIMEOUT=600 \
PIP_RETRIES=10 \
PIP_NO_CACHE_DIR=1 \
PIP_DISABLE_PIP_VERSION_CHECK=1
PIP_DISABLE_PIP_VERSION_CHECK=1 \
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_ALPHAFOLD3=3.0.3

ENV CMAKE_BUILD_PARALLEL_LEVEL=1
ENV CFLAGS="-O2 -pipe"
Expand Down
Loading