Understanding SAM/BAM file specifications

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024
  • The sequencing Alignment Mapping (SAM) file was designed to store the mapping data of a sample against a reference genome in a way that allow for easy downstream analysis.
    In this video, I hope to go through the basic SAM file specifications based on the original documentation from Samtools. SAM file mostly consists of two sections, a header section that records information on the reference genome and experiential details, and an alignment section that records the individual nucleotide sequence difference between the samples and the reference.
    Link to SAM specifications
    samtools.githu...
    Link to Slides
    docs.google.co...
    Link to sample SAM file
    drive.google.c...
    drive.google.c...
    How to read Cigar String
    • How to read Cigar Stri...
    Email: liquidbrain.r@gmail.com
    Website: www.liquidbrai...
    Patreon: / liquidbrain

Комментарии • 25

  • @sujayayyagari9039
    @sujayayyagari9039 3 года назад +4

    you made my life more easier with this video. Thanks

  • @PrincipioDiLandauer
    @PrincipioDiLandauer 3 года назад +1

    im making a SAM file validator. Where can i find some SAM examples? Maybe ones with headers and some without?

  • @tinacole1450
    @tinacole1450 2 года назад

    Have you done the alignment with pysam? I am having some trouble with my alignment. The code is: samfile = pysam.AlignmentFile(files, "rb") . It doesn't like the call of the files.. error msg : IsADirectoryError: [Errno 21] could not open alignment file `bam/`: Is a directory

    • @LiquidBrain
      @LiquidBrain  2 года назад

      sorry havent tried pysam, but i will try to have a look once i got sometime

  • @fatimaruna9855
    @fatimaruna9855 6 месяцев назад

    Great presentation, really helpful.

  • @tonkjon6296
    @tonkjon6296 2 года назад

    Gracias, estoy aprendiendo a usar Samtools y tu video me ayudó mucho. Buena tarde, chato.

  • @sus-dw7xl
    @sus-dw7xl 3 года назад +1

    Well presented and explained. It helped a lot.
    Thank you. Keep it up...

  • @ozlemkalkan5167
    @ozlemkalkan5167 Год назад

    Thank you, great presentation. It helped a lot.

  • @uguremre3287
    @uguremre3287 2 года назад

    thank you for this amazing video, I have a question. How can I convert to BAM file to VCF format?

    • @LiquidBrain
      @LiquidBrain  2 года назад

      Not sure it this will work, but i found a tools in galaxy call (bcftools mpileup) that could directly do the conversion you need, just not sure if it will fit the purpose of you converting between the two formats.
      Technically, BAM store aligment while vcf store mutations, but i believe you can convert BAM to fasta using (Samtools fastx), and use the resulting fasta to run another SNP detection tools to generate the vcf.
      Hope this helps
      -Brandon

  • @cheng-hsianglu5916
    @cheng-hsianglu5916 2 года назад

    Thank you for this amazing explaination!

  • @NatarajanGanesan
    @NatarajanGanesan Год назад

    Very helpful

  • @joshuathomas8673
    @joshuathomas8673 2 года назад

    Great video, thanks a lot!

  • @musicspinner
    @musicspinner 3 года назад

    stellar overview.

  • @lekshmirk3252
    @lekshmirk3252 3 года назад

    Nice presentation 👏

  • @catherinepuellomora8041
    @catherinepuellomora8041 3 года назад

    amazing explanation¡ thanks for your work :)

  • @belindamontecalvo3015
    @belindamontecalvo3015 2 года назад

    Thank you ..

  • @seyma2308
    @seyma2308 2 года назад

    perfect!

  • @yewenli
    @yewenli 3 года назад

    Good video!

  • @zahraiqbal7337
    @zahraiqbal7337 3 года назад

    very informative! thanks!