src.features.snpchimp

Created on Tue Feb 16 16:42:36 2021

@author: Paolo Cozzi <paolo.cozzi@ibba.cnr.it>

src.features.snpchimp.clean_chrom(chrom: str)[source]

Return 0 if chrom is 99 (unmapped for snpchimp)

Parameters

chrom (str) – the (SNPchiMp) chromsome

Returns

0 if chrom == 99 else chrom

Return type

str

src.features.snpchimp.read_snpChimp(path: str, size=2048)[source]