velvet icon indicating copy to clipboard operation
velvet copied to clipboard

velveth: Word length 33 greater than max allowed value (31).

Open vasudhajain29 opened this issue 3 years ago • 1 comments

I am trying to run velveth on my paired files but facing the following error:

[0.000000] Velvet can't handle k-mers as long as 33! We'll stick to 31 if you don't mind. [0.024794] Reading FastA file /Users/Admin1/Desktop/ICGEB/Amplicon_Sequencing_18Aug/Fasta/Seq1.fasta; [4.061945] 1282742 sequences found [4.061957] Done [4.062048] Reading FastA file /Users/Admin1/Desktop/ICGEB/Amplicon_Sequencing_18Aug/Fasta/Seq1_R2.fasta; [8.000691] 1282742 sequences found [8.000702] Done [8.017212] Reading read set file out-dir/Sequences; [8.848178] 2565484 sequences found [11.843912] Done [11.843930] 2565484 sequences in total. [11.853344] Writing into roadmap file out-dir/Roadmaps... [16.801721] Inputting sequences... [16.801744] Inputting sequence 0 / 2565484 [30.299725] Inputting sequence 1000000 / 2565484 [44.107881] Inputting sequence 2000000 / 2565484 [52.422222] === Sequences loaded in 35.620505 s [52.422345] Done inputting sequences [52.422354] Destroying splay table [52.452908] Splay table destroyed velveth: Word length 33 greater than max allowed value (31). Recompile Velvet to deal with this word length.: No such file or directory.

I have tried using make 'MAXKMERLENGTH=92'

but still facing the above error. Please help.

vasudhajain29 avatar Sep 01 '21 10:09 vasudhajain29

Hello @vasudhajain29 ,

When you say that you ran make again, was it successful? E.g. do you see a new file appear with ls?

Can you confirm that you are now using the newly compiled executable (e.g. using which velveth)?

Regards,

Daniel

dzerbino avatar Sep 01 '21 17:09 dzerbino