sigven / vcf2tsvpy

Genomic VCF to tab-separated values
MIT License
46 stars 13 forks source link

Fixed missing values for AD column - FORMAT field #3

Closed razshaikh closed 2 years ago

razshaikh commented 2 years ago

Added an if condition to check if there are any missing values represented by '-2147483648' in the AD column and replace them with a period ('.')

sigven commented 2 years ago

Hi @razshaikh,

Just merged it. Sorry for not catching this, i think your code makes sense. There is still a 'nan' in the AF column for that case, might want to fix that too.

best, Sigve

razshaikh commented 2 years ago

Hi @sigven

I really appreciate your response. I will look into the AF column and fix that too and merge it soon.

Thank you, Razin

sigven commented 2 years ago

Really appreciate your contributions too, highly valued! Thanks