-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Hello there,
I could run pconsC4 successfully for some fasta alignments but not the other. I couldn't figure out the possible cause of why certain alignments are not acceptable (see the error message I get below). Could you please let me know if there are any specific values accepted for alignment length, number of sequences, etc.
Thanks,
Alina
The error message I get is the following:
pred_3 = pconsc4.predict(model, 'cadtry2.fasta')
Traceback (most recent call last):
File "", line 1, in
File "/ifs/scratch/c2b2/bh_lab/aps2174/anaconda3/lib/python3.6/site-packages/pconsc4/run.py", line 97, in predict
return predict_contacts(model, alignment, verbose)
File "/ifs/scratch/c2b2/bh_lab/aps2174/anaconda3/lib/python3.6/site-packages/pconsc4/run.py", line 101, in predict_contacts
feat_dict, L = _generate_features(alignment, verbose)
File "/ifs/scratch/c2b2/bh_lab/aps2174/anaconda3/lib/python3.6/site-packages/pconsc4/run.py", line 37, in _generate_features
self_info, part_entr, seq = process_a3m(fname)
File "pconsc4/parsing/_load_data.pyx", line 184, in pconsc4.parsing._load_data.process_a3m
File "pconsc4/parsing/_load_data.pyx", line 67, in pconsc4.parsing._load_data.load_a3m
ValueError: setting an array element with a sequence.