Giter VIP home page Giter VIP logo

Comments (5)

RyanBio avatar RyanBio commented on August 22, 2024

You may have reads with same names or same part splited by space. Check it like this:
zcat input.fa.gz | perl -ne 'print "$1\n" if />(\S+)/' | sort | uniq -d

from miniasm.

mictadlo avatar mictadlo commented on August 22, 2024

Thank you, I used rename.sh in=input.fasta out=output.fasta prefix=test and it fixed the names problem

from miniasm.

roblanf avatar roblanf commented on August 22, 2024

For others who might encounter this issue too, I thought I'd just add here that rename.sh is a script in the BBtools package: https://jgi.doe.gov/data-and-tools/bbtools/bb-tools-user-guide/

from miniasm.

mw55309 avatar mw55309 commented on August 22, 2024

So what is the likely issue when one encounters this error but you don't have duplicated IDs?

@RyanBio @mictadlo @roblanf

[M::main] ===> Step 5: generating unitigs <===
miniasm: asm.c:267: ma_ug_seq: Assertion `sub[id].e - sub[id].s <= ks->seq.l' failed.
/bin/bash: line 1: 13225 Aborted                 (core dumped) miniasm -f filtered/DC_concat.fq.gz overlaps/DC_concat.paf.gz > miniasm/DC_concat.gfa

from miniasm.

lh3 avatar lh3 commented on August 22, 2024

@mw55309 I don't know. I have only seen this assertion failure when there are duplicated read names.

from miniasm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.