Tag Archives: SAM

bowtie and multimapping reads

I first tried this with BWA. Now I’ll try it with bowtie. Consider this reference sequence: >artificial ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG and this read: … Continue reading

Posted in bioinformatics | Tagged , , | Leave a comment

bwa and multi mapping reads

Consider this reference sequence: >artificial ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG ACGTACGTACGTACGTAGGTACGTAGGG and this read: >tag ACGTACGTACGTACGTAGGTACGTA Using bwa (Program: bwa (alignment via Burrows-Wheeler transformation) Version: 0.5.9-r1) this is the SAM output tag 0 artificial 57 0 25M * 0 0 ACGTACGTACGTACGTAGGTACGTA … Continue reading

Posted in bioinformatics | Tagged , , | Leave a comment

Mapping qualities

Short read alignment programs, such as bwa, usually have a mapping quality score for each read that is aligned to a reference. I came across this useful post in seqanswers and here I try to replicate it with an example … Continue reading

Posted in bioinformatics | Tagged , | Leave a comment

Perl and SAM

Lincoln Stein has written a bunch of modules to deal with SAM/BAM files. Check out the CPAN module. To install the Perl module on a machine where you don’t have root access, follow these instructions. Using this module, I recreated … Continue reading

Posted in bioinformatics, programming | Tagged , , , | 4 Comments