tseemann / nullarbor

:floppy_disk: :page_with_curl: "Reads to report" for public health and clinical microbiology
GNU General Public License v2.0
134 stars 37 forks source link

Kraken unclassified #219

Closed thushandesilva closed 5 years ago

thushandesilva commented 5 years ago

Hi, nullarbor appears to be running OK (dependency check also passed at start), but the one issue is that the Kraken output does not appear to be working. All are unclassified. This is the Kraken aspect from the log from one of the samples. Thanks Thushan

read1="SW101A/R1.fq.gz" read2="SW101A/R2.fq.gz" outfile="SW101A/kraken.tab" cpus=4 opts="" /home/ubuntu/miniconda3/bin/../plugins/taxoner/kraken.sh /home/ubuntu/miniconda3/libexec/classify: invalid option -- 'd' Usage: classify [options] <fasta/fastq file(s)>

Options: (*mandatory)

tseemann commented 5 years ago

My guess is you are using Conda? I think the kraken and kraken2 packages used to be broken - they both tried to install their own classify binary into the PATH. Try conda update --all to get the newer packages, or conda install --force kraken

I strongly recommend you use Kraken2 over Kraken1; it is more efficient and faster.

CC: @drpowell

thushandesilva commented 5 years ago

Thank you. Yes I am using conda. Let me try updating as suggested.