![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
TopHat .sam output format not recognised | lindseyjane | Bioinformatics | 22 | 02-14-2012 10:04 PM |
sam format version in tophat output | tangx_2010 | RNA Sequencing | 2 | 03-15-2011 07:28 PM |
the format of output file of Maq | zcrself | Bioinformatics | 2 | 03-18-2010 12:09 AM |
MAQ output format | m_elena_bioinfo | Bioinformatics | 0 | 12-09-2009 02:35 AM |
MAQ output format | seq_GA | Bioinformatics | 0 | 05-21-2009 12:43 AM |
![]() |
|
Thread Tools |
![]() |
#1 |
Senior Member
Location: Hong Kong Join Date: Dec 2008
Posts: 350
|
![]()
1> I have been using MAQ for a while. Now I would like to move on the BWA. Is there any convinent method to convert a MAQ output (.map) to SAM format so to ease comparison between MAQ and BWA?
2> Regarding the SAM format output by BWA, there is a <flag> column. I read from the manual that it's a bitwise flag. But in my BWA output I get numeric value, (e.g. 83, 99, 163, etc). How can I interpret the result? ![]() I would really appreciate your help. ![]() |
![]() |
![]() |
![]() |
#2 |
Member
Location: Canada Join Date: Apr 2009
Posts: 46
|
![]()
1. There is an excutable file "maq2sam" come with samtools package to allow you convert maq out to sam format.
2. For FLAG field, if you want to parse it, simply use $FLAG & 0x01(02, 20, 20..) to determine the meaning of the FLAG bits. |
![]() |
![]() |
![]() |
#3 |
Nils Homer
Location: Boston, MA, USA Join Date: Nov 2008
Posts: 1,285
|
![]()
The latest trunk version of samtools also has a "-X" flag to the "samtools view" command to display the flag using intelligible characters. I find this extremely useful.
|
![]() |
![]() |
![]() |
#4 |
Senior Member
Location: Hong Kong Join Date: Dec 2008
Posts: 350
|
![]()
Thank you totalnew. I have downloaded the samtools 0.1.5c. I think I will use the maq2sam-long for my 75bp long read.
|
![]() |
![]() |
![]() |
#5 | |
Senior Member
Location: Hong Kong Join Date: Dec 2008
Posts: 350
|
![]() Quote:
ps. I am using 0.1.5c |
|
![]() |
![]() |
![]() |
#6 |
Nils Homer
Location: Boston, MA, USA Join Date: Nov 2008
Posts: 1,285
|
![]() |
![]() |
![]() |
![]() |
#7 | |
Senior Member
Location: Hong Kong Join Date: Dec 2008
Posts: 350
|
![]() Quote:
One more simple question, what type of quality score associated fastq file does BWA expects? I have searched in the manual but it just says fastq. I don't know if I should convert the my fastq file to sanger fastq first before proceeding. |
|
![]() |
![]() |
![]() |
#8 | |
Nils Homer
Location: Boston, MA, USA Join Date: Nov 2008
Posts: 1,285
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#9 | |
Member
Location: Canada Join Date: Apr 2009
Posts: 46
|
![]() Quote:
I have not downloaded new samtools, I guess it will be more handy to use samtools view -x. For quality score, nilshomer said the right, it is $sanger_quality_char = chr($phred_quality + 33) Last edited by totalnew; 08-10-2009 at 09:22 AM. |
|
![]() |
![]() |
![]() |
Thread Tools | |
|
|