Skip to content

fix: unicycler --spades_options without --unicycler_options; canu pacbio-hifi (#83, #84)#87

Merged
gbouras13 merged 1 commit into
mainfrom
issues
Jul 7, 2026
Merged

fix: unicycler --spades_options without --unicycler_options; canu pacbio-hifi (#83, #84)#87
gbouras13 merged 1 commit into
mainfrom
issues

Conversation

@gbouras13

Copy link
Copy Markdown
Owner

#83: build the unicycler extra-options suffix via a helper that handles each of unicycler_options / spades_options being None independently. Previously, when only --spades_options was set, a None unicycler_options was interpolated into the command as the literal string "None", so Unicycler failed with "unrecognized arguments: None".

#84: map the validated --pacbio_model to canu's read type via a helper. --pacbio-hifi now yields -pacbio-hifi (the check compared against "pacbio-hifi" without the -- prefix, so HiFi reads were assembled as -pacbio), and canu read correction is skipped for HiFi reads (canu -correct rejects them: "Cannot correct already corrected reads").

Both helpers have unit tests; #83 also validated end-to-end (a real plassembler long --spades_options run completes with a clean unicycler command).

…bio-hifi (#83, #84)

#83: build the unicycler extra-options suffix via a helper that handles each of
unicycler_options / spades_options being None independently. Previously, when
only --spades_options was set, a None unicycler_options was interpolated into
the command as the literal string "None", so Unicycler failed with
"unrecognized arguments: None".

#84: map the validated --pacbio_model to canu's read type via a helper.
`--pacbio-hifi` now yields `-pacbio-hifi` (the check compared against
"pacbio-hifi" without the -- prefix, so HiFi reads were assembled as -pacbio),
and canu read correction is skipped for HiFi reads (canu -correct rejects them:
"Cannot correct already corrected reads").

Both helpers have unit tests; #83 also validated end-to-end (a real
`plassembler long --spades_options` run completes with a clean unicycler command).
@gbouras13 gbouras13 merged commit 4c09c76 into main Jul 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant