TRTools icon indicating copy to clipboard operation
TRTools copied to clipboard

mergeSTR can't merge haploid data from HipSTR output

Open Lidweixiang opened this issue 1 year ago • 2 comments

Hi,

Recently I have been processing some haploid vcf files from HipSTR output and I find I can't merge haploid data through mergeSTR, and the errors are as follows:

TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced(line 400 in mergeSTR.py)

I know dumpSTR didn't support haploid, is mergeSTR the same way?

Best, Weixiang

Lidweixiang avatar May 15 '23 02:05 Lidweixiang

I encountered a similar problem when merging the output vcf file of expansionHunter with mergeSTR.

~tr_harmonizer.py", line 209, in InferVCFType raise TypeError('Could not identify the type of this vcf') TypeError: Could not identify the type of this vcf

Have you solved this problem?

nainai77 avatar Jul 31 '23 07:07 nainai77

I have no idea about that, do you set the parameter --vcftype to eh ?

Lidweixiang avatar Jul 31 '23 14:07 Lidweixiang