Skip to content

Add Trp-cage / 1L2Y test data for the colabfold module - #2354

Merged
vagkaratzas merged 1 commit into
nf-core:modulesfrom
Bboy010:modules-colabfold-trp-cage
Oct 30, 2026
Merged

vagkaratzas merged 1 commit into
nf-core:modulesfrom
Bboy010:modules-colabfold-trp-cage

Conversation

@Bboy010

@Bboy010 Bboy010 commented Oct 28, 2026

Copy link
Copy Markdown

Test data for the template inputs of the colabfold/colabfold module (nf-core/modules#13066), requested in review: Trp-cage (PDB 1L2Y, 20 residues) so a GPU prediction takes seconds.

File Size Used for
data/proteomics/pdb/1l2y.pdb 25 KB templates input (--custom-template-path); model 1 of 1L2Y, header records kept
data/proteomics/colabfold/trp_cage.a3m 31 B query as a single-sequence A3M, so --templates runs without the ColabFold MSA server
data/proteomics/colabfold/trp_cage_pdb_hits.m8 52 B pdb_hits input (--pdb-hit-file), one hit to 1l2y_A
data/proteomics/colabfold/local_pdb.tar.gz 6 KB local_pdb input (--local-pdb-path), one-entry mirror local_pdb/1l2y.cif made with ColabFold 1.5.5's convert_pdb_to_mmcif

The README of data/proteomics describes the files and how they were made. All three GPU tests of the module pass locally with these files (prediction finds 1l2y_A as template in both template tests).

🤖 Generated with Claude Code

- pdb/1l2y.pdb: model 1 of the Trp-cage NMR structure (20 residues)
- colabfold/trp_cage.a3m: single-sequence A3M query
- colabfold/trp_cage_pdb_hits.m8: one BLAST-m8 template hit to 1l2y_A
- colabfold/local_pdb.tar.gz: one-entry local PDB mirror (1l2y.cif)

Used by the template tests of nf-core/modules colabfold/colabfold (#13066).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bboy010 added a commit to Bboy010/modules that referenced this pull request Oct 28, 2026
… test every input

- New colabfold/downloadmodels (COLABFOLD_DOWNLOADMODELS): downloads a
  parameter set once with colabfold's own download_alphafold_params(),
  which also writes the params/download*_finished.txt marker. Stub test.
- colabfold/colabfold (COLABFOLD_COLABFOLD, moved from colabfold/):
  weights are a required input (--data); the empty-FASTA guard and its
  test are gone, the CPU test file is stub-only.
- templates are staged as files into templates/, so the pdb70 index and
  PDB->mmCIF conversions colabfold writes there stay in the task dir.
- The input also accepts a single A3M (colabfold names that query after
  the file); with a FASTA, --templates always queries the MSA server.
- Stub names the files after the FASTA headers (or the A3M file name).
- GPU tests take the weights from a setup block running
  COLABFOLD_DOWNLOADMODELS, and cover custom templates (1L2Y) and
  pdb_hits + local_pdb (via UNTAR) on Trp-cage; test data in
  nf-core/test-datasets#2354.
- meta.yml: weights description (download marker), TSV for *.m8.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@vagkaratzas vagkaratzas left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM!

@vagkaratzas
vagkaratzas merged commit a8dcc6c into nf-core:modules Oct 30, 2026
1 check passed
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