DanilKrivonos / FunFun

ITS based fungi annotator
MIT License
3 stars 0 forks source link

Troubleshooting #3

Open gastronaut82 opened 10 months ago

gastronaut82 commented 10 months ago

Hi there, I have been using FunFun but got this error - could you help?

Traceback (most recent call last): File "/cluster/home/sjangi01/.local/bin/funfun", line 8, in sys.exit(main()) File "/cluster/home/sjangi01/.local/lib/python3.8/site-packages/FunFun/FunFun.py", line 92, in main Ortology_group, Meta_micom, non_pred = get_matrix(its, base, Ortology_group, functionality, Meta_micom, non_pred, K, e) File "/cluster/home/sjangi01/.local/lib/python3.8/site-packages/FunFun/src/Get_distance.py", line 97, in get_matrix marker_frequence = list(get_kmers_fereq(its.seq, k=5).values()) File "/cluster/home/sjangi01/.local/lib/python3.8/site-packages/FunFun/src/Get_distance.py", line 50, in get_kmers_fereq kmers[str(seq[start: end])] += 1 KeyError: 'TTTTN'

DanilKrivonos commented 10 months ago

Hello, Your sequence has an ambiguous N position. FunFun can predict gene content only for sequences that contain only ATGC. Thanks for the question, Danil