GraphAligner icon indicating copy to clipboard operation
GraphAligner copied to clipboard

unmapped reads

Open asylvz opened this issue 2 years ago • 1 comments

Hello,

I'm wondering if there is an option to output unmapped reads?

Thank you, Arda

asylvz avatar Jul 13 '23 08:07 asylvz

There is no option but if you have alns.gaf and reads.fa then you can find the unmapped reads with:

cut -f 1 < alns.gaf | uniq | cat - <(grep '>' < reads.fa | tr -d '>') | sort | uniq -c | grep -P '^\s+1' | sed 's/^\s\+1\s//g'

maickrau avatar Jul 17 '23 10:07 maickrau