I am not sure if this is the right forum or github...
# taxprofiler
a
I am not sure if this is the right forum or github issues is, but I am new to taxprofiler. I have Pacbio hifi fastq file that didn't align to hg38 human. But when I run taxprofiler, it just stops after multiqc. I still haven't been able to figure it out. Can you point me in the right direction?
nextflow run nf-core/taxprofiler \
--input Samplesheets/taxprofiler_samplesheet.csv \
--databases Samplesheets/databases.csv \
--output params.taxprofiler_output_dir \
-profile docker \
--skip_preprocessing_qc \
--skip_hostremoval \
--run_kraken2 \
--run_krona
Monitor the execution with Seqera Platform using this URL: <https://cloud.seqera.io/user/amit-indap1/watch/5nxPcjeTWZCAzq>
executor >  awsbatch (fusion enabled) (1)
[-        ] NFCORE_TAXPROFILER:taxprofiler:UNTAR                                         -
[-        ] NFCORE_TAXPROFILER:taxprofiler:PROFILING:KRAKEN2_KRAKEN2                     -
[-        ] NFCORE_TAXPROFILER:taxprofiler:VISUALIZATION_KRONA:KRAKENTOOLS_KREPORT2KRONA -
[-        ] NFCORE_TAXPROFILER:taxprofiler:VISUALIZATION_KRONA:KAIJU_KAIJU2KRONA         -
[-        ] NFCORE_TAXPROFILER:taxprofiler:VISUALIZATION_KRONA:KRONA_CLEANUP             -
[-        ] NFCORE_TAXPROFILER:taxprofiler:VISUALIZATION_KRONA:KRONA_KTIMPORTTEXT        -
[c4/ffab71] NFCORE_TAXPROFILER:taxprofiler:MULTIQC                                       [100%] 1 of 1 ✔
-[nf-core/taxprofiler] Pipeline completed successfully-
`WARN: Process
NFCORE_TAXPROFILER:taxprofiler:MULTIQC
publishDir path contains a variable with a null value`
Completed at: 11-Sep-2025 16:11:57
Duration    : 4m 38s
CPU hours   : (a few seconds)
Succeeded   : 1
j
Can you show us your database file?
But that is odd...
I don't think tis the cause of your problem, but ithis looks wierd:
--output params.taxprofiler_output_dir \
l
What’s the value of
instrument_platform
in your samplesheet.csv?
I’m thinking that in the pipeline the way we define
long_reads
based on “OXFORD_NANOPORE” could cause issues if you use “PACBIO_SMRT.”
👍 1
j
Oh good point... I'm not sure if we directly support pacbio reads...?
OH wait, no we do
(therorically)
l
I think we could update how to define long_reads channel to make the pipeline more flexible and robust
j
Oh no... we don't even though we say we do 😅
Copy code
.branch { meta, run_accession, instrument_platform, fastq_1, fastq_2, fasta ->
            fastq: meta.single_end || fastq_2
                return [ meta + [ type: "short" ], fastq_2 ? [ fastq_1, fastq_2 ] : [ fastq_1 ] ]
            nanopore: instrument_platform == 'OXFORD_NANOPORE' && !meta.is_fasta
                meta.single_end = true
                return [ meta + [ type: "long" ], [ fastq_1 ] ]
            fasta_short: meta.is_fasta && instrument_platform == 'ILLUMINA'
                meta.single_end = true
                return [ meta + [ type: "short" ], [ fasta ] ]
            fasta_long: meta.is_fasta && instrument_platform == 'OXFORD_NANOPORE'
                meta.single_end = true
                return [ meta + [ type: "long" ], [ fasta ] ]
        }
l
I could create an issue to update it next week, what do you think
❤️ 1
j
@Amit Indap area your reads already cleaned up? So desn't really need any preprocessing?
But @Lili Andersson-Li I need to fix the language server fixes first
I'm having lots of problems with that
l
OK, then I can wait, but I will create an issue
j
Yes please
I'll try and spend a bit of time cleaning them up if I can now
And neede a reiew
l
@Amit Indap atm the quick fix would be set
instrument_platform
as
OXFORD_NANOPORE
in your
samplesheet.csv.
j
But then skip all the preprocessing steps
l
I need to fix some clinical work first, but I can review it at the end of the day.
j
Thank you!
♥️ 1
l
a
oh wow, this is amazing. My platform value is
PACBIO_SMRT
and my database.csv:
tool,db_name,db_params,db_type,db_path
kraken2,kraken2_std,,long,<s3://kraken2_db/>
I ended up calling kraken directly, but if I can get nf-core to work, that would be better
j
Ok, well as a workaround if you have time please try out the setting as nanopre but skip processing as Lili said above
Otherwise we will fix this as it's a bug
l
@Amit Indap This PR fixed the issue . You can run
pacbio
data with the next patch release. What is you github user name? I would like to thank you for reporting this issue in the
CHANGELOG.md