Skip to content

Error in Assembled Mitochondrial Genome Output for Some Metagenomes #226

@jpinus

Description

@jpinus

on which platform/server? (Windows? Windows Sublinux? MacOS? Ubuntu? etc.)

linux HPC

MitoZ version?

mitoz 3.6

How did you install MitoZ? (e.g. Docker, Udocker, Singularity, Conda-Pack, Conda, or source code)

conda

Did you run a test after your installation, and was the test run okay?

sure

How much data (roughly) did you use for mitogenome assembly? e.g. 5Gbp?

assembled mitochondrial genomes via NOVOPlasty

The command you used?

mitoz annotate --outprefix ${sample} --fastafiles simplified_${sample}.fasta --thread_number 20 --clade Annelida-segmented-worms

Problem description

I'm currently using MitoZ to assemble mitochondrial genomes from a set of 155 metagenomes. While the assembly worked perfectly for 140 of the metagenomes, I’m encountering an issue with the remaining samples. Even for those where the mitochondrial genomes were circularized, the assembly is incomplete or contains errors, such as misaligned or missing genes.

I've checked my input data for quality, and there don't seem to be any issues with it. I'd appreciate any guidance on how to resolve this.
Out of the 155 metagenomes, 140 worked perfectly, but the others, including some with circularized mitochondrial genomes, are giving inconsistent or incorrect results.

Log messages from MitoZ (stdout and stderr, e.g., both m.log and m.err files)

2025-01-10 10:32:22,691 - mitoz.utility.utility - INFO -
combine_annotations_and_find_control_region() chdir to /opt/extern/bremen/symbiosis/jkiefer/P6960/04_mtDNA/anno/6960_AU/tmp_6960_AU_simplified_6960_AU.fasta_mitoscaf.fa
Traceback (most recent call last):
File "/opt/share/software/packages/mitoz-3.6/conda-env/bin/mitoz", line 10, in
sys.exit(main())
File "/opt/share/software/packages/mitoz-3.6/conda-env/lib/python3.8/site-packages/mitoz/MitoZ.py", line 99, in main
args.func(args)
File "/opt/share/software/packages/mitoz-3.6/conda-env/lib/python3.8/site-packages/mitoz/annotate/annotation.py", line 680, in main
tbl_file, errorsummary_val_file, tbl2asn_gbf, summary_file = combine_annotations_and_find_control_region(
File "/opt/share/software/packages/mitoz-3.6/conda-env/lib/python3.8/site-packages/mitoz/annotate/annotation.py", line 412, in combine_annotations_and_find_control_region
if file_not_empty(mt_file_cdsft):
File "/opt/share/software/packages/mitoz-3.6/conda-env/lib/python3.8/site-packages/mitoz/utility/utility.py", line 55, in file_not_empty
if os.stat(file).st_size > 0:
FileNotFoundError: [Errno 2] No such file or directory: '6960_AU_simplified_6960_AU.fasta_mitoscaf.fa.cds.ft'

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