Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: tuple index out of range #62

Open
ppat818 opened this issue Jun 4, 2024 · 1 comment
Open

IndexError: tuple index out of range #62

ppat818 opened this issue Jun 4, 2024 · 1 comment

Comments

@ppat818
Copy link

ppat818 commented Jun 4, 2024

Hi,

I installed read2tree using Bioconda. I tried running the first command for multiple species mode but I get the following error immediately:

Traceback (most recent call last):

  File "/home/ppat818/anaconda3/envs/env-read2tree/bin/read2tree", line 16, in <module>
    main(sys.argv[1:], exe_name=exe_name(), desc=desc)
  File "/home/ppat818/anaconda3/envs/env-read2tree/lib/python3.10/site-packages/read2tree/main.py", line 287, in main
    oma_output = OMAOutputParser(args)
  File "/home/ppat818/anaconda3/envs/env-read2tree/lib/python3.10/site-packages/read2tree/parser/OMAOutputParser.py", line 22, in __init__
    self.oma_output_path = self._check_oma_output_path()
  File "/home/ppat818/anaconda3/envs/env-read2tree/lib/python3.10/site-packages/read2tree/parser/OMAOutputParser.py", line 59, in _check_oma_output_path
    elif standalone_path.parts[-1] == OMA_MARKER_GENE_EXPORT:
IndexError: tuple index out of range

An mplog.log file is created but it is empty. I have updated Conda and am using the latest versions of all dependencies.

I appreciate any help :)

@sinamajidian
Copy link
Contributor

Hello,

I would suggest first running read2tree on the test dataset provided on github, and tell us whether you get the tree.
Could you please tell us the command line you are using to run read2tree?
Please also describe the input files and how you get the gene markers.

Best,
Sina

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

No branches or pull requests

2 participants