What does this mean
XP:Z:1,+150884058,55M45S,0,0;
This is the entire read
HS2000-645_410:4:2313:12585:49651 353 22 37097777 0 54S46M = 37097858 181 GCCATCACACCTGGCTAATTTTTGTATTTTTAGTAGAGACGGGGTTTCACCATGTACACAAATACACACACGCAGCCAGCCACCTCGAGTGATATGTGTG <=<ABBCABA@AB@@A@@@@?@;A<?@?@@@@A=?@@A@>9A=:21,/5=?1@.29@A@A@@<A@A@A@B?=:;B+&;=>BBB/=7=?C==DCDCDB@AA BD:Z:JJNMPPOKJJNMNMNMKJJJCCCKHKHJCCCJLLKLJKJLJJIILJCJKHLLKLHKKHHHIBJHKHHIIIIKMNNONMNONMJNNLMMNOKPOLMQIIII PG:Z:MarkDuplicates RG:Z:XXXXXXXXXX(sample id) BI:Z:LLONPPQLLKOOPNPPNLLKFFFNKNKKFFFMONNOLMLMMLKKOLGLOKONNNLONKKKMFMKNKKKKKKOOQQRPOQRPOMQQNNQQRPTSPQSLLLL NM:i:0 XP:Z:1,+150884058,55M45S,0,0; MQ:i:60 AS:i:46 XS:i:20
Is there a bitwise flag to were I can view reads with only this XP? Similar to samtools view in.bam | grep "XP:"
but without the grep
so I can do samtools view -f ??? -c in.bam
and return the counts.
Super-duper thanks.
As I said in the other thread, update to the latest version of bwa.