Coder Social home page Coder Social logo

Comments (7)

cjw85 avatar cjw85 commented on July 17, 2024

Hi @chklopp

This is not something we have been able to reproduce, and it's not something for which we have been able to identify a possible cause. If you are willing to share your data we might be able to debug it further, we can do this privately if required.

Alternatively you can invoke the medaka stitch program on single contigs (avoiding the ones which are breaking with e.g.:

medaka stitch medaka/consensus_probs.hdf --regions ctg254 ctg255 ctg256 ctg257 ctg259 ...

The consensus_probs.hdf file will have been created by medaka_consensus

from medaka.

txje avatar txje commented on July 17, 2024

I have one of these too and I'm happy to share if it will help debugging

from medaka.

cjw85 avatar cjw85 commented on July 17, 2024

@txje

You should have received an email with details of how to send data to us.

from medaka.

cjw85 avatar cjw85 commented on July 17, 2024

@txje

I've got your files and can reproduce the error. There is a corner-case in how contigs are broken into chunks for inference for which medaka stitch does not make allowance. There is a simple fix which will appear in the next release tomorrow.

from medaka.

txje avatar txje commented on July 17, 2024

Thanks for looking into this!

from medaka.

cjw85 avatar cjw85 commented on July 17, 2024

This is resolved in v0.5.0, now on pypi.

from medaka.

Siadjeu avatar Siadjeu commented on July 17, 2024

Hi,

I have the same problem as mentioned above with the newest version of medaka v0.9.2 installed with conda:

[02:22:00 - Stitch] Processing tig00001220:0-.
[02:22:01 - Stitch] Processing tig00001224:0-.
[02:22:02 - Stitch] Processing tig00001233:0-.
Traceback (most recent call last):
File "/user/wupf2892/miniconda2/envs/medaka/bin/medaka", line 11, in
sys.exit(main())
File "/user/wupf2892/miniconda2/envs/medaka/lib/python3.6/site-packages/medaka/medaka.py", line 428, in main
args.func(args)
File "/user/wupf2892/miniconda2/envs/medaka/lib/python3.6/site-packages/medaka/stitch.py", line 116, in stitch
joined = stitch_from_probs(args.inputs, regions=args.regions)
File "/user/wupf2892/miniconda2/envs/medaka/lib/python3.6/site-packages/medaka/stitch.py", line 87, in stitch_from_probs
s1, s2)
File "/user/wupf2892/miniconda2/envs/medaka/lib/python3.6/site-packages/medaka/common.py", line 275, in overlap_indices
assert len(pos1_ovl) == len(pos2_ovl)
AssertionError
Failed to stitch consensus chunks.

I need help, thanks!

from medaka.

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.