Code Monkey home page Code Monkey logo

Comments (6)

davidoctaviobotero avatar davidoctaviobotero commented on September 28, 2024

Same problem. Started today with the app. Any help will be appreciated.

from longqc.

yfukasawa avatar yfukasawa commented on September 28, 2024

this may be caused by special character or specification change in PacBio bam file.
Just curious, your bam file is a file dumped by Sequel? or is there any intermediate step?
will check at my side.

In the meantime, if you convert your bam to fastq/fasta format, problem might disappear.

Yoshinori

from longqc.

davidoctaviobotero avatar davidoctaviobotero commented on September 28, 2024

Hi Yoshinori,

Yes, the bam file was dumped by sequel "subread.bam". As I know this the file is ready for downstream analyses. I will try samtools conversion to fasta. Thank you, I will let you know the final result.

from longqc.

m-gemmell avatar m-gemmell commented on September 28, 2024

Hello

I got the bam files from: https://github.com/PacificBiosciences/DevNet/wiki/Microbial-Multiplexing-Data-Set---48-plex:-PacBio-Sequel-II-System,-Chemistry-v2.0,-SMRT-Link-v8.0-Analysis

I changed the file names to make them shorter.

Converting the bam files to fastq worked perfectly.

Thanks for you help!

from longqc.

yfukasawa avatar yfukasawa commented on September 28, 2024

Thanks both, that sounds some encoding changes happen on PacBio bam file. I will check with PacBio people when I have a chance.
The problematic code just checks if a given bam is gzipped or not, but maybe pacbio bam is not being encoded in standard UTF-8 anymore.
will check the provided file, much appreciated!

Y.

from longqc.

yfukasawa avatar yfukasawa commented on September 28, 2024

PacBio seems to have started using compressed BAMs rather than uncompressed BAMs as a default. This hits a bug in the code - l_text (uint32_t) was loaded as a string of UTF-8 (my misunderstanding); hence decoding error.
Now only 4 bytes are read from a file and checked.

Y.

from longqc.

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.