phyloFlash icon indicating copy to clipboard operation
phyloFlash copied to clipboard

Alignment identity?

Open jzrapp opened this issue 2 years ago • 1 comments

Hi @kbseah , is there a way for me to find out the alignment identity between individual reads and their closest database hit from the output files?

Thanks! Josephine

jzrapp avatar Mar 23 '22 22:03 jzrapp

Hello! Unfortunately we haven't implemented an easy way to do this, and the %id histogram in the output report is based on the BBmap summary output. The SAM mapping file can be parsed to give the %id. Relevant SAM tag is the NM tag, which is the total number of mismatches + indels relative to the reference. Important to note is which definition of %id you choose to work with; there is a summary of different alternatives e.g. in the Vsearch documentation, look for the iddef parameter. Hope that this helps! -- Brandon

kbseah avatar Mar 31 '22 10:03 kbseah