MHCXGraph.utils.preprocessing.create_graphs

MHCXGraph.utils.preprocessing.create_graphs(manifest: dict) list[GraphSpec][source]

Construct deferred subgraph builders from the manifest input structures.

Rather than building every subgraph up front (which makes resident memory grow linearly with the number of proteins), this returns one GraphSpec per file. Callers decide when to materialize: ‘multiple’ builds all of them, ‘pairwise’/’screening’ build one or two at a time.

Returns:

One deferred builder per selected input structure.

Return type:

list[GraphSpec]