Runsheng / primervcf

primderdiffer submodule: primervcf
GNU General Public License v2.0
6 stars 0 forks source link

The first filtered sites isn't all INDEL. #5

Closed 5katerina closed 1 year ago

5katerina commented 1 year ago

Hi Runsheng, I had an error when using this code. As the first screenshot below, the detail of the second step is on the left, while the corresponding result after the first step is on the right. When I get the result after using the whole code, I check my original document to find out how many samples the result can separate. However, the site where second & third successful design primer doesn't appear INDEl in fact as the next two screenshot. Please help to resolve this issue. Best regards. Huangyan

截屏2023-08-08 09 51 47

截屏2023-08-08 10 05 01 截屏2023-08-08 10 02 41

Runsheng commented 1 year ago

Hi Huangyan,

Sorry the VCF filter used in primervcf is a very simple one. It can not handle low-quality variations like the ones shown in your later screenshots (DP=0). You can first filter your VCF to retain only the reliable variations, like using DP>10 and mapq>30.

Best regards, Runsheng

5katerina commented 1 year ago

No wonder, I got it. Thank you for your reply.

With kind regards. Huangyan