The method of filtering multiple alignment reads by samtools
Most people do not understand the knowledge points of this "samtools filtering multiple comparison reads method" article, so the editor summarizes the following contents, detailed contents, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "samtools filtering multiple comparison reads method" article.
The command for samtools to filter multiple alignment reads is as follows:
Samtools view-h-Q 1-F 4-F 256 big.sort.dedup.bam | grep-v XA:Z | grep-v SA:Z | samtools view-b-> big.sort.dedup.unique.bam
Where the parameters are:
-Q 1: filter out reads whose comparison mass is less than 1
-F 4: filter out unmatched reads
-F 256: filter out multiple reads compared to each other.
The above is about the content of this article on "the method of samtools filtering multiple comparison reads". I believe we all have some understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.