Skip to content

Allow to specify the number of the first residue of a chain #58

@lucajovine

Description

@lucajovine

Something that I find really inconvenient in AF3 is the lack of an option to specify what number should be assigned to the first residue of a given chain (if the user does not want it to be the default "1"). I have tried convincing the AF3 team to introduce this but they did not want to do so, as in principle this can of course also be done using postprocessing scripts. Nonetheless, I do think that implementing this directly would make people's life easier, so hopefully there is room for such an enhancement in OF3?

Once again using the example examples/example_inference_inputs/query_multimer.json as a template, what I am suggesting is something like this:

{
    "queries": {
        "7cnx": {
            "chains": [
                {
                    "molecule_type": "protein",
                    "chain_ids": [
                        "A",
                        "C"
                    ],
                    "sequence": "MLNSFKLSLQYILPKLWLTRLAGWGASKRAGWLTKLVIDLFVKYYKVDMKEAQKPDTASYRTFNEFFVRPLRDEVRPIDTDPNVLVMPADGVISQLGKIEEDKILQAKGHNYSLEALLAGNYLMADLFRNGTFVTTYLSPRDYHRVHMPCNGILREMIYVPGDLFSVNHLTAQNVPNLFARNERVICLFDTEFGPMAQILVGATIVGSIETVWAGTITPPREGIIKRWTWPAGENDGSVALLKGQEMGRFKLG",
					"starting_residue_number:": "102"
                },
                {
                    "molecule_type": "protein",
                    "chain_ids": [
                        "B",
                        "D"
                    ],
                    "sequence": "XTVINLFAPGKVNLVEQLESLSVTKIGQPLAVSTGHHHHHHG",
					"starting_residue_number:": "22"
                }
            ]
        }
    }
}

which would generate PDBs where chains A and C would contain residues M102-G354, and chains B and D would contain residues X22-G63.

Thank you!!!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions