rmenegaux / fastDNA

Other
24 stars 13 forks source link

Segmentation fault with supervised #5

Closed amirshams84 closed 4 years ago

amirshams84 commented 4 years ago

I am trying to build a model with your proposed data set(small one) with the following command ../fastDNA/fastdna supervised -input train_small-db.fasta -labels train_small-db.species-level.taxid -output model

Read sequence n1564, NC_010515
Number of sequences: 1564 Number of labels: 193 Number of words: 0 Segmentation fault

rmenegaux commented 4 years ago

Hi @amirshams84 this is a bug: k-mer length minn is 0 by default. I will fix this.

In the mean time you can just specify minn: ../fastDNA/fastdna supervised -input train_small-db.fasta -labels train_small-db.species-level.taxid -output model -minn 10 should work fine.

rmenegaux commented 4 years ago

Fixed in master