-
Notifications
You must be signed in to change notification settings - Fork 30
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
ValueError: max() arg is an empty sequence #106
Comments
Any luck on this? I am having the same issue with two different reference mitochondria genbank files and the singularity container. I have gotten MitoHifi to work in the past with the same command on a different organism so not sure what is going on here. |
I just encountered the same issue too. I'm using the conda installation, with everything installed today and the genbank file fetched today. |
I'm having the same issue using MitoHiFi as a docker image on my local machine running MacOs Sequoia 15.1. |
I'm having the same issue using MitoHiF-3.2.2. Traceback (most recent call last): The issue was solved by fixing the MitoFinder installation, the "python-xml" package was missing. |
I ended up figuring out that mitohifi was getting tripped up on the fact that none of the putative mitochondrial contigs were circularized and as a result mitofinder would not proceed with annotation. After mapping the reads to the reference and assembling them into contigs using Flye, I was able to get mitohifi to run to completion using the contigs as input. I ended up using the docker image via singularity in the end, and it all works fine now so long as the input contigs are circular. |
Hi, everyone:
I am running docker/singularity version of MitoHiFi with apptainer as:
apptainer run -C -B /home -B /project -B /scratch -W ${SLURM_TMPDIR} mitohifi.sif python3 /opt/MitoHiFi/src/mitohifi.py -c /home/velascoc/projects/def-strelkov/velascoc/HiFi/pggb/S16_OS00FE2B_DA230375_bc2089.p_ctg_prefixed.fa -f /home/velascoc/scratch/HiFi/MitoHiFi/P_brassicae_Mitochondrion_LS992577_1.fasta -g /home/velascoc/scratch/HiFi/MitoHiFi/P_brassicae_Mitochondrion_LS992577_1.gb -t 4 -o 4
However, I get the following error:
The weird thing is that the command works perfectly with some .gb files and does not work with other .gb files. For example, using NC_034004 as a reference, I get the expected output files, while when I use LS992577, I get the error.
I know that the error is caused by mitofinder and is associated with the genome I am using as a reference. However, I don't know how to fix it. Does anyone have any idea?
I created the container as:
apptainer build mitohifi.sif docker://ghcr.io/marcelauliano/mitohifi:master
and the version is:
Thanks
Sandra
The text was updated successfully, but these errors were encountered: