Skip to content
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

spades --isolate automatically applied? #308

Open
lxsteiner opened this issue Dec 7, 2022 · 1 comment
Open

spades --isolate automatically applied? #308

lxsteiner opened this issue Dec 7, 2022 · 1 comment

Comments

@lxsteiner
Copy link

lxsteiner commented Dec 7, 2022

command += ['--isolate']

    command = [spades_path, '-o', spades_dir, '-k', kmer_string, '--threads', str(threads)]
    if i == 0:  # first k-mer
        command += ['--isolate']

Based on the code, it seems like the --isolate parameter is "automatically" applied at the start of the assembly command. Is there a reason why this is preferred or was set like this?

From the SPAdes manual:

--isolate
    This flag is highly recommended for high-coverage isolate and multi-cell Illumina data; improves the assembly quality and running time.
We also recommend to trim your reads prior to the assembly. More details can be found [here](http://cab.spbu.ru/benchmarking-tools-for-de-novo-microbial-assembly/).
This option is not compatible with --only-error-correction or --careful options.

Unfortunately, "More details..." doesn't really give me more details and doesn't mention the --isolate flag at all, only --careful which is how I incidently found that --isolate was applied at the beginning. I tried to pass --careful via --spades_options "--careful" and ran into an error:

== Error ==  you cannot specify --mismatch-correction or --careful in isolate mode!

I think that commenting out the line might just solve my issue with passing --careful, but I'm curious why --isolate was needed.

Thanks!

@JustdukeP
Copy link

JustdukeP commented Apr 14, 2023

Hi,
I would also be interested in not using the --isolate option of spades.py automatically with Unicycler. Indeed, for some reads I get errors with Unicycler (Errors finished abnormally, OS return value: -9) and spades.py (Errors finished abnormally, OS return value: -6) maybe because of the --isolate option. Without the --isolate option, the assembly works with spades.py.

Unicycler v0.5.0 and Spades 3.15.5 in Conda

Regards,

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

No branches or pull requests

2 participants