Skip to content

cmap calculation fails for 2nd component - heterotypic system #46

Description

@SimonRuedisser

Test system:

Tau35_TIA1 from the CALVADOS examples
https://github.com/KULL-Centre/CALVADOS/tree/main/examples/slab_IDR_MDP

The calculation of cmap for TIA1 fails (see run.py and error below).

The calculation of cmap for Tau35 and between Tau35 and TIA1 completes without errors.

last few lines of run.py (request cmap for TIA1) to request computation of cmap for TIA1:

....
calculate contact map between name_2 and name_2
chainid_dict = dict(TIA1 = (100,199))
calc_contact_map(path="/nfs/nas22/fs2202/biol_bc_allain_1/projects/hnRNP-40S_gp/CALVADOS/examples/test_simon/Tau35_TIA1",sysname="Tau35_TIA1",output_path="data",chainid_dict=chainid_dict,is_slab=True)

slab_IDR.err output:

File "/nfs/nas22/fs2202/biol_bc_allain_1/projects/hnRNP-40S_gp/CALVADOS/examples/test_simon/Tau35_TIA1/run.py", line 42, in
calc_contact_map(path="/nfs/nas22/fs2202/biol_bc_allain_1/projects/hnRNP-40S_gp/CALVADOS/examples/test_simon/Tau35_TIA1",sysname="Tau35_TIA1",output_path="data",chainid_dict=chainid_dict,is_slab=True)
File "/cluster/home/gpalfy/miniconda3/envs/calvados/lib/python3.10/site-packages/calvados/analysis.py", line 965, in calc_contact_map
cmap += (.5-.5*np.tanh((d-1.)/.3)).reshape(mask_frames.sum(),
ValueError: cannot reshape array of size 5504812500 into shape (785,275,newaxis,275)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions