Skip to content

Conversation

@azmtag
Copy link
Collaborator

@azmtag azmtag commented Mar 10, 2024

This is a technical PR to keep track of my ad-hoc changes

@azmtag azmtag requested a review from alexeigurevich March 10, 2024 12:47
self.single_amino_pred = prediction_data['single_amino_pred']
self.uncertain = prediction_data['uncertain']
else:
raise RuntimeError('Neither "nrpys" nor "NRPSPredictor2" in domain prediction.')
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BGC0001329 and BGC0002100 cause this exception

0, predictions_info_list, dirname)
except KeyboardInterrupt as e:
raise e
except Exception as e:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BGC0002095 causes

Traceback (most recent call last):
  File "/home/azat/tools/nerpa-1-1/bin/nerpa.py", line 355, in <module>
    run(args, log)
  File "/home/azat/tools/nerpa-1-1/bin/nerpa.py", line 305, in run
    path_predictions = predictions_preprocessor.create_predictions_by_antiSMASH_out(get_antismash_v3_compatible_input_paths(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/azat/tools/nerpa-1-1/share/nerpa/nerpa_pipeline/predictions_preprocessor.py", line 89, in create_predictions_by_antiSMASH_out
    handle_helper.debug_print_parts(dirname, parts, orf_domains, orf_ori, orf_pos)
  File "/home/azat/tools/nerpa-1-1/share/nerpa/nerpa_pipeline/handle_helper.py", line 139, in debug_print_parts
    print(cur_orf + "[" + str(orf_pos[cur_orf][0]) + "-" +
                              ~~~~~~~^^^^^^^^^
KeyError: 'ctg1_extra_gene'

handle_helper.debug_print_parts(dirname, parts, orf_domains, orf_ori, orf_pos)

if len(parts) > 100:
raise RuntimeError(f'Too many parts: {len(parts)}')
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BGC0000459: 347 parts
BGC0001033: 34460 parts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants