Giter VIP home page Giter VIP logo

Comments (8)

skovaka avatar skovaka commented on August 16, 2024

Sorry about that! Does it return the same error if you try mapping different fast5s to the same reference? What about if you map the same fast5s to a larger reference? In either case don't worry if the reads shouldn't map, just trying to narrow down where the error might be. My guess is that the small reference size could be an issue

from uncalled.

hasindu2008 avatar hasindu2008 commented on August 16, 2024

It is 128,920 bases. Is that too small?

I now tried to mapping to a yeast genome and still I am getting the same issue

 uncalled map -t40  ../../sigalign/GCF_000146045.2_R64_genomic f5.list > uncalled.paf
Loading fast5s
Mapping
Floating point exception (core dumped)

My FAST5 list look like this:

(uncalled) hasindu@genometech-gpgpu:~/scratch/haru/rfc1$ head f5.list
/data/slow5-testdata/NA12878_prom_subsample/fast5/NA12878_SRE/20201027_0537_3A_PAF25452_97d631c6/fast5_pass/PAF25452_pass_bfdfd1d8_103.fast5
/data/slow5-testdata/NA12878_prom_subsample/fast5/NA12878_SRE/20201027_0537_3A_PAF25452_97d631c6/fast5_pass/PAF25452_pass_bfdfd1d8_119.fast5
/data/slow5-testdata/NA12878_prom_subsample/fast5/NA12878_SRE/20201027_0537_3A_PAF25452_97d631c6/fast5_pass/PAF25452_pass_bfdfd1d8_102.fast5
/data/slow5-testdata/NA12878_prom_subsample/fast5/NA12878_SRE/20201027_0537_3A_PAF25452_97d631c6/fast5_pass/PAF25452_pass_bfdfd1d8_6.fast5
/data/slow5-testdata/NA12878_prom_subsample/fast5/NA12878_SRE/20201027_0537_3A_PAF25452_97d631c6/fast5_pass/PAF25452_pass_bfdfd1d8_24.fast5
/data/slow5-testdata/NA12878_prom_subsample/fast5/NA12878_SRE/20201027_0537_3A_PAF25452_97d631c6/fast5_pass/PAF25452_pass_bfdfd1d8_83.fast5
/data/slow5-testdata/NA12878_prom_subsample/fast5/NA12878_SRE/20201027_0537_3A_PAF25452_97d631c6/fast5_pass/PAF25452_pass_bfdfd1d8_98.fast5
/data/slow5-testdata/NA12878_prom_subsample/fast5/NA12878_SRE/20201027_0537_3A_PAF25452_97d631c6/fast5_pass/PAF25452_pass_bfdfd1d8_51.fast5
/data/slow5-testdata/NA12878_prom_subsample/fast5/NA12878_SRE/20201027_0537_3A_PAF25452_97d631c6/fast5_pass/PAF25452_pass_bfdfd1d8_25.fast5
/data/slow5-testdata/NA12878_prom_subsample/fast5/NA12878_SRE/20201027_0537_3A_PAF25452_97d631c6/fast5_pass/PAF25452_pass_bfdfd1d8_21.fast5

from uncalled.

skovaka avatar skovaka commented on August 16, 2024

Ah, it looks like you're using promethion data, right? I just tested on some promethion reads and got the same error. It appears to be an issue with signal calibration, which I think I've now fixed and pushed in ca13a22. Let me know if that works!

Also, if you attempt adaptive sampling or simulation (realtime or sim) with promethion data, you may run into an issue with the number of available channels. If so you should set the --num-channels channels option to the number of promethion channels (something like 3000 I believe).

from uncalled.

hasindu2008 avatar hasindu2008 commented on August 16, 2024

Sorry for the late response. I have been having trouble installing the particular UNCALLED commit due to all the python3 dependency issues and version incompatibilities I believe. What I tried was: pip3 install git+https://github.com/skovaka/UNCALLED.git@ca13a222ec978d5299f34bf06e99aabcf6cd3a46. Is there a way to just get the C/C++ component in uncalled compiled without these Python bindings?

from uncalled.

skovaka avatar skovaka commented on August 16, 2024

Did you try cloning and installing with pip3 install .? I just realized that the README still said to use python setup.py install" but pip might work better with dependencies and I just updated the README to recommend that. I didn't change dependencies or anything in setup.py since the last commit though, so not sure what the issue is.

You can also run make to generate a bin/uncalled_map binary. I wrote that for testing purposes and it has a more limited and poorly documented interface. Like uncalled map it takes two positional arguments, ref_index and fast5s, although the fast5 input is more limited in that it must be a file containing the path to each fast5 on each line.

from uncalled.

hasindu2008 avatar hasindu2008 commented on August 16, 2024

Right, that was quite easy to compile and it works. Thanks. Every time I tried UNCALLED I always ran into a Python dependency issue. I think it is worth documenting how to use the C/C++ programmes :D

from uncalled.

hasindu2008 avatar hasindu2008 commented on August 16, 2024

BTW, a side question. I saw in NCM last year about that UNCALLED4 visualisation tool. Is this available somewhere in this repository?

from uncalled.

skovaka avatar skovaka commented on August 16, 2024

Yes! It's on the uncalled4 branch. It's still under development, so command arguments and the database format might change in the future. If you have any questions or thoughts feel free to email me at "skovaka1 <at> jhu <dot> edu"

Thanks for pointing out the dependency issue, I'll look into that

from uncalled.

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.