bam- readcount error
When running bam-readcount I get (minus the 8M previous warnings of the same type):
WARNING: In read m151222_205817_42179_c100908792550000001823210904291644_s1_p0/4606/0_7297: Couldn't find the generated tag.
WARNING: In read m151222_205817_42179_c100908792550000001823210904291644_s1_p0/3398/0_2955: Couldn't find the generated tag.
GA21-EcoRV 17329 t 149 =:0:0.00:0.00:0.00:0:0:0.00:0.00:0.00:0:0.00:0.00:0.00 A:0:0.00:0.00:0.00:0:0:0.00:0.00:0.00:0:0.00:0.00:0.00 C:0:0.00:0.00:0.00:0:0:0.00:0.00:0.00:0:0.00:0.00:0.00 G:0:0.00:0.00:0.00:0:0:0.00:0.00:0.00:0:0.00:0.00:0.00 T:149:254.00:12.11:254.00:77:72:0.00:0.05:0.00:0:0.00:0.00:0.00 N:0:0.00:0.00:0.00:0:0:0.00:0.00:0.00:0:0.00:0.00:0.00
So, I've read on line that such warnings can be ignored, however, only results on one position are produced
Thanks
• 2,880 views
•
link
1 answer
This error indicates that bam-readcount's internal mechanisms for caching per-read statistics are failing and that is likely the reason your results are incorrect. This is due to a bug in calling bam-readcount without requesting a region. For your case, a decent workaround may be to just request the entire "chromosome" like so:
bam-readcount -f ref.fa your.bam GA21-EcoRV
• 0 views
•
link
Log in to answer this question.
I am adding one line from the corresponding sam file as it may help. I am removing the sequence and qualities for readability (these are long pacbio reads.