Closed siolybecerra closed 7 months ago
Hi @siolybecerra. It sounds like it's not finding the k8 package. Have you got the k8 javascript package installed and executable on your system path? (from here: https://github.com/attractivechaos/k8)
Apologies for that, k8 is mentioned in the 'Dependencies' section of the readme page for CoreDetector but for some reason it is not mentioned in the 'Quick Start'. Mario's tasked me with cleaning up the readme when I get a spare second, so I plan to reorganise it so that the minimap and k8 dependencies are more explicit.
Hi @RussellAndrewEdson. Now it is working. I copied the "k8-Linux" on my path working and renamed it to "k8".
Number of lines in file genomes.txt : 3
Genome size gb : 0
/home/sioly/applications/CoreDetector/test_mygenomes/genomes/CGRA01V4.fa
/home/sioly/applications/CoreDetector/test_mygenomes/genomes/CROI41.fa
[M::mm_idx_gen::0.664*1.00] collected minimizers
[M::mm_idx_gen::0.762*1.38] sorted minimizers
[M::main::0.762*1.38] loaded/built the index for 2 target sequence(s)
[M::mm_mapopt_update::0.802*1.36] mid_occ = 74
[M::mm_idx_stat] kmer size: 19; skip: 10; is_hpc: 1; #seq: 2
[M::mm_idx_stat::0.831*1.35] distinct minimizers: 1697853 (95.20% are singletons); average occurrences: 1.230; average spacing: 7.504; total length: 15668520
[M::worker_pipeline::20.084*1.67] mapped 2 sequences
[M::main] Version: 2.26-r1175
[M::main] CMD: /home/sioly/applications/minimap2/minimap2 -x asm20 -I4g -K1g -H --cs=long -t 4 --secondary=no /home/sioly/applications/CoreDetector/test_mygenomes/genomes/CROI41.fa /home/sioly/applications/CoreDetector/test_mygenomes/genomes/CGRA01V4.fa
[M::main] Real time: 20.130 sec; CPU: 33.646 sec; Peak RSS: 1.153 GB
/home/sioly/applications/CoreDetector/MFbio.jarProcessing File: out_test//maf/Genome1_Genome2.maf
Total HSP:80, Total Rejected(bp):0, Total Alignment Length(bp) :14554981, Total ungapped Alignment Length(bp) :13713385 ,Max alignment Length(bp):2083638, Min alignment Length(bp):395, N50:662943
Done.
out_test//temp_fasta/Genome1_Genome2.fa
/home/sioly/applications/CoreDetector/test_mygenomes/genomes/ARG_5133_7.fa
[M::mm_idx_gen::0.684*1.00] collected minimizers
[M::mm_idx_gen::0.786*1.38] sorted minimizers
[M::main::0.786*1.38] loaded/built the index for 2 target sequence(s)
.
.
.
.
processing Query :contig_02!4043933!4044327:1-395
processing Query :contig_02!4756098!4758518:85-2199
start writing to output file...
Length of Alignment 14168846
Total Query Length 13146995
Done!
Done.
Thank you so much for following my question.
No worries @siolybecerra, glad you got it sorted. You reminded me actually that there was some weirdness with the names of the k8 executable that should be sorted out, so I'll update the instructions/script accordingly.
Hi, I am trying to run pipeline_Minimap.sh, but I got this warning respect on "k8".
Thanks