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
you made my life more easier with this video. Thanks
im making a SAM file validator. Where can i find some SAM examples? Maybe ones with headers and some without?
x2
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
sorry havent tried pysam, but i will try to have a look once i got sometime
Great presentation, really helpful.
Gracias, estoy aprendiendo a usar Samtools y tu video me ayudó mucho. Buena tarde, chato.
Well presented and explained. It helped a lot.
Thank you. Keep it up...
Thank you, great presentation. It helped a lot.
thank you for this amazing video, I have a question. How can I convert to BAM file to VCF format?
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
Thank you for this amazing explaination!
Very helpful
Great video, thanks a lot!
stellar overview.
Nice presentation 👏
amazing explanation¡ thanks for your work :)
Thank you ..
perfect!
Good video!
very informative! thanks!