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

postnuc: postnuc.cc:1427: long int revC(long int, long int): Assertion `Len - Coord + 1 > 0' failed. #2

Open
yhsYhsYhs opened this issue Jul 15, 2017 · 5 comments

Comments

@yhsYhsYhs
Copy link

dnadiff sequence.fasta reads.fasta -p 50long
Building alignments
1: PREPARING DATA
2,3: RUNNING mummer AND CREATING CLUSTERS
# reading input file "50long.ntref" of length 4641653
# construct suffix tree for sequence of length 4641653
# (maximum reference length is 536870908)
# (maximum query length is 4294967295)
# process 46416 characters per dot
#....................................................................................................
# CONSTRUCTIONTIME /usr/bin/mummer 50long.ntref 2.31
# reading input file "/50long/e.coli.correctedReads.fasta" of length 112457574
# matching query-file "/50long/e.coli.correctedReads.fasta"
# against subject-file "50long.ntref"
# COMPLETETIME /usr/bin/mummer 50long.ntref 126.30
# SPACE /usr/bin/mummer 50long.ntref 112.41
4: FINISHING DATA
postnuc: postnuc.cc:1427: long int revC(long int, long int): Assertion `Len - Coord + 1 > 0' failed.
Aborted (core dumped)
ERROR: postnuc returned non-zero
ERROR: Failed to run nucmer, aborting.

@skoren
Copy link
Member

skoren commented Jul 23, 2017

Most likely this is a name collision in the read names. Check the input for duplicate read names (up to the first space) and rename them to see if it fixes the error (see also https://sourceforge.net/p/mummer/mailman/message/27154776/).

@yhsYhsYhs
Copy link
Author

yhsYhsYhs commented Aug 8, 2017

hello;
I had changed the reads id 1…n-1,and this problem occured still.

thinkstation# dnadiff  sequence.fasta reads.fasta -p mha
Building alignments

1: PREPARING DATA
2,3: RUNNING mummer AND CREATING CLUSTERS
# reading input file "mha.ntref" of length 4641653
# construct suffix tree for sequence of length 4641653
# (maximum reference length is 536870908)
# (maximum query length is 4294967295)
# process 46416 characters per dot
#....................................................................................................
# CONSTRUCTIONTIME /usr/bin/mummer mha.ntref 2.01
# reading input file "reads.fasta" of length 172911839
# matching query-file "reads.fasta"
# against subject-file "mha.ntref"
# COMPLETETIME /usr/bin/mummer mhap.ntref 156.73
# SPACE /usr/bin/mummer mhap.ntref 169.75
4: FINISHING DATA
postnuc: postnuc.cc:1427: long int revC(long int, long int): Assertion `Len - Coord + 1 > 0' failed.
Aborted (core dumped)
ERROR: postnuc returned non-zero
ERROR: Failed to run nucmer, aborting.

@aphillippy
Copy link
Member

Best option may be to switch to nucmer4, which is in beta release and shouldn't have such name collision problems: https://mummer4.github.io

@peflanag
Copy link

Hi I had the same issue and have removed the old MUMmer and updated to MUMmer4. I am trying to run the following command to get a delta file to process in the web application Assemblytics but MUMmer4 doesnt seem to want to run. This is the script I want to run from the Assemblytics website

nucmer -maxmatch -l 100 -c 500 REFERENCE.fa ASSEMBLY.fa -prefix OUT

But it wont work and I have tried a few variations. Im not command line savvy so any help would be great. I'm a novice!

Cheers

Peter

screenshot 2018-12-20 at 09 29 03

@peflanag
Copy link

UPDATE: I used the script

nucmer -p ref.seq qry.seq

and a new error has been thrown out. Any ideas?

Cheers,

P

screenshot 2018-12-20 at 11 49 22

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

4 participants