Hi, thank you for your answer!
I tried to run your command line but I had this error message:
samtools idxstats: fail to load index for "my_path/hsa.gff3"
Then I tried to run this:
samtools index 4T_mapped.sorted.bam
samtools idxstats my_path/4T_mapped.sorted.bam
and I have obtained a result like this:
hsa-miR-576-3p 22 5 0
hsa-miR-140-5p 22 15 0
hsa-miR-522-5p 22 1 0
hsa-miR-1298-5p 22 0 0
hsa-miR-133a-3p 22 1 0
hsa-miR-4743-3p 21 0 0
hsa-miR-557 23 0 0
hsa-miR-548ao-3p 22 0 0
hsa-miR-5088-5p 24 1 0
hsa-miR-4649-5p 24 0 0
hsa-miR-665 20 0 0
.....
Is it what I'm searching for?