Open countdigi opened 4 years ago
Although there is code to load AltOnly entries (AltOnly in second position field) from SNPChrPosOnRef into the dbsnp dict here:
AltOnly
https://github.com/USF-HII/snptk/blob/521033ff24acf681149a3b9312bccdcba6614098/snptk/core.py#L148-L149
These entries are not being populated in the dsnpb dict and therefore are scheduled for deletion.
The first Reference SNP ID we noticed this for was rs2517878 :
$ zgrep -m 1 -w 2517878 /shares/hii/bioinfo/ref/ncbi/human_9606_b151_GRCh37p13/b151_SNPChrPosOnRef_105.bcp.gz.d/00 2517878 AltOnly
Explanation for the observed behavior:
strip()
Although there is code to load AltOnly entries (
AltOnly
in second position field) from SNPChrPosOnRef into the dbsnp dict here:https://github.com/USF-HII/snptk/blob/521033ff24acf681149a3b9312bccdcba6614098/snptk/core.py#L148-L149
These entries are not being populated in the dsnpb dict and therefore are scheduled for deletion.
The first Reference SNP ID we noticed this for was rs2517878 :
Explanation for the observed behavior:
strip()
command is removing them so that we are left with only 2 fields: https://github.com/USF-HII/snptk/blob/521033ff24acf681149a3b9312bccdcba6614098/snptk/core.py#L138AltOnly
entries): https://github.com/USF-HII/snptk/blob/521033ff24acf681149a3b9312bccdcba6614098/snptk/core.py#L142-L143