Hi Chaolin,
I used STAR to do mapping. The unique mapped reads number is 12,327,003. The total input reads number before mapping is 45,444,421.
Then I used parseAlignment.pl to parse the sam file. It should only extract the unique mapping reads. But the row number in the $f.tag.bed are 52,458,286. It is much larger than the input reads number and the unique mapped read number in STAR.
Could you give me some suggestions? Thanks.
Best regards,
Yang Chen