Skip to content

--min_eps and --eps_step flags not recognized #9

@mariagviegas

Description

@mariagviegas

Hello,
because the program does not find any clusters for my protein sequence with the standard clustering settings, I was trying to change some of the epsilon settings. The "--eps_val" flag seems to be working. But once I try with "--min_eps" or "--eps_step", I get the following errors:

python scripts/ClusterMSA.py EX -i /home/pbuser/Documents/Maria/230809_test_af_cluster_SacETF/2ndtry/input/SacETF_cdc32.a3m -o /home/pbuser/Documents/Maria/230809_test_af_cluster_SacETF/2ndtry/output/standard --min_eps 1
EX
20240 seqs removed for containing more than 25% gaps, 646 remaining
Traceback (most recent call last):
File "/home/pbuser/af_cluster/AF_Cluster/scripts/ClusterMSA.py", line 101, in
eps_test_vals=np.arange(args.min_eps, args.max_eps+args.eps_step, args.eps_step)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: arange() not supported for inputs with DType <class 'numpy.dtypes.StrDType'>.

AND

python scripts/ClusterMSA.py EX -i /home/pbuser/Documents/Maria/230809_test_af_cluster_SacETF/2ndtry/input/SacETF_cdc32.a3m -o /home/pbuser/Documents/Maria/230809_test_af_cluster_SacETF/2ndtry/output/standard --eps_step .5
EX
20240 seqs removed for containing more than 25% gaps, 646 remaining
Traceback (most recent call last):
File "/home/pbuser/af_cluster/AF_Cluster/scripts/ClusterMSA.py", line 101, in
eps_test_vals=np.arange(args.min_eps, args.max_eps+args.eps_step, args.eps_step)
~~~~~~~~~~~~^~~~~~~~~~~~~~

It kind of seems like the input values were not being converted into floats and taken as strings.
Thank you in advance for your help!
Best,
María

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions