Get statistics about an alignment done by Hifiasm
0
0
Entering edit mode
4.3 years ago
pablo ▴ 310

Hi ,

I had consensus reads (ccs.bam) from a PacBio sequencing. I used the assembler hifiasm to create an assembly on these CCS. I got several .gfa files but I would like to get some statistics on the assembly : % mapped reads , size of the assembly ...

How could I do this?

Thanks

hifiasm alignment • 1.7k views
ADD COMMENT
0
Entering edit mode

I used the aligner hifiasm to create an assembly

hifiasm doesn't give you an alignment. You used an assembler to create an assembly.

ADD REPLY
0
Entering edit mode

You're right, I edited my post.

Do you have an idea about my question?

ADD REPLY
0
Entering edit mode

I would like to get some statistics on the assembly : % mapped reads , size of the assembly ...

You will need to take your original reads and map them back (minimap2) to the assembly you generated. Then generate stats. Size of the assembly should be easy to get as a part of samtools idxstats output of alignment data.

ADD REPLY

Login before adding your answer.

Traffic: 1654 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6