bacpop / unitig-counter

Uses cDBG to count unitigs in bacterial populations
GNU Affero General Public License v3.0
13 stars 2 forks source link

EXCEPTION: Kmer solidity has more thresholds (1) than banks (0) #12

Closed KartikaFauzia closed 3 years ago

KartikaFauzia commented 3 years ago

Hi, I run unitig-counter on 50 assemblies of H. pylori genome (.fna). I installed unitig-counter by conda.

unitig-counter -strains allasia_list.txt -output output -nb-cores 4

But I could not get results and always get this comment:

EXCEPTION: Kmer solidity has more thresholds (1) than banks (0)

Do you have any suggestions? What did i do wrong?

Thank you so much for your help

johnlees commented 3 years ago

What does your file allasia_list.txt look like?

KartikaFauzia commented 3 years ago

Here is my list look like:

allasia_list.txt

johnlees commented 3 years ago

This looks ok to me, so I think this must be an issue raised by GATB. I couldn't find anything on their issues documenting this, so you could ask there.

Alternatively, you could try this package: https://github.com/johnlees/unitig-caller

rchikhi commented 3 years ago

It does look good to me too. I wonder if the problem occurs again on test data, or if unitig-counter provides no test data then on a smaller list of banks (e.g. just the first 3 lines just to see). Otherwise indeed it seem unitig-caller is the next-generation tool to try :)

johnlees commented 3 years ago

It might also be worth checking that all of those files can be found, and that they all contain sequence.

rchikhi commented 3 years ago

yep indeed. Also it seems that usable test data is here: https://github.com/johnlees/unitig-caller/blob/master/test/simple_refs.txt

KartikaFauzia commented 3 years ago

Thank you very much for your replies, I actually tried using the dataset example from https://github.com/johnlees/unitig-caller/blob/master/test/simple_refs.txt and it works fine.
Some of my sequence input files seem to have some errors (typo at the beginning of header). It works after correcting it.