Skip to content

Error on alignment of extracted BUSCO genes #26

@MattB64

Description

@MattB64

Dear Edgardo,
I have been using CAPTUS effectively for about a year, but have suddnely encountered an error when trying to align from BUSCO extractions (Basidiomycota, so ~3500 BUSCO genes). The same problem occurs attempting to re-run previous ectracted files that have worked before. I am using a Mac with Apple M3 chip. I tried re-installing with the latest CAPTUS version, but am still seeing the same error reproduced below. Since MUSCLE is mentioned in the error log I tried to use the MAFFT option, but still get the same error message.

I'd appreciate any suggestion as to what the cause could be.

Mant thanks,
Matt

captus align -e 03_extractions

Starting Captus-assembly: ALIGN (2025-05-15 00:54:52)
Welcome to the alignment step of Captus-assembly. In this step, Captus will
collect all the extracted markers across all samples in '03_extractions' and
group them by marker. Then Captus will align each marker using MAFFT or MUSCLE.
If given, the reference loci are also included as alignment guides and removed
after alignment
For more information, please see https://github.com/edgardomortiz/Captus

        Captus version: v1.4.0
               Command: /opt/miniconda3/envs/captus/bin/captus align -e 03_extractions
                    OS: macOS-14.4.1-x86_64-i386-64bit
                  Host: P2LTJX3WR5
              Max. RAM: 15.8GB (out of 16.0GB)
          Max. Threads: 8 (out of 8)

          Dependencies:

Traceback (most recent call last):
File "/opt/miniconda3/envs/captus/bin/captus", line 10, in
sys.exit(main())
^^^^^^
File "/opt/miniconda3/envs/captus/lib/python3.12/site-packages/captus/captus_assembly.py", line 1547, in main
CaptusAssembly()
File "/opt/miniconda3/envs/captus/lib/python3.12/site-packages/captus/captus_assembly.py", line 86, in init
getattr(self, args.command)()
File "/opt/miniconda3/envs/captus/lib/python3.12/site-packages/captus/captus_assembly.py", line 1543, in align
align(full_command, args)
File "/opt/miniconda3/envs/captus/lib/python3.12/site-packages/captus/align.py", line 92, in align
muscle_path, muscle_version, muscle_status = muscle_path_version(args.muscle_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/captus/lib/python3.12/site-packages/captus/misc.py", line 561, in muscle_path_version
version = process.communicate()[0].decode().strip("\n").split()[1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range

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