Skip to content

SPAdes Provides Incorrect Error Statement with Dataset YAML #1570

@cronkenstein

Description

@cronkenstein

Description of bug

When you provide the wrong type for a SPAdes dataset YAML, you will get an error:

== Error ==  you should specify at least one unpaired, paired-end, or high-quality mate-pairs library!

This happens even when the error isn't the lack of inclusion of unpaired, paired-end, or mate-pairs types but also when you supply a type that doesn't support the reads provided. Specifically I saw this with pacbio where I mistakenly provided css reads given pacbio as type in the YAML file when the type should instead have been single.

spades.log

Fails before even producing a spades.log file

params.txt

spades.py --dataset <dataset_file>.yaml -o ./test

SPAdes version

4.2.0

Operating System

Some Linux HPC

Python Version

Python 3.12

Method of SPAdes installation

Unknown

No errors reported in spades.log

  • Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions