Skip to content

IdentifyOrthologs.py fails... strains from PropagateGroups.py not in matrix #7

@Bjartur108

Description

@Bjartur108

When running IdentifyOrthologs.py with the default settings, I get the following message in the output:

Parsing matrix to identify orthologs...
A_aeriphila_YT10 not found in matrix. Check strainlist.

Taking a look at homolog_matrix.txt, it appears that none of the strains I ran PropagateGroups.py on are in the matrix (or in locustag_matrix.txt), only those from the initial BuildGroups.py command.

The error file includes the following (including the versions of HMMER and MCL in case they are relevant):

Module MCL 12.068 Loaded.
Module HMMER 3.1b2 Loaded.
Traceback (most recent call last):
File "/home/okra108/.conda/envs/pyparanoid/bin/IdentifyOrthologs.py", line 252, in
main()
File "/home/okra108/.conda/envs/pyparanoid/bin/IdentifyOrthologs.py", line 225, in main
orthos = parse_threshold_matrix(args.threshold,strains)
File "/home/okra108/.conda/envs/pyparanoid/bin/IdentifyOrthologs.py", line 59, in parse_threshold_matrix
strain_vals = [vals[i] for i in indices
UnboundLocalError: local variable 'indices' referenced before assignment

Do you know what the issue could be here? I didn't get any errors when I ran PropagateGroups.py, but I see that the prop_homolog_faa outdir is empty (the other prop_* outdirs all have files for each strain).

Thanks,
Nick

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