GithubHelp home page GithubHelp logo

BAM support about fastp HOT 2 CLOSED

opengene avatar opengene commented on July 25, 2024
BAM support

from fastp.

Comments (2)

sfchen avatar sfchen commented on July 25, 2024

Actually I am going to kick off another project to build a comprehensive mapping file QC tool, which will work for BAM/SAM/CRAM.

But this mapping QC tool will be majorly designed for mapped BAM/SAM/CRAM, not for unmapped bam.

I remember that unmapped bam need larger space and will discard some information (some information in the first line of 4-line FASTQ record). What's the biggest benefit for using unmapped bam to store FASTQ files?

Although it's designed and promoted by BROAD, I still saw a lot of debates about it. And I would like to listen to your considerations before we can start unmapped bam support.

Thanks
Shifu

from fastp.

berguner avatar berguner commented on July 25, 2024

Our primary concern is to keep metadata specific to Illumina sequencing run such as RTA software version, instrument model, SBS kit version etc. You can add this in the bam header but you can't do that with fastq files. What is more, we can archive the multiplexed bam files and delete Illumina run folders. If we expperience a problem with barcodes, it is much easier to rerun demultiplexing on bam files instead of .tar.gz BCL files. bam files might take a bit more space but we don't think it is important considering their added benefit.

IMHO, you can simply use HTSlib to read bam files and process them just like the reads that you get from fastq files. You can check this unmapped bam file as an example:
https://drive.google.com/file/d/1j1Yjy1zU1F8dPpf-lQVkoP3FkK--FOqL/view?usp=sharing

I am not sure if there is any information that we lose by using bam files, can you please explain a bit more?

Best,
Bekir

from fastp.

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.