ValueError: n_components=3 must be between 0 and min
YuChrming opened this issue · 3 comments
YuChrming commented
zhangrengang commented
@YuChrming,
Your genome has too few differential kmers between subgenomes. It may be artifactual or natural. My suggestions (refer to the Supplementary Material):
- Check the HiC contact map whether there are too many switch errors between subgenomes. If not, it is natural.
- If natural, it may be because 1) there are too many recombinations between subgenomes after hybridization, or 2) their progenitors are too close (possible autopolyploid) to distinguish. In these cases, subgenome phasing is meaningless and subphaser will not work.
- Another possibility is that your genome is hybridizated from an autotetraploid and a distinct diploid, and you can try
-baseline -1
to compare the most and the least abundance of kmers.
YuChrming commented
zhangrengang commented
- Have you removed the check point files (tmp/*ok) before re-run or used the
-overwrite
option? - What are the evidences for
allo
?