Skip to content

The error encountered when running metaplasmidspades.py  #1429

@ucaswhw

Description

@ucaswhw

Description of bug

Here is my command: metaplasmidspades.py --only-assembler -1 ../cleandata/P_Cu_2/P_Cu_2_R1.fq.gz -2 ../cleandata/P_Cu_2/P_Cu_2_R2.fq.gz --assembly-graph P_Cu_2/assembly_graph_with_scaffolds.gfa -k 55 -o P_Cu_2_plasmid_test -t 24 -m 1000
I used the assembly_graph_with_scaffolds.gfa output from MetaSPAdes without any modifications. Additionally, I tested both the precompiled and locally compiled versions of SPAdes 4.0.0, but the error still persists.

error1:
error: while parsing GFA path record
|
1 | P\tNODE_21572222_length_146_cov_7.527473\t512564113+;80180755+\t*
| ^ expected '\t'

error2:
Verification of expression 'false' failed in function 'size_t debruijn_graph::DeBruijnGraph::link_length(debruijn_graph::DeBruijnGraph::VertexId, debruijn_graph::DeBruijnGraph::EdgeId, debruijn_graph::DeBruijnGraph::EdgeId) const'. In file '/mnt/sdb/yemao/wuhaowei/SPAdes-4.0.0/src/common/assembly_graph/core/graph.hpp' on line 141. Message 'Link 11459731 -> 7758781 was not found for vertex 15517558'.
Verification of expression 'false' failed in function 'size_t debruijn_graph::DeBruijnGraph::link_length(debruijn_graph::DeBruijnGraph::VertexId, debruijn_graph::DeBruijnGraph::EdgeId, debruijn_graph::DeBruijnGraph::EdgeId) const'. In file '/mnt/sdb/yemao/wuhaowei/SPAdes-4.0.0/src/common/assembly_graph/core/graph.hpp' on line 141. Message 'Link 11459731 -> 7758781 was not found for vertex 15517558'.
spades-core: /mnt/sdb/yemao/wuhaowei/SPAdes-4.0.0/src/common/assembly_graph/core/graph.hpp:141: size_t debruijn_graph::DeBruijnGraph::link_length(debruijn_graph::DeBruijnGraph::VertexId, debruijn_graph::DeBruijnGraph::EdgeId, debruijn_graph::DeBruijnGraph::EdgeId) const: Assertion `false' failed.

== Error == system call for: "['/mnt/sdb/yemao/wuhaowei/SPAdes-4.0.0/bin/spades-core', '/mnt/sdb/yemao/wuhaowei/spades/P_Cu_2_plasmid_test/K55/configs/config.info', '/mnt/sdb/yemao/wuhaowei/spades/P_Cu_2_plasmid_test/K55/configs/mda_mode.info', '/mnt/sdb/yemao/wuhaowei/spades/P_Cu_2_plasmid_test/K55/configs/meta_mode.info', '/mnt/sdb/yemao/wuhaowei/spades/P_Cu_2_plasmid_test/K55/configs/plasmid_mode.info', '/mnt/sdb/yemao/wuhaowei/spades/P_Cu_2_plasmid_test/K55/configs/metaplasmid_mode.info']" finished abnormally, OS return value: -6

spades.log

spades.log

params.txt

params.txt

SPAdes version

SPAdes 4.0.0

Operating System

Linux version 5.15.0-72-generic

Python Version

Python 3.8

Method of SPAdes installation

manual compiled

No errors reported in spades.log

  • Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions