Overview of MSA Data Structure
mainProtenix organizes Multiple Sequence Alignment (MSA) data using an integer-indexed directory structure. Each unique protein sequence is assigned an integer index (e.g., 0, 1, 2), which corresponds to a subdirectory under the root MSA directory.
To resolve a sequence to its directory ID, the data loader uses a seq_to_pdb_index.json file located in a common directory.
Directory Layout Example:
├── common
│ ├── seq_to_pdb_index.json # Mapping from sequence to directory ID
│ └── ... # Other metadata
├── mmcif_msa_template # Root directory for MSA files
│ ├── 0
│ │ ├── pairing.a3m # MSAs paired by taxonomy ID
│ │ ├── non_pairing.a3m # Unpaired MSAs
│ │ └── hmmsearch.a3m # Templates from HMMER search
│ ├── 1
│ │ ├── pairing.a3m
│ │ ├── non_pairing.a3m
│ │ └── hmmsearch.a3m
│ └── ...