Giter Site home page Giter Site logo

Comments (9)

bistace avatar bistace commented on September 26, 2024

Hello,

could you please paste the content of the /home/jon/Working_Files/hapo-g/round_3/logs/hapog_chunks_69.o and /home/jon/Working_Files/hapo-g/round_3/logs/hapog_chunks_69.e files?

from hapo-g.

JonEilers avatar JonEilers commented on September 26, 2024

both of those specific files are empty. It looks like only the hapog_chunks_#.o files have content. The hapog_chunks_#.e files are all empty

from hapo-g.

bistace avatar bistace commented on September 26, 2024

That's strange, could you try launching the faulty command? This should work:

cd /home/jon/Working_Files/hapo-g/round_3
/home/jon/miniconda3/envs/hapog/bin/build/hapog -b chunks_bam/chunks_69.bam -f chunks/chunks_69.fasta -o hapog_chunks/chunks_69.fasta -c hapog_chunks/chunks_69.changes

Also, is the fasta file chunks/chunks_69.fasta containing something or is it empty?

from hapo-g.

JonEilers avatar JonEilers commented on September 26, 2024

The fasta file chunks/chunks_69.fasta does have content. the `chunks_bam/chunks_69.bam also has some content. here is a link to the bam file and here is a link to the fasta file. Below is the terminal output from running the requested command.

(hapog) jon@jon-PowerEdge-R910:~/Working_Files/hapo-g/round_3$ /home/jon/miniconda3/envs/hapog/bin/build/hapog -b chunks_bam/chunks_69.bam -f chunks/chunks_69.fasta -o hapog_chunks/chunks_69.fasta -c hapog_chunks/chunks_69.changes
Floating point exception (core dumped)

from hapo-g.

bistace avatar bistace commented on September 26, 2024

Thanks a lot for providing the bam, we will look into this and will keep you informed.

from hapo-g.

JonEilers avatar JonEilers commented on September 26, 2024

Awesome, thanks! In case you want to try reproducing this - the genome can be found here and the pacbio is here

from hapo-g.

bistace avatar bistace commented on September 26, 2024

After inspecting the BAM file, it seems that it doesn't contain any alignment. It is not normal and something might have gone wrong during the alignment step, like a full disk. Could you please check that everything went as expected?

On our side, we're going to add checks for this situation.

from hapo-g.

bistace avatar bistace commented on September 26, 2024

We just pushed a version that improves the handling of empty BAM files on conda and on github. Could you please check if that solves your issue?

from hapo-g.

JonEilers avatar JonEilers commented on September 26, 2024

Well I am feeling a little silly. I totally forgot that I had renamed the fastq file so it'd work with dentist. So ya, no surprise the bam file is empty as there was no fastq file with that name. I'm running it with hapo-g version 1.1 at the moment. I'll run it with hapo-g version 1.2 after and will close this issue if all is working. Thanks for the assistance and sorry for wasting your time! One suggestion would be to add a check if file exists and error message if a file doesn't exist. Cheers!

from hapo-g.

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.